Simple Question (Direct)
Simple Question
Q2598736
P21
Q290
USER
Which sex does Vincent Bossou belong to ?
(Q2598736,P21,c(Q290))
action filter_type
action find
entity Q2598736
relation P21
type Q290
['Q2598736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q2598736 property:P21 ?a . ?a rdf:type ontology:Q290 }
Vincent Bossou
action filter_type
action find
entity Vincent Bossou
relation gender
type sex
['Vincent Bossou', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Vincent_Bossou property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2598736,P21,c(Q290))
action filter_type
action find
entity Q2598736
relation P21
type Q290
Vincent Bossou belongs to [ANSWER]
['Q2598736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q2598736 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
Vincent Bossou belongs to male
male
action filter_type
action find
entity Vincent Bossou
relation gender
type sex
['Vincent Bossou', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Vincent_Bossou property:gender ?a . ?a rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2598736
P19
Q56061
USER
Which administrative territory is the place of birth of Vincent Bossou ?
(Q2598736,P19,c(Q56061))
action filter_type
action find
entity Q2598736
relation P19
type Q56061
['Q2598736', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q2598736 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Vincent Bossou
action filter_type
action find
entity Vincent Bossou
relation place of birth
type administrative territorial entity
['Vincent Bossou', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Vincent_Bossou property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q860729
SYSTEM
Kara
Q860729
(Q2598736,P19,c(Q56061))
action filter_type
action find
entity Q2598736
relation P19
type Q56061
[ANSWER] is the place of birth of Vincent Bossou
['Q2598736', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q2598736 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Kara
Kara is the place of birth of Vincent Bossou
Kara
action filter_type
action find
entity Vincent Bossou
relation place of birth
type administrative territorial entity
['Vincent Bossou', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Vincent_Bossou property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q860729
P36
Q828485
USER
Which prefecture of Togo has that administrative territory as its capital ?
(c(Q828485),P36,Q860729)
action filter_type
action find_reverse
entity Q860729
relation P36
type Q828485
[{'concept': 'Q828485'}, 'P36', 'Q860729']
SELECT DISTINCT ?a WHERE { ?a property:P36 resource:Q860729 . ?a rdf:type ontology:Q828485 }
Kara
action filter_type
action find_reverse
entity Kara
relation capital
type prefecture of Togo
[{'concept': 'prefecture of Togo'}, 'capital', 'Kara']
SELECT DISTINCT ?a WHERE { ?a property:capital resource:Kara . ?a rdf:type ontology:prefecture_of_Togo }
[]
prefecture of Togo
Q3910171
SYSTEM
Kozah, Togo
Q3910171
(c(Q828485),P36,Q860729)
action filter_type
action find_reverse
entity Q860729
relation P36
type Q828485
[ANSWER] has that administrative territory as its capital
[{'concept': 'Q828485'}, 'P36', 'Q860729']
SELECT DISTINCT ?a WHERE { ?a property:P36 resource:Q860729 . ?a rdf:type ontology:Q828485 }
Kozah, Togo
Kozah, Togo has that administrative territory as its capital
Kozah, Togo
action filter_type
action find_reverse
entity Kara
relation capital
type prefecture of Togo
[{'concept': 'prefecture of Togo'}, 'capital', 'Kara']
SELECT DISTINCT ?a WHERE { ?a property:capital resource:Kara . ?a rdf:type ontology:prefecture_of_Togo }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q3910171 Q945
P17
Q15617994
USER
Does that prefecture of Togo belong to Togo ?
(Q3910171,P17,Q945)
action is_in
entity Q945
action find
entity Q3910171
relation P17
['Q3910171', 'P17', 'Q945']
ASK WHERE { resource:Q3910171 property:P17 resource:Q945 }
Kozah, Togo Togo
action is_in
entity Togo
action find
entity Kozah, Togo
relation country
['Kozah, Togo', 'country', 'Togo']
ASK WHERE { resource:Kozah,_Togo property:country resource:Togo }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q3910171,P17,Q945)
action is_in
entity Q945
action find
entity Q3910171
relation P17
[ANSWER]
['Q3910171', 'P17', 'Q945']
ASK WHERE { resource:Q3910171 property:P17 resource:Q945 }
Yes
action is_in
entity Togo
action find
entity Kozah, Togo
relation country
['Kozah, Togo', 'country', 'Togo']
ASK WHERE { resource:Kozah,_Togo property:country resource:Togo }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q599331
P609
Q56061 Q34442 Q83620
USER
How many administrative territories are the destinations of around the same number of roads and thoroughfares as Biddinghuizen ?
(c(Q34442)|c(Q83620),P609,c(Q56061))
action count
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 Q599331
relation P609
type Q34442
type Q83620
[[{'concept': 'Q34442'}, {'concept': 'Q83620'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) ?k WHERE { { ?j property:P609 ?k . ?k rdf:type ontology:Q56061 . ?j rdf:type ontology:Q83620 } UNION { ?k rdf:type ontology:Q56061 . ?j rdf:type ontology:Q34442 . ?j property:P609 ?k } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { ?v property:P609 resource:Q599331 . { { ?v rdf:type ontology:Q34442 } UNION { ?v rdf:type ontology:Q83620 } } } } . FILTER ( ?l = ?i ) }
Biddinghuizen
action count
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 Biddinghuizen
relation terminus location
type road
type thoroughfare
[[{'concept': 'road'}, {'concept': 'thoroughfare'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) ?k WHERE { { ?j property:terminus_location ?k . ?k rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:thoroughfare } UNION { ?k rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:road . ?j property:terminus_location ?k } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { ?v property:terminus_location resource:Biddinghuizen . { { ?v rdf:type ontology:road } UNION { ?v rdf:type ontology:thoroughfare } } } } . FILTER ( ?l = ?i ) }
[]
administrative territorial entity road thoroughfare
SYSTEM
76
Q803 Q599331 Q180139 Q38511 Q23311 Q12443 Q83178 Q10014 Q4093 Q832938 Q488924 Q748747 Q9920 Q131335 Q923799 Q749 Q960454 Q675049 Q3532 Q79889 Q755600 Q506586 Q3239732 Q1948672 Q502312 Q793 Q545457 Q3322237 Q23436 Q81137 Q828753 Q26430 Q192896 Q33518 Q756103 Q170263 Q472 Q34863 Q934511 Q2056925 Q1007168 Q780532 Q184587 Q755106 Q959585 Q174224 Q9832 Q179224 Q26421 Q631666 Q58900 Q2543653 Q2906589 Q49225 Q2549819 Q937736 Q2278965 Q8385 Q18681973 Q1310 Q989919 Q990130 Q1988986 Q2181173 Q28237 Q24454 Q75967 Q2076290 Q40844 Q60705 Q49267 Q369947 Q755773 Q975 Q2659606 Q505601
(c(Q34442)|c(Q83620),P609,c(Q56061))
action count
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 Q599331
relation P609
type Q34442
type Q83620
[ANSWER]
[[{'concept': 'Q34442'}, {'concept': 'Q83620'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) ?k WHERE { { ?j property:P609 ?k . ?k rdf:type ontology:Q56061 . ?j rdf:type ontology:Q83620 } UNION { ?k rdf:type ontology:Q56061 . ?j rdf:type ontology:Q34442 . ?j property:P609 ?k } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { ?v property:P609 resource:Q599331 . { { ?v rdf:type ontology:Q34442 } UNION { ?v rdf:type ontology:Q83620 } } } } . FILTER ( ?l = ?i ) }
Utrecht Biddinghuizen Hradec Králové Turku City of London Marquette Almere Kampen Glasgow Bodegraven Oceanside New Buffalo Haarlem Sioux Falls Santee Groningen Holyport Flandreau Hemel Hempstead Casa Grande Milford Newark Sulphur Carlin Maasdijk Zwolle Nieuw-Vennep Venlo Edinburgh Olomouc Coronado Tilburg Carlisle Dover Lewes Chester Sofia Oklahoma City Papendrecht Tripp IJsselmuiden Negaunee Grand Rapids Rehoboth Beach Streefkerk Wilmington Eindhoven Dover Dordrecht Holtville Doncaster Den Hoorn, South Holland Blijham Reno Seaton Burn Hot Springs Henryetta Ostrava Kedonperä Arnhem Farmington Hills Hook of Holland Mitchell Bellingwolde Lansing Troisvierges Schoondijke Wells Breda Emmeloord Henderson El Cajon Harrington San Antonio Caldwell Wassenaar
76
action count
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 Biddinghuizen
relation terminus location
type road
type thoroughfare
[[{'concept': 'road'}, {'concept': 'thoroughfare'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) ?k WHERE { { ?j property:terminus_location ?k . ?k rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:thoroughfare } UNION { ?k rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:road . ?j property:terminus_location ?k } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { ?v property:terminus_location resource:Biddinghuizen . { { ?v rdf:type ontology:road } UNION { ?v rdf:type ontology:thoroughfare } } } } . FILTER ( ?l = ?i ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q34863
P609
Q56061 Q34442 Q83620
USER
And also tell me about Oklahoma City?
(c(Q34442)|c(Q83620),P609,c(Q56061))
action count
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 Q34863
relation P609
type Q34442
type Q83620
[[{'concept': 'Q34442'}, {'concept': 'Q83620'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { FILTER ( ?m = ?q ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { ?h property:P609 resource:Q34863 . { VALUES ( ?p ) { ( ontology:Q83620 ) ( ontology:Q34442 ) } . ?h rdf:type ?p } } } . { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?m ) WHERE { { ?u property:P609 ?t . ?t rdf:type ontology:Q56061 . ?u rdf:type ontology:Q34442 } UNION { ?u property:P609 ?t . ?t rdf:type ontology:Q56061 . ?u rdf:type ontology:Q83620 } } GROUP BY ?t } }
Oklahoma City
action count
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 Oklahoma City
relation terminus location
type road
type thoroughfare
[[{'concept': 'road'}, {'concept': 'thoroughfare'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { FILTER ( ?m = ?q ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { ?h property:terminus_location resource:Oklahoma_City . { VALUES ( ?p ) { ( ontology:thoroughfare ) ( ontology:road ) } . ?h rdf:type ?p } } } . { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?m ) WHERE { { ?u property:terminus_location ?t . ?t rdf:type ontology:administrative_territorial_entity . ?u rdf:type ontology:road } UNION { ?u property:terminus_location ?t . ?t rdf:type ontology:administrative_territorial_entity . ?u rdf:type ontology:thoroughfare } } GROUP BY ?t } }
[]
administrative territorial entity road thoroughfare
SYSTEM
453
Q1159408 Q1866725 Q599331 Q81076 Q2588702 Q10084 Q746718 Q3112494 Q886915 Q81177 Q2218481 Q2305106 Q2779809 Q238510 Q780923 Q957593 Q2635319 Q180139 Q38511 Q23311 Q11885222 Q581785 Q942842 Q2207185 Q2688228 Q83178 Q1027049 Q2376652 Q1022954 Q851041 Q10014 Q1784816 Q490595 Q185216 Q153745 Q611919 Q1018448 Q1019462 Q2002936 Q599201 Q1774840 Q846242 Q499174 Q2223679 Q6506 Q1309 Q984437 Q4093 Q16568 Q832938 Q269980 Q23337 Q7017057 Q488924 Q2656 Q748747 Q2684131 Q33264 Q13415826 Q1425428 Q9920 Q143782 Q2233872 Q883862 Q12912978 Q754868 Q985268 Q131335 Q4507706 Q219656 Q36989 Q1026371 Q4076763 Q923799 Q1527123 Q960454 Q49244 Q90 Q1022789 Q149787 Q2606846 Q2372373 Q3020221 Q675049 Q2161723 Q6931019 Q2227172 Q2132 Q6816 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 Q755600 Q2060859 Q6903267 Q3239732 Q10025 Q1108196 Q1948672 Q3394752 Q43631 Q478036 Q2566692 Q502312 Q1812494 Q34739 Q1615894 Q2668887 Q1978857 Q103717 Q1004397 Q783210 Q2618803 Q4733779 Q5168 Q2121249 Q156080 Q1615972 Q953583 Q952097 Q9911 Q8336 Q2055138 Q2376829 Q5336994 Q28218 Q81086 Q1026976 Q51697 Q51694 Q7306457 Q2008706 Q798 Q2297876 Q1983451 Q793 Q545457 Q1344696 Q883 Q1615386 Q932008 Q7291165 Q2473978 Q1840 Q3322237 Q2525207 Q23436 Q5367550 Q9909 Q611065 Q3776352 Q60444 Q2247076 Q81137 Q5316449 Q828753 Q374501 Q1924946 Q2345413 Q26430 Q920932 Q192896 Q2432500 Q239 Q12994 Q486472 Q49940 Q16556 Q2579355 Q2279962 Q1233089 Q3026315 Q844908 Q9898 Q1639484 Q33518 Q237692 Q973864 Q483000 Q756103 Q1737120 Q79783 Q2266985 Q1912125 Q131491 Q170263 Q985524 Q1907250 Q1748 Q891359 Q2480177 Q3110254 Q84 Q1022447 Q3312626 Q16977290 Q579722 Q992371 Q472 Q2403755 Q1009668 Q755393 Q34863 Q806903 Q970792 Q1946253 Q200036 Q3030738 Q934511 Q954194 Q470380 Q482976 Q2096849 Q2360370 Q2056925 Q1934815 Q1007168 Q780532 Q988156 Q2853591 Q184587 Q755106 Q664060 Q858607 Q862684 Q1828035 Q959585 Q1615562 Q2893665 Q1781266 Q40738 Q249022 Q2598092 Q1490 Q5326549 Q203889 Q2118905 Q1010422 Q5016557 Q1962451 Q2342197 Q983790 Q2235855 Q753830 Q425786 Q3511360 Q1927386 Q9832 Q1781 Q986664 Q2873143 Q2738845 Q168279 Q2318330 Q15156199 Q202158 Q826048 Q1613459 Q772940 Q12013510 Q244327 Q2551418 Q179224 Q156974 Q20203420 Q1890680 Q191914 Q4006479 Q2856996 Q2577946 Q1025055 Q220 Q26421 Q525880 Q10041 Q208262 Q160493 Q5881488 Q3330170 Q2738898 Q14935506 Q517423 Q631666 Q2023889 Q5858099 Q868869 Q1538358 Q1616642 Q134902 Q9783 Q118958 Q3243599 Q755569 Q1492862 Q58900 Q616877 Q1755020 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 Q83065 Q2906589 Q755748 Q931778 Q177861 Q1027111 Q2805272 Q995911 Q504803 Q2115537 Q3126359 Q49225 Q2732640 Q166065 Q2549819 Q937736 Q841979 Q2278965 Q8385 Q1007176 Q18681973 Q868637 Q611722 Q1232203 Q49255 Q1025080 Q2192403 Q2563265 Q1025089 Q1310 Q649 Q2900922 Q77056 Q989919 Q1996607 Q577960 Q1258901 Q24826 Q9934 Q990130 Q3091189 Q79842 Q203000 Q1988986 Q2225613 Q213325 Q2774284 Q2496189 Q887 Q813431 Q2181173 Q28237 Q24454 Q889888 Q47164 Q576149 Q75967 Q384544 Q2076290 Q2188667 Q2277323 Q2199102 Q40844 Q2282115 Q1020364 Q1210428 Q1299618 Q60705 Q10686 Q1617033 Q143334 Q888491 Q49267 Q2289322 Q369947 Q986634 Q755773 Q1013540 Q2281208 Q1950746 Q726635 Q2361780 Q230406 Q615732 Q537120 Q975 Q183551 Q2294176 Q146351 Q129610 Q3025598 Q2659606 Q2860067 Q2152099 Q985549 Q1190876 Q974325 Q971130 Q505601 Q83813 Q1887976 Q2415663 Q1916586 Q179385 Q946361 Q10037 Q2433994
(c(Q34442)|c(Q83620),P609,c(Q56061))
action count
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 Q34863
relation P609
type Q34442
type Q83620
[ANSWER]
[[{'concept': 'Q34442'}, {'concept': 'Q83620'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { FILTER ( ?m = ?q ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { ?h property:P609 resource:Q34863 . { VALUES ( ?p ) { ( ontology:Q83620 ) ( ontology:Q34442 ) } . ?h rdf:type ?p } } } . { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?m ) WHERE { { ?u property:P609 ?t . ?t rdf:type ontology:Q56061 . ?u rdf:type ontology:Q34442 } UNION { ?u property:P609 ?t . ?t rdf:type ontology:Q56061 . ?u rdf:type ontology:Q83620 } } GROUP BY ?t } }
Dandenong Groenekan Biddinghuizen Zierikzee Shankill Vlissingen Birkenhead Poeldijk Blythe Leersum Oosterbeek White Kats Etten Wallasey Den Oever Menominee Hradec Králové Turku City of London Ojakylä Lepelstraat Smíchov Terneuzen Toronto Almere Irkeshtam Ludborough St. Clair Shores Glendora Kampen Korsør Daytona Beach Grapevine Beuel Shannon, County Clare Washington Natalia Ironwood Hayti Hugo Nieuw-Lekkerland Barstow Uithuizen 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 Las Vegas Ontario Blerick Oosterhout Cumberland Inver Grove Heights Sioux Falls Dongen Macon Pardubice Kinnegad Ballymascanlan Santee Girton Holyport Santa Ana Paris Munising Hendon Norwich Kootwijk De Meern Flandreau Ludington Muchea Sunfish Lake Victoria Ulan-Ude 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 Milford Nieuw-Beijerland Roosendaal Sulphur Wierden Coleshill Carlin Catthorpe Leiden Schoonhoven Crookhaven Maasdijk Rijswijk Dayton Cheadle New Lenox Forest Lake Rovaniemi Coldwater Bracknell Colome Almere Poort Makhachkala Stainforth Opava Wateringen Littleton Muskegon Den Helder Hockenheim Heavener Swifterbant Edenfield Baton Rouge Sas van Gent Sale McKinney Grand Prairie Redwick Elkhart Assen Chevening Platte Zwolle Nieuw-Vennep Enterprise Novosibirsk Sassenheim Maarssen Rancho Peñasquitos Ede Veenendaal Venlo Ochten Edinburgh Elsham, North Lincolnshire Bussum Farington Downings Drachten Barger-Compascuum Olomouc Durham Coronado Tabor Canfield Hardtner Tilburg Eede Carlisle Ishpeming Brussels Bruges Kansas City Newark-on-Trent Phoenix Babberich Highmore Totton and Eling Terhole Crawley Amstelveen Huyton Dover Ewijk Nocona Farmington Lewes Wilmot Nogales Essington Klaaswaal Brighton Chester Fallon Serooskerke Copenhagen Bolingbrook Norway Kapolei London Cleckheaton Middenmeer Alkmaar Ossendrecht Bruinisse Sofia Terschuur Otterburn New Castle Oklahoma City Banning Del Rio St. Ignace Volos Zuidschermer Papendrecht Springfield Přerov Brigham City Stellendam Longtown Tripp Milies IJsselmuiden Negaunee Slidell Aberford Grand Rapids Rehoboth Beach Cloncurry Strijen Yucca Valley Lisburn Streefkerk Kesteren Beek, Montferland Courtmacsherry Bursa Traralgon Shorne Tokyo Earlswood Luton Purley Inverkeithing Cadnam Mollington Eccles West Wendover Aarlanderveen Redlands 's-Gravenzande St John's Town of Dalry Madill Eindhoven Budapest Springsure Hoek Cheboygan Zbraslav Waverveen Alphen aan den Rijn Hämeenlinna Waddinxveen Naaldwijk Bandar-e Emam Khomeyni Vught Gorinchem South Mimms Dover Ústí nad Labem Heumen Bad Nieuweschans Hachinohe Urmston Neeritter Mullaghmore, County Sligo Kruiningen Rome Dordrecht Hollis Soest Eastbourne Inverness Hollingworth 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 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 Leicester Blijham Stonington Calipatria Faribault Kengtung Ens Hoofddorp Krumbach Viola Hambrook Reno Topcliffe Lelystad Seaton Burn Hot Springs Mansfield Henryetta Ostrava Glanerbrug Kedonperä Macclesfield Westerland, Netherlands Diakopto Tampa Soesterberg Elkton Carrigaholt Nieuw- en Sint Joosland Arnhem Moscow Nieuwe Pekela Edam Farmington Hills Lake Norden O'Fallon Driebergen-Rijsenburg Liverpool Hilversum Hook of Holland Uddingston Flagstaff Perth Mitchell Nieuwdorp Rapid City Meerkerk Oude-Tonge Yekaterinburg Beaumont Bellingwolde Lansing Troisvierges Bodmin Santa Monica Columbia Schoondijke Karlovy Vary Wells Selden Siebengewald Chadderton Breda Gretna Swanley Didam Ehestorf Emmeloord Belfast Worsley Ishim Oslo Henderson Van Ewijcksluis El Cajon Sault Ste. Marie Harrington Dupree Dinteloord Mount Surprise Beek, Ubbergen Chapel-en-le-Frith Zurich, Friesland Breukelen Walker San Antonio Waterford Stroud Liberec Galway Wedde Caldwell Cothen Worthing Sitia Bromsgrove Palmview Nieuwe Niedorp Wassenaar Savannah Anthony Petoskey Elsloo, Limburg Greenwich Bamber Bridge Eemnes Putte, Pays-Bas
453
action count
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 Oklahoma City
relation terminus location
type road
type thoroughfare
[[{'concept': 'road'}, {'concept': 'thoroughfare'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { FILTER ( ?m = ?q ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { ?h property:terminus_location resource:Oklahoma_City . { VALUES ( ?p ) { ( ontology:thoroughfare ) ( ontology:road ) } . ?h rdf:type ?p } } } . { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?m ) WHERE { { ?u property:terminus_location ?t . ?t rdf:type ontology:administrative_territorial_entity . ?u rdf:type ontology:road } UNION { ?u property:terminus_location ?t . ?t rdf:type ontology:administrative_territorial_entity . ?u rdf:type ontology:thoroughfare } } GROUP BY ?t } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q6581097
P180
Q3305213 Q340169
USER
How many paintings and medias depict male ?
(c(Q3305213),P180,Q6581097) (c(Q340169),P180,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q3305213
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q340169
[{'concept': 'Q3305213'}, 'P180', 'Q6581097'] [{'concept': 'Q340169'}, 'P180', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { ?t rdf:type ?s . VALUES ( ?s ) { ( ontology:Q340169 ) ( ontology:Q3305213 ) } }
male
action count
action union
action filter_type
action find_reverse
entity male
relation depicts
type painting
action filter_type
action find_reverse
entity male
relation depicts
type media
[{'concept': 'painting'}, 'depicts', 'male'] [{'concept': 'media'}, 'depicts', 'male']
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { ?t rdf:type ?s . VALUES ( ?s ) { ( ontology:media ) ( ontology:painting ) } }
[]
painting media
SYSTEM
1 paintings and 1 medias
Q20020115 Q18713957
(c(Q3305213),P180,Q6581097) (c(Q340169),P180,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q3305213
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q340169
[ANSWER]
[{'concept': 'Q3305213'}, 'P180', 'Q6581097'] [{'concept': 'Q340169'}, 'P180', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { ?t rdf:type ?s . VALUES ( ?s ) { ( ontology:Q340169 ) ( ontology:Q3305213 ) } }
Portrait of a Young Man Raja Surendra Vikram Shah at the age of 15 with his prime minister
1 paintings and 1 medias
action count
action union
action filter_type
action find_reverse
entity male
relation depicts
type painting
action filter_type
action find_reverse
entity male
relation depicts
type media
[{'concept': 'painting'}, 'depicts', 'male'] [{'concept': 'media'}, 'depicts', 'male']
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { ?t rdf:type ?s . VALUES ( ?s ) { ( ontology:media ) ( ontology:painting ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q56061 Q2235308
USER
Which ship types have approximately 1 administrative territory as registry port ?
(c(Q2235308),P532,c(Q56061))
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 1
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?b ) WHERE { ?w property:P532 ?r . ?w rdf:type ontology:Q2235308 . ?r rdf:type ontology:Q56061 } GROUP BY ?w } . FILTER ( ?b = 1 ) }
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 1
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?b ) WHERE { ?w property:port_of_registry ?r . ?w rdf:type ontology:ship_type . ?r rdf:type ontology:administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?b = 1 ) }
[]
administrative territorial entity ship type
Q35462 Q192381 Q983141
SYSTEM
RMS Aquitania, MS Oasis of the Seas, MY Sam Simon
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q1026780 Q22342351 Q15662618 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 1
[ANSWERS] have approximately 1 administrative territory as registry port
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?b ) WHERE { ?w property:P532 ?r . ?w rdf:type ontology:Q2235308 . ?r rdf:type ontology:Q56061 } GROUP BY ?w } . FILTER ( ?b = 1 ) }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation SS California Modern Express Djurgården 8 Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
RMS Aquitania, MS Oasis of the Seas and MY Sam Simon have approximately 1 administrative territory as registry port
RMS Aquitania MS Oasis of the Seas MY Sam Simon
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 1
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?b ) WHERE { ?w property:port_of_registry ?r . ?w rdf:type ontology:ship_type . ?r rdf:type ontology:administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?b = 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q983141
P176
Q43229
USER
Who is the manufacturer of that ship type ?
(Q983141,P176,c(Q43229))
action filter_type
action find
entity Q983141
relation P176
type Q43229
['Q983141', 'P176', {'concept': 'Q43229'}]
SELECT DISTINCT ?u WHERE { resource:Q983141 property:P176 ?u . ?u rdf:type ontology:Q43229 }
MY Sam Simon
action filter_type
action find
entity MY Sam Simon
relation manufacturer
type organization
['MY Sam Simon', 'manufacturer', {'concept': 'organization'}]
SELECT DISTINCT ?u WHERE { resource:MY_Sam_Simon property:manufacturer ?u . ?u rdf:type ontology:organization }
[]
organization
Clarification for simple ques.
Q983141
SYSTEM
Did you mean MY Sam Simon ?
Q35462 Q192381 Q983141
(Q35462,P176,c(Q43229)) (Q192381,P176,c(Q43229)) (Q983141,P176,c(Q43229))
[ANSWER]
['Q35462', 'P176', {'concept': 'Q43229'}] ['Q192381', 'P176', {'concept': 'Q43229'}] ['Q983141', 'P176', {'concept': 'Q43229'}]
SELECT DISTINCT ?u WHERE { resource:Q983141 property:P176 ?u . ?u rdf:type ontology:Q43229 }
RMS Aquitania MS Oasis of the Seas MY Sam Simon
Did you mean MY Sam Simon ?
MY Sam Simon
['RMS Aquitania', 'manufacturer', {'concept': 'organization'}] ['MS Oasis of the Seas', 'manufacturer', {'concept': 'organization'}] ['MY Sam Simon', 'manufacturer', {'concept': 'organization'}]
SELECT DISTINCT ?u WHERE { resource:MY_Sam_Simon property:manufacturer ?u . ?u rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
USER
Yes
(Q983141,P176,c(Q43229))
['Q983141', 'P176', {'concept': 'Q43229'}]
['MY Sam Simon', 'manufacturer', {'concept': 'organization'}]
[]
Q1653679
SYSTEM
IHI Corporation
Q1653679
(Q983141,P176,c(Q43229))
action filter_type
action find
entity Q983141
relation P176
type Q43229
The manufacturer of that ship type is the [ANSWER]
['Q983141', 'P176', {'concept': 'Q43229'}]
SELECT DISTINCT ?u WHERE { resource:Q983141 property:P176 ?u . ?u rdf:type ontology:Q43229 }
IHI Corporation
The manufacturer of that ship type is the IHI Corporation
IHI Corporation
action filter_type
action find
entity MY Sam Simon
relation manufacturer
type organization
['MY Sam Simon', 'manufacturer', {'concept': 'organization'}]
SELECT DISTINCT ?u WHERE { resource:MY_Sam_Simon property:manufacturer ?u . ?u rdf:type ontology:organization }
[]