Simple Question (Direct)
Simple Question
Q6780781
P69
Q163740
USER
Where was Mary Stolz educated ?
(Q6780781,P69,c(Q163740))
action filter_type
action find
entity Q6780781
relation P69
type Q163740
['Q6780781', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?h WHERE { resource:Q6780781 property:P69 ?h . ?h rdf:type ontology:Q163740 }
Mary Stolz
action filter_type
action find
entity Mary Stolz
relation educated at
type nonprofit organization
['Mary Stolz', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?h WHERE { resource:Mary_Stolz property:educated_at ?h . ?h rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49088
SYSTEM
Columbia University
Q49088
(Q6780781,P69,c(Q163740))
action filter_type
action find
entity Q6780781
relation P69
type Q163740
Mary Stolz was educated by [ANSWER]
['Q6780781', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?h WHERE { resource:Q6780781 property:P69 ?h . ?h rdf:type ontology:Q163740 }
Columbia University
Mary Stolz was educated by Columbia University
Columbia University
action filter_type
action find
entity Mary Stolz
relation educated at
type nonprofit organization
['Mary Stolz', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?h WHERE { resource:Mary_Stolz property:educated_at ?h . ?h rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q49088
P50
Q571
USER
Which book is written by that nonprofit organization ?
(c(Q571),P50,Q49088)
action filter_type
action find_reverse
entity Q49088
relation P50
type Q571
[{'concept': 'Q571'}, 'P50', 'Q49088']
SELECT DISTINCT ?f WHERE { ?f property:P50 resource:Q49088 . ?f rdf:type ontology:Q571 }
Columbia University
action filter_type
action find_reverse
entity Columbia University
relation author
type book
[{'concept': 'book'}, 'author', 'Columbia University']
SELECT DISTINCT ?f WHERE { ?f property:author resource:Columbia_University . ?f rdf:type ontology:book }
[]
book
Q19921053
SYSTEM
Catalogue of Officers and Graduates of Columbia University
Q19921053
(c(Q571),P50,Q49088)
action filter_type
action find_reverse
entity Q49088
relation P50
type Q571
The [ANSWER] is written by that nonprofit organization
[{'concept': 'Q571'}, 'P50', 'Q49088']
SELECT DISTINCT ?f WHERE { ?f property:P50 resource:Q49088 . ?f rdf:type ontology:Q571 }
Catalogue of Officers and Graduates of Columbia University
The Catalogue of Officers and Graduates of Columbia University is written by that nonprofit organization
Catalogue of Officers and Graduates of Columbia University
action filter_type
action find_reverse
entity Columbia University
relation author
type book
[{'concept': 'book'}, 'author', 'Columbia University']
SELECT DISTINCT ?f WHERE { ?f property:author resource:Columbia_University . ?f rdf:type ontology:book }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19921053
P123
Q163740
USER
Who published that book ?
(Q19921053,P123,c(Q163740))
action filter_type
action find
entity Q19921053
relation P123
type Q163740
['Q19921053', 'P123', {'concept': 'Q163740'}]
SELECT DISTINCT ?b WHERE { resource:Q19921053 property:P123 ?b . ?b rdf:type ontology:Q163740 }
Catalogue of Officers and Graduates of Columbia University
action filter_type
action find
entity Catalogue of Officers and Graduates of Columbia University
relation publisher
type nonprofit organization
['Catalogue of Officers and Graduates of Columbia University', 'publisher', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?b WHERE { resource:Catalogue_of_Officers_and_Graduates_of_Columbia_University property:publisher ?b . ?b rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49088
SYSTEM
Columbia University
Q49088
(Q19921053,P123,c(Q163740))
action filter_type
action find
entity Q19921053
relation P123
type Q163740
[ANSWER] published that book
['Q19921053', 'P123', {'concept': 'Q163740'}]
SELECT DISTINCT ?b WHERE { resource:Q19921053 property:P123 ?b . ?b rdf:type ontology:Q163740 }
Columbia University
Columbia University published that book
Columbia University
action filter_type
action find
entity Catalogue of Officers and Graduates of Columbia University
relation publisher
type nonprofit organization
['Catalogue of Officers and Graduates of Columbia University', 'publisher', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?b WHERE { resource:Catalogue_of_Officers_and_Graduates_of_Columbia_University property:publisher ?b . ?b rdf:type ontology:nonprofit_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6780781
P19
Q56061
USER
Which administrative territory was Mary Stolz born in ?
(Q6780781,P19,c(Q56061))
action filter_type
action find
entity Q6780781
relation P19
type Q56061
['Q6780781', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q6780781 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Mary Stolz
action filter_type
action find
entity Mary Stolz
relation place of birth
type administrative territorial entity
['Mary Stolz', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Mary_Stolz property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q100
SYSTEM
Boston
Q100
(Q6780781,P19,c(Q56061))
action filter_type
action find
entity Q6780781
relation P19
type Q56061
Mary Stolz was born in [ANSWER]
['Q6780781', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q6780781 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Boston
Mary Stolz was born in Boston
Boston
action filter_type
action find
entity Mary Stolz
relation place of birth
type administrative territorial entity
['Mary Stolz', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Mary_Stolz property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7823013
Q56061
USER
And also tell me about Tony Moore?
(Q7823013,P19,c(Q56061))
action filter_type
action find
entity Q7823013
relation P19
type Q56061
['Q7823013', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q7823013 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Tony Moore
action filter_type
action find
entity Tony Moore
relation place of birth
type administrative territorial entity
['Tony Moore', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Tony_Moore property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q743521
SYSTEM
Scarborough
Q743521
(Q7823013,P19,c(Q56061))
action filter_type
action find
entity Q7823013
relation P19
type Q56061
[ANSWER]
['Q7823013', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q7823013 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Scarborough
Scarborough
action filter_type
action find
entity Tony Moore
relation place of birth
type administrative territorial entity
['Tony Moore', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Tony_Moore property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2893665
P609
Q56061 Q34442 Q83620
USER
Which administrative territories are the destination of approximately the same number of roads and thoroughfares as Beek, Montferland ?
(c(Q34442)|c(Q83620),P609,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P609
type Q56061
type Q34442
action find_reverse_tuple_counts
relation P609
type Q56061
type Q83620
action count
action filter_multi_types
action find_reverse
entity Q2893665
relation P609
type Q34442
type Q83620
[[{'concept': 'Q34442'}, {'concept': 'Q83620'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?k = ?j ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { ?q property:P609 resource:Q2893665 . { VALUES ( ?m ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } . ?q rdf:type ?m } } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?a WHERE { ?n rdf:type ?s . VALUES ( ?s ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } } GROUP BY ?a } }
Beek, Montferland
action approx
action union
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type road
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type thoroughfare
action count
action filter_multi_types
action find_reverse
entity Beek, Montferland
relation terminus location
type road
type thoroughfare
[[{'concept': 'road'}, {'concept': 'thoroughfare'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?k = ?j ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { ?q property:terminus_location resource:Beek,_Montferland . { VALUES ( ?m ) { ( ontology:road ) ( ontology:thoroughfare ) } . ?q rdf:type ?m } } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?a WHERE { ?n rdf:type ?s . VALUES ( ?s ) { ( ontology:road ) ( ontology:thoroughfare ) } } GROUP BY ?a } }
[]
administrative territorial entity road thoroughfare
Q649 Q1781 Q64
SYSTEM
Moscow, Budapest, Berlin
Q1159408 Q1866725 Q81076 Q2588702 Q10084 Q746718 Q3112494 Q886915 Q81177 Q2218481 Q2305106 Q2779809 Q238510 Q780923 Q957593 Q2635319 Q180139 Q23311 Q11885222 Q581785 Q942842 Q2207185 Q2688228 Q83178 Q1781774 Q1027049 Q2376652 Q1022954 Q851041 Q6772133 Q1784816 Q490595 Q185216 Q153745 Q611919 Q1018448 Q1019462 Q2002936 Q599201 Q1774840 Q846242 Q1026676 Q499174 Q1784987 Q2223679 Q1950380 Q6506 Q1309 Q984437 Q4093 Q16568 Q832938 Q269980 Q23337 Q7017057 Q488924 Q2656 Q748747 Q2684131 Q33264 Q13415826 Q1425428 Q9920 Q746096 Q143782 Q2233872 Q883862 Q12912978 Q754868 Q494631 Q985268 Q131335 Q4507706 Q219656 Q36989 Q1026371 Q4076763 Q923799 Q1527123 Q988590 Q960454 Q49244 Q4357016 Q3315792 Q90 Q1022789 Q149787 Q2606846 Q2372373 Q4357626 Q3020221 Q675049 Q2161723 Q904462 Q6931019 Q2227172 Q212686 Q2132 Q6816 Q1890499 Q2669870 Q982854 Q282729 Q3475289 Q3204894 Q937679 Q3532 Q5529922 Q1020419 Q430316 Q5259257 Q3240318 Q2374507 Q12892 Q49274 Q257446 Q1011062 Q988761 Q945084 Q3907766 Q971223 Q79889 Q212826 Q3030085 Q2124272 Q1012006 Q2060859 Q6903267 Q10025 Q1108196 Q1948672 Q3394752 Q43631 Q478036 Q2566692 Q6430673 Q502312 Q1042366 Q1812494 Q10661123 Q34739 Q1615894 Q2668887 Q1978857 Q103717 Q1004397 Q783210 Q2618803 Q262483 Q842477 Q4733779 Q5168 Q2121249 Q156080 Q1615972 Q953583 Q5083 Q1043381 Q952097 Q9911 Q8336 Q6383632 Q2055138 Q2376829 Q5336994 Q28218 Q81086 Q1026976 Q51697 Q51694 Q7306457 Q2008706 Q798 Q2297876 Q1983451 Q793 Q298489 Q545457 Q1344696 Q883 Q1615386 Q932008 Q7291165 Q2473978 Q2026781 Q1840 Q776965 Q3322237 Q2525207 Q5367550 Q9909 Q797512 Q611065 Q3776352 Q60444 Q2247076 Q5316449 Q828753 Q374501 Q1726 Q1924946 Q6373375 Q2345413 Q26430 Q920932 Q192896 Q2432500 Q239 Q12994 Q1023246 Q486472 Q49940 Q16556 Q2579355 Q2279962 Q1233089 Q3026315 Q844908 Q9898 Q3138 Q1639484 Q237692 Q973864 Q483000 Q756103 Q1737120 Q79783 Q2266985 Q1912125 Q131491 Q170263 Q985524 Q1907250 Q1748 Q891359 Q2480177 Q26881 Q3110254 Q84 Q1022447 Q3312626 Q5039616 Q1589316 Q16977290 Q579722 Q5182964 Q2523431 Q488545 Q992371 Q472 Q2403755 Q1009668 Q740149 Q755393 Q34863 Q806903 Q970792 Q1946253 Q831527 Q200036 Q780785 Q83407 Q3030738 Q934511 Q954194 Q470380 Q3355046 Q482976 Q2096849 Q2360370 Q2056925 Q1934815 Q1007168 Q780532 Q988156 Q2853591 Q184587 Q664060 Q858607 Q4412622 Q862684 Q1828035 Q959585 Q1615562 Q2893665 Q1781266 Q40738 Q740852 Q15054735 Q579854 Q249022 Q2598092 Q1490 Q5326549 Q203889 Q2118905 Q1010422 Q5016557 Q1962451 Q2342197 Q983790 Q1770 Q2235855 Q753830 Q425786 Q3511360 Q1927386 Q279000 Q1781 Q986664 Q2873143 Q2738845 Q168279 Q2318330 Q15156199 Q202158 Q826048 Q1613459 Q772940 Q12013510 Q244327 Q2551418 Q605318 Q179224 Q156974 Q20203420 Q1890680 Q191914 Q695417 Q3646335 Q4006479 Q2856996 Q201002 Q2577946 Q26345 Q1025055 Q220 Q26421 Q525880 Q10041 Q208262 Q160493 Q5881488 Q3261960 Q3330170 Q2738898 Q14935506 Q517423 Q631666 Q2023889 Q5858099 Q868869 Q1538358 Q1616642 Q134902 Q9783 Q118958 Q3243599 Q755569 Q1492862 Q58900 Q616877 Q1755020 Q2157144 Q2750562 Q743632 Q1043368 Q2543653 Q9871 Q989288 Q2233170 Q5327973 Q1863836 Q2511595 Q134121 Q2388026 Q1110140 Q592438 Q833668 Q4830086 Q1004085 Q3432009 Q64 Q65 Q84125 Q255781 Q2499899 Q736131 Q5062158 Q386862 Q14657 Q506745 Q1867 Q2194010 Q690062 Q634481 Q83065 Q2906589 Q755748 Q931778 Q177861 Q1027111 Q2805272 Q995911 Q504803 Q2115537 Q3126359 Q49225 Q2732640 Q2756084 Q166065 Q2549819 Q937736 Q841979 Q2278965 Q1782644 Q8385 Q1007176 Q18681973 Q868637 Q1241302 Q611722 Q1232203 Q49255 Q1025080 Q2192403 Q2563265 Q1025089 Q5604964 Q649 Q3205403 Q2900922 Q77056 Q989919 Q1996607 Q577960 Q1258901 Q24826 Q9934 Q3091189 Q79842 Q203000 Q2225613 Q213325 Q2774284 Q2496189 Q887 Q813431 Q2181173 Q28237 Q24454 Q889888 Q47164 Q576149 Q75967 Q384544 Q2188667 Q2277323 Q2199102 Q40844 Q2282115 Q1020364 Q1210428 Q1299618 Q60705 Q10686 Q1617033 Q143334 Q888491 Q49267 Q2289322 Q369947 Q986634 Q448970 Q1781568 Q755773 Q803903 Q1013540 Q4411341 Q1781556 Q2281208 Q1950746 Q726635 Q2361780 Q230406 Q615732 Q537120 Q975 Q183551 Q2294176 Q146351 Q129610 Q1782100 Q3025598 Q4411580 Q2659606 Q2860067 Q2152099 Q985549 Q1190876 Q974325 Q971130 Q505601 Q83813 Q1887976 Q2415663 Q1916586 Q179385 Q946361 Q10037 Q2433994 Q743236 Q3354991
(c(Q34442)|c(Q83620),P609,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P609
type Q56061
type Q34442
action find_reverse_tuple_counts
relation P609
type Q56061
type Q83620
action count
action filter_multi_types
action find_reverse
entity Q2893665
relation P609
type Q34442
type Q83620
[ANSWERS] are the destination of approximately the same number of roads and thoroughfares as Beek, Montferland
[[{'concept': 'Q34442'}, {'concept': 'Q83620'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?k = ?j ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { ?q property:P609 resource:Q2893665 . { VALUES ( ?m ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } . ?q rdf:type ?m } } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?a WHERE { ?n rdf:type ?s . VALUES ( ?s ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } } GROUP BY ?a } }
Dandenong Groenekan Zierikzee Shankill Vlissingen Birkenhead Poeldijk Blythe Leersum Oosterbeek White Kats Etten Wallasey Den Oever Menominee Hradec Králové City of London Ojakylä Lepelstraat Smíchov Terneuzen Toronto Almere Ulvsunda Irkeshtam Ludborough St. Clair Shores Glendora Marmion Korsør Daytona Beach Grapevine Beuel Shannon, County Clare Washington Natalia Ironwood Hayti Hugo Nieuw-Lekkerland Norrmalm Barstow Aspudden Uithuizen Mount Barker Varna Maastricht Hoogkerk Glasgow Jacksonville Bodegraven Newry Salt Lake City Newbridge, Edinburgh Oceanside Palermo New Buffalo De Punt Las Cruces De Bilt Newcastle upon Tyne Haarlem North Shields North Las Vegas Ontario Blerick Oosterhout Cumberland Sassnitz Inver Grove Heights Sioux Falls Dongen Macon Pardubice Kinnegad Ballymascanlan Santee Girton Pruszcz Gdański Holyport Santa Ana Ulvsunda industriområde Sätra Paris Munising Hendon Norwich Kootwijk Farstanäset De Meern Flandreau Ludington Riddarholmen Muchea Sunfish Lake Aigio Victoria Ulan-Ude Manjimup Kilcullen Leon Valley Ouderkerk aan de Amstel Schaijk Newcastle Bunnik Hemel Hempstead Geestdorp Madison National City Dennyloanhead Sapulpa Redfield Antwerp Garland Holyhead Maldon Denham Elko Strensham Buxton Casa Grande West Bromwich Wieringerwerf Maasdam Cruden Bay Nieuw-Beijerland Roosendaal Wierden Coleshill Carlin Catthorpe Leiden Schoonhoven Crookhaven Koondoola Maasdijk Lilla Essingen Rijswijk Sandarna Dayton Cheadle New Lenox Forest Lake Rovaniemi Coldwater Bracknell Colome Deadwood Oosterzele Almere Poort Makhachkala Stainforth Opava Wateringen Littleton Seattle Reimersholme Muskegon Den Helder Hockenheim Huvudsta Heavener Swifterbant Edenfield Baton Rouge Sas van Gent Sale McKinney Grand Prairie Redwick Elkhart Assen Chevening Platte Zwolle Östermalm Nieuw-Vennep Enterprise Novosibirsk Sassenheim Maarssen Rancho Peñasquitos Ede Poelkapelle Veenendaal Klaipėda Venlo Ochten Elsham, North Lincolnshire Bussum Baarle Farington Downings Drachten Barger-Compascuum Durham Coronado Tabor Munich Canfield Karrinyup Hardtner Tilburg Eede Carlisle Ishpeming Brussels Bruges Westrozebeke Kansas City Newark-on-Trent Phoenix Babberich Highmore Totton and Eling Terhole Crawley Amstelveen Trier Huyton Ewijk Nocona Farmington Lewes Wilmot Nogales Essington Klaaswaal Brighton Chester Fallon Serooskerke Copenhagen Bolingbrook Norway Helsingør Kapolei London Cleckheaton Middenmeer Carine Traneberg Alkmaar Ossendrecht Crawley Stadshagen Spijkenisse Bruinisse Sofia Terschuur Otterburn Södermalm New Castle Oklahoma City Banning Del Rio St. Ignace Djurgården Volos Långholmen Mons Zuidschermer Papendrecht Springfield Přerov Marieberg Brigham City Stellendam Longtown Tripp Milies IJsselmuiden Negaunee Slidell Aberford Grand Rapids Cloncurry Strijen Hjorthagen Yucca Valley Lisburn Streefkerk Kesteren Beek, Montferland Courtmacsherry Bursa Tessenderlo Kungsholmen Gamla stan Traralgon Shorne Tokyo Earlswood Luton Purley Inverkeithing Cadnam Mollington Eccles West Wendover Tallinn Aarlanderveen Redlands 's-Gravenzande St John's Town of Dalry Madill South Shields Budapest Springsure Hoek Cheboygan Zbraslav Waverveen Alphen aan den Rijn Hämeenlinna Waddinxveen Naaldwijk Bandar-e Emam Khomeyni Vught Gorinchem South Mimms Joondalup Dover Ústí nad Labem Heumen Bad Nieuweschans Hachinohe Bremerton Vasastan Urmston Neeritter Liljeholmen Mullaghmore, County Sligo Kalmar Kruiningen Rome Dordrecht Hollis Soest Eastbourne Inverness Hollingworth Gröndal Velsen-Zuid Crystal Falls Morven Den Dolder Holtville Eijsden Khosravi Harlingen Workington Thurcroft Stoke-on-Trent Roermond Leuven Lennox Pocomoke City Los Algodones Doncaster Louny Tynemouth Almere Haven Aarsele Nieuw-Amsterdam, Drenthe Stora Essingen Den Hoorn, South Holland Tilburg Yankton Charlotte East Butterwick Kamerik Almere Stad Namur Exminster Colman Kalavryta Boise City Awkley Craigavon Rijkevoort Berlin Los Angeles Gouda Wendover Highnam Alblasserdam Fulwood, Lancashire Sylvania Vyborg Rijswijk Taipei Sunbury-on-Thames Rønne Gedser Leicester Blijham Stonington Calipatria Faribault Kengtung Ens Hoofddorp Krumbach Viola Hambrook Reno Topcliffe Johanneshov Lelystad Seaton Burn Hot Springs Mansfield Henryetta Årsta Ostrava Glanerbrug Kedonperä Macclesfield Dongara Westerland, Netherlands Diakopto Tampa Soesterberg Elkton Carrigaholt Nieuw- en Sint Joosland Greenwood Moscow Edgemont Nieuwe Pekela Edam Farmington Hills Lake Norden O'Fallon Driebergen-Rijsenburg Liverpool Hilversum Uddingston Flagstaff Perth Nieuwdorp Rapid City Meerkerk Oude-Tonge Yekaterinburg Beaumont Bellingwolde Lansing Troisvierges Bodmin Santa Monica Columbia Schoondijke Karlovy Vary Selden Siebengewald Chadderton Breda Gretna Swanley Didam Ehestorf Emmeloord Belfast Worsley Ishim Oslo Henderson Van Ewijcksluis El Cajon Sault Ste. Marie Alvik Nockeby Harrington Bainbridge Island Dupree Södra Hammarbyhamnen Gärdet Dinteloord Mount Surprise Beek, Ubbergen Chapel-en-le-Frith Zurich, Friesland Breukelen Walker San Antonio Waterford Stroud Liberec Galway Farsta strand Wedde Fredhäll Caldwell Cothen Worthing Sitia Bromsgrove Palmview Nieuwe Niedorp Wassenaar Savannah Anthony Petoskey Elsloo, Limburg Greenwich Bamber Bridge Eemnes Putte, Pays-Bas Diest Kristineberg
Moscow, Budapest and Berlin are the destination of approximately the same number of roads and thoroughfares as Beek, Montferland
Moscow Budapest Berlin
action approx
action union
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type road
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type thoroughfare
action count
action filter_multi_types
action find_reverse
entity Beek, Montferland
relation terminus location
type road
type thoroughfare
[[{'concept': 'road'}, {'concept': 'thoroughfare'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?k = ?j ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { ?q property:terminus_location resource:Beek,_Montferland . { VALUES ( ?m ) { ( ontology:road ) ( ontology:thoroughfare ) } . ?q rdf:type ?m } } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?a WHERE { ?n rdf:type ?s . VALUES ( ?s ) { ( ontology:road ) ( ontology:thoroughfare ) } } GROUP BY ?a } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q16465237
P190
Q56061
USER
Are Nabuiliai a sister city of those ones ?
(Q16465237,P190,Q649) (Q16465237,P190,Q1781) (Q16465237,P190,Q64)
action is_in
entity prev_answer
action find
entity Q16465237
relation P190
['Q16465237', 'P190', 'Q649'] ['Q16465237', 'P190', 'Q1781'] ['Q16465237', 'P190', 'Q64']
ASK WHERE { resource:Q16465237 property:P190 ?e . VALUES ( ?e ) { ( resource:Q1159408 ) ( resource:Q1866725 ) ( resource:Q81076 ) } }
Nabuiliai
action is_in
entity prev_answer
action find
entity Nabuiliai
relation sister city
['Nabuiliai', 'sister city', 'Moscow'] ['Nabuiliai', 'sister city', 'Budapest'] ['Nabuiliai', 'sister city', 'Berlin']
ASK WHERE { resource:Nabuiliai property:sister_city ?e . VALUES ( ?e ) { ( resource:Dandenong ) ( resource:Groenekan ) ( resource:Zierikzee ) } }
[]
administrative territorial entity
SYSTEM
NO
(Q16465237,P190,Q649) (Q16465237,P190,Q1781) (Q16465237,P190,Q64)
action is_in
entity prev_answer
action find
entity Q16465237
relation P190
[ANSWER]
['Q16465237', 'P190', 'Q649'] ['Q16465237', 'P190', 'Q1781'] ['Q16465237', 'P190', 'Q64']
ASK WHERE { resource:Q16465237 property:P190 ?e . VALUES ( ?e ) { ( resource:Q1159408 ) ( resource:Q1866725 ) ( resource:Q81076 ) } }
No
action is_in
entity prev_answer
action find
entity Nabuiliai
relation sister city
['Nabuiliai', 'sister city', 'Moscow'] ['Nabuiliai', 'sister city', 'Budapest'] ['Nabuiliai', 'sister city', 'Berlin']
ASK WHERE { resource:Nabuiliai property:sister_city ?e . VALUES ( ?e ) { ( resource:Dandenong ) ( resource:Groenekan ) ( resource:Zierikzee ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q743521 Q145
P17
Q15617994
USER
Is Scarborough a part of United Kingdom ?
(Q743521,P17,Q145)
action is_in
entity Q145
action find
entity Q743521
relation P17
['Q743521', 'P17', 'Q145']
ASK WHERE { resource:Q743521 property:P17 resource:Q145 }
Scarborough United Kingdom
action is_in
entity United Kingdom
action find
entity Scarborough
relation country
['Scarborough', 'country', 'United Kingdom']
ASK WHERE { resource:Scarborough property:country resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q743521,P17,Q145)
action is_in
entity Q145
action find
entity Q743521
relation P17
[ANSWER]
['Q743521', 'P17', 'Q145']
ASK WHERE { resource:Q743521 property:P17 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity Scarborough
relation country
['Scarborough', 'country', 'United Kingdom']
ASK WHERE { resource:Scarborough property:country resource:United_Kingdom }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1781 Q2634
P190
Q56061
USER
Is Naples the sister city of Budapest ?
(Q1781,P190,Q2634)
action is_in
entity Q2634
action find
entity Q1781
relation P190
['Q1781', 'P190', 'Q2634']
ASK WHERE { resource:Q1781 property:P190 resource:Q2634 }
Budapest Naples
action is_in
entity Naples
action find
entity Budapest
relation sister city
['Budapest', 'sister city', 'Naples']
ASK WHERE { resource:Budapest property:sister_city resource:Naples }
[]
administrative territorial entity
SYSTEM
YES
(Q1781,P190,Q2634)
action is_in
entity Q2634
action find
entity Q1781
relation P190
[ANSWER]
['Q1781', 'P190', 'Q2634']
ASK WHERE { resource:Q1781 property:P190 resource:Q2634 }
Yes
action is_in
entity Naples
action find
entity Budapest
relation sister city
['Budapest', 'sister city', 'Naples']
ASK WHERE { resource:Budapest property:sister_city resource:Naples }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3562667 Q16465237
P17
Q15617994
USER
Which administrative territories are Nabuiliai or Diyarbakır Prison situated in ?
OR((Q16465237,P17,c(Q15617994)), (Q3562667,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q16465237
relation P17
action find
entity Q3562667
relation P17
type Q15617994
{'OR': [['Q16465237', 'P17', {'concept': 'Q15617994'}], ['Q3562667', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . { { resource:Q16465237 property:P17 ?x } UNION { resource:Q3562667 property:P17 ?x } } }
Diyarbakır Prison Nabuiliai
action filter_type
action union
action find
entity Nabuiliai
relation country
action find
entity Diyarbakır Prison
relation country
type designation for an administrative territorial entity
{'OR': [['Nabuiliai', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Diyarbakır Prison', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Nabuiliai property:country ?x } UNION { resource:Diyarbakır_Prison property:country ?x } } }
[]
designation for an administrative territorial entity
Q37 Q43
SYSTEM
Lithuania, Turkey
Q37 Q43
OR((Q16465237,P17,c(Q15617994)), (Q3562667,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q16465237
relation P17
action find
entity Q3562667
relation P17
type Q15617994
Nabuiliai or Diyarbakır Prison are situated in [ANSWERS]
{'OR': [['Q16465237', 'P17', {'concept': 'Q15617994'}], ['Q3562667', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . { { resource:Q16465237 property:P17 ?x } UNION { resource:Q3562667 property:P17 ?x } } }
Lithuania Turkey
Nabuiliai or Diyarbakır Prison are situated in Lithuania and Turkey
Lithuania Turkey
action filter_type
action union
action find
entity Nabuiliai
relation country
action find
entity Diyarbakır Prison
relation country
type designation for an administrative territorial entity
{'OR': [['Nabuiliai', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Diyarbakır Prison', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Nabuiliai property:country ?x } UNION { resource:Diyarbakır_Prison property:country ?x } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q43
P127
Q732577
USER
Which publication is under posessision of that administrative territory ?
(c(Q732577),P127,Q43)
action filter_type
action find_reverse
entity Q43
relation P127
type Q732577
[{'concept': 'Q732577'}, 'P127', 'Q43']
SELECT DISTINCT ?a WHERE { ?a property:P127 resource:Q43 . ?a rdf:type ontology:Q732577 }
Turkey
action filter_type
action find_reverse
entity Turkey
relation owned by
type publication
[{'concept': 'publication'}, 'owned by', 'Turkey']
SELECT DISTINCT ?a WHERE { ?a property:owned_by resource:Turkey . ?a rdf:type ontology:publication }
[]
publication
Clarification for simple ques.
Q37
SYSTEM
Did you mean Lithuania ?
Q37 Q43
(c(Q732577),P127,Q37) (c(Q732577),P127,Q43)
[ANSWER]
[{'concept': 'Q732577'}, 'P127', 'Q37'] [{'concept': 'Q732577'}, 'P127', 'Q43']
SELECT DISTINCT ?a WHERE { ?a property:P127 resource:Q43 . ?a rdf:type ontology:Q732577 }
Lithuania Turkey
Did you mean Lithuania ?
Lithuania
[{'concept': 'publication'}, 'owned by', 'Lithuania'] [{'concept': 'publication'}, 'owned by', 'Turkey']
SELECT DISTINCT ?a WHERE { ?a property:owned_by resource:Turkey . ?a rdf:type ontology:publication }
[]
Simple Question (Coreferenced)
USER
No, I meant Turkey. Could you tell me the answer for that?
(c(Q732577),P127,Q43)
Q43
[{'concept': 'Q732577'}, 'P127', 'Q43']
[{'concept': 'publication'}, 'owned by', 'Turkey']
[]
Q1531422
SYSTEM
TC Resmi Gazete
Q1531422
(c(Q732577),P127,Q43)
action filter_type
action find_reverse
entity Q43
relation P127
type Q732577
[ANSWER] is under posessision of that administrative territory
[{'concept': 'Q732577'}, 'P127', 'Q43']
SELECT DISTINCT ?a WHERE { ?a property:P127 resource:Q43 . ?a rdf:type ontology:Q732577 }
TC Resmi Gazete
TC Resmi Gazete is under posessision of that administrative territory
TC Resmi Gazete
action filter_type
action find_reverse
entity Turkey
relation owned by
type publication
[{'concept': 'publication'}, 'owned by', 'Turkey']
SELECT DISTINCT ?a WHERE { ?a property:owned_by resource:Turkey . ?a rdf:type ontology:publication }
[]