Simple Question (Direct)
Simple Question
Q7247406
P19
Q56061
USER
Which administrative territory was Prochorus Cydones born at ?
(Q7247406,P19,c(Q56061))
action filter_type
action find
entity Q7247406
relation P19
type Q56061
['Q7247406', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q7247406 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Prochorus Cydones
action filter_type
action find
entity Prochorus Cydones
relation place of birth
type administrative territorial entity
['Prochorus Cydones', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Prochorus_Cydones property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q17151
SYSTEM
Thessaloniki
Q17151
(Q7247406,P19,c(Q56061))
action filter_type
action find
entity Q7247406
relation P19
type Q56061
Prochorus Cydones was born in [ANSWER]
['Q7247406', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q7247406 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Thessaloniki
Prochorus Cydones was born in Thessaloniki
Thessaloniki
action filter_type
action find
entity Prochorus Cydones
relation place of birth
type administrative territorial entity
['Prochorus Cydones', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Prochorus_Cydones property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17151
P36
Q2221906
USER
Which geographic location has that administrative territory as its capital ?
(c(Q2221906),P36,Q17151)
action filter_type
action find_reverse
entity Q17151
relation P36
type Q2221906
[{'concept': 'Q2221906'}, 'P36', 'Q17151']
SELECT DISTINCT ?h WHERE { ?h property:P36 resource:Q17151 . ?h rdf:type ontology:Q2221906 }
Thessaloniki
action filter_type
action find_reverse
entity Thessaloniki
relation capital
type geographic location
[{'concept': 'geographic location'}, 'capital', 'Thessaloniki']
SELECT DISTINCT ?h WHERE { ?h property:capital resource:Thessaloniki . ?h rdf:type ontology:geographic_location }
[]
geographic location
Q81734
SYSTEM
Macedonia
Q81734
(c(Q2221906),P36,Q17151)
action filter_type
action find_reverse
entity Q17151
relation P36
type Q2221906
[ANSWER] has that administrative territory as its capital
[{'concept': 'Q2221906'}, 'P36', 'Q17151']
SELECT DISTINCT ?h WHERE { ?h property:P36 resource:Q17151 . ?h rdf:type ontology:Q2221906 }
Macedonia
Macedonia has that administrative territory as its capital
Macedonia
action filter_type
action find_reverse
entity Thessaloniki
relation capital
type geographic location
[{'concept': 'geographic location'}, 'capital', 'Thessaloniki']
SELECT DISTINCT ?h WHERE { ?h property:capital resource:Thessaloniki . ?h rdf:type ontology:geographic_location }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17151
P206
Q15324
USER
Which body of water is located in the neighbourhood of Thessaloniki ?
(Q17151,P206,c(Q15324))
action filter_type
action find
entity Q17151
relation P206
type Q15324
['Q17151', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?a WHERE { resource:Q17151 property:P206 ?a . ?a rdf:type ontology:Q15324 }
Thessaloniki
action filter_type
action find
entity Thessaloniki
relation located next to body of water
type body of water
['Thessaloniki', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?a WHERE { resource:Thessaloniki property:located_next_to_body_of_water ?a . ?a rdf:type ontology:body_of_water }
[]
body of water
Q913418
SYSTEM
Thermaic Gulf
Q913418
(Q17151,P206,c(Q15324))
action filter_type
action find
entity Q17151
relation P206
type Q15324
[ANSWER] is located in the neighbourhood of Thessaloniki
['Q17151', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?a WHERE { resource:Q17151 property:P206 ?a . ?a rdf:type ontology:Q15324 }
Thermaic Gulf
Thermaic Gulf is located in the neighbourhood of Thessaloniki
Thermaic Gulf
action filter_type
action find
entity Thessaloniki
relation located next to body of water
type body of water
['Thessaloniki', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?a WHERE { resource:Thessaloniki property:located_next_to_body_of_water ?a . ?a rdf:type ontology:body_of_water }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q612821
Q15324
USER
And how about Ko Phi Phi Lee?
(Q612821,P206,c(Q15324))
action filter_type
action find
entity Q612821
relation P206
type Q15324
['Q612821', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?o WHERE { resource:Q612821 property:P206 ?o . ?o rdf:type ontology:Q15324 }
Ko Phi Phi Lee
action filter_type
action find
entity Ko Phi Phi Lee
relation located next to body of water
type body of water
['Ko Phi Phi Lee', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?o WHERE { resource:Ko_Phi_Phi_Lee property:located_next_to_body_of_water ?o . ?o rdf:type ontology:body_of_water }
[]
body of water
Q47632
SYSTEM
Andaman Sea
Q47632
(Q612821,P206,c(Q15324))
action filter_type
action find
entity Q612821
relation P206
type Q15324
[ANSWER]
['Q612821', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?o WHERE { resource:Q612821 property:P206 ?o . ?o rdf:type ontology:Q15324 }
Andaman Sea
Andaman Sea
action filter_type
action find
entity Ko Phi Phi Lee
relation located next to body of water
type body of water
['Ko Phi Phi Lee', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?o WHERE { resource:Ko_Phi_Phi_Lee property:located_next_to_body_of_water ?o . ?o rdf:type ontology:body_of_water }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P361
Q14524493 Q15324
USER
How many bodies of water are a component of around the same number of terrains as that body of water ?
(c(Q15324),P361,c(Q14524493))
action count
action approx
action find_tuple_counts
relation P361
type Q15324
type Q14524493
action count
action filter_type
action find
entity Q47632
relation P361
type Q15324
[{'concept': 'Q15324'}, 'P361', {'concept': 'Q14524493'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?o ) WHERE { ?m rdf:type ontology:Q15324 . ?q rdf:type ontology:Q14524493 . ?m property:P361 ?q } GROUP BY ?m } . FILTER ( ?o = ?a ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { resource:Q47632 property:P361 ?d . ?d rdf:type ontology:Q15324 } } }
action count
action approx
action find_tuple_counts
relation part of
type body of water
type terrain
action count
action filter_type
action find
entity Andaman Sea
relation part of
type body of water
[{'concept': 'body of water'}, 'part of', {'concept': 'terrain'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?o ) WHERE { ?m rdf:type ontology:body_of_water . ?q rdf:type ontology:terrain . ?m property:part_of ?q } GROUP BY ?m } . FILTER ( ?o = ?a ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { resource:Andaman_Sea property:part_of ?d . ?d rdf:type ontology:body_of_water } } }
[]
terrain body of water
SYSTEM
392
Q217487 Q4102450 Q12630 Q2414385 Q939905 Q393854 Q2090594 Q19758852 Q1536345 Q1544796 Q41430 Q4189094 Q896179 Q10527306 Q2097617 Q11885224 Q2879490 Q683504 Q2589842 Q15711005 Q1089032 Q5716566 Q5578622 Q143460 Q5048261 Q2668841 Q931885 Q6649014 Q1432927 Q1053381 Q21951428 Q217501 Q5716551 Q21952424 Q7618524 Q944964 Q548240 Q1973404 Q931949 Q11875916 Q2648183 Q6072425 Q5401013 Q648317 Q748696 Q13190069 Q803725 Q619433 Q41573 Q1693 Q6730073 Q4194445 Q14875364 Q767824 Q2494757 Q2117497 Q16489367 Q200712 Q10438494 Q2091393 Q6916388 Q20791952 Q1112101 Q4314717 Q998971 Q470088 Q12156037 Q159252 Q1778024 Q161591 Q192738 Q494298 Q181476 Q210305 Q58705 Q515309 Q10717794 Q35000 Q2392921 Q795608 Q1247 Q803717 Q803714 Q645271 Q76925 Q44725 Q10424681 Q2648857 Q2990544 Q131274 Q810737 Q1415688 Q1130771 Q2996832 Q7231877 Q2216091 Q204703 Q4176307 Q947086 Q7230817 Q10593171 Q10604380 Q33254 Q13189537 Q5716558 Q2469075 Q717765 Q4100560 Q15260 Q21952373 Q7943692 Q737836 Q4056854 Q14395416 Q47632 Q18010884 Q2470190 Q765354 Q7413309 Q545 Q2652752 Q7494662 Q174731 Q549658 Q1974744 Q4185342 Q199408 Q13234218 Q2879661 Q16892103 Q1137163 Q21885509 Q596362 Q1215321 Q21906963 Q3608991 Q1474799 Q1141758 Q5080350 Q5596 Q3354785 Q317006 Q2393002 Q531060 Q5605 Q277114 Q37495 Q745945 Q21952092 Q21952093 Q1950044 Q21973072 Q2056703 Q7413511 Q4850709 Q2619811 Q335883 Q81611 Q5595169 Q10515932 Q4839963 Q2119446 Q12068771 Q2455308 Q3115516 Q10686340 Q1137498 Q2639433 Q1680511 Q2505156 Q21044314 Q24037731 Q326170 Q20613 Q1201023 Q42820 Q7842583 Q5168544 Q37660 Q965439 Q23406 Q82931 Q925649 Q4411610 Q962830 Q2483319 Q7206510 Q2642187 Q21923431 Q1574959 Q271043 Q384858 Q648551 Q7139890 Q4091255 Q38882 Q1100897 Q271198 Q2628190 Q2142350 Q13924 Q2733554 Q5055560 Q2750104 Q4222171 Q844799 Q37960 Q1132941 Q481734 Q2374928 Q16489339 Q1691969 Q786805 Q2361883 Q131217 Q3815129 Q4905044 Q1542528 Q159183 Q4875263 Q24302942 Q2272312 Q1285264 Q5413918 Q16489349 Q1482804 Q16489344 Q16489347 Q11900566 Q20022009 Q2879476 Q1974485 Q5716539 Q2363133 Q20791874 Q15621331 Q999031 Q223810 Q509321 Q1185210 Q288708 Q20791972 Q122574 Q608595 Q1841490 Q504571 Q894682 Q13189342 Q173343 Q21885510 Q7978259 Q698126 Q16211014 Q999046 Q1108019 Q3744347 Q27068062 Q1527243 Q14686 Q27068068 Q379063 Q589528 Q1267413 Q3040 Q844917 Q163434 Q218377 Q39651 Q6748834 Q483170 Q913418 Q5642127 Q19270 Q298119 Q6430597 Q34575 Q34675 Q2619452 Q6397945 Q2532834 Q4936151 Q33629 Q668012 Q915250 Q1991455 Q1807328 Q117157 Q193149 Q1112123 Q5281866 Q213367 Q4966924 Q239379 Q208962 Q7682972 Q650654 Q1536356 Q14081 Q14082 Q27698 Q2527222 Q639399 Q998952 Q2621029 Q27092 Q1359524 Q738028 Q38684 Q4220366 Q1241171 Q148621 Q934883 Q10688824 Q20085536 Q805470 Q724367 Q715148 Q1499081 Q5003930 Q11859035 Q350134 Q47530 Q2152754 Q774941 Q4399477 Q715484 Q2369683 Q4334869 Q1112066 Q81499 Q547557 Q716044 Q2081187 Q284841 Q233351 Q7988 Q1360927 Q7413532 Q11416963 Q5301569 Q10527445 Q16489351 Q1801605 Q4843204 Q7133798 Q885118 Q700309 Q1961204 Q7087839 Q2621502 Q7167679 Q494927 Q1947589 Q22533711 Q2115137 Q1771054 Q17777685 Q2331862 Q181857 Q2414202 Q754734 Q7375342 Q1338198 Q1269176 Q2391874 Q6801821 Q10508937 Q4457830 Q1112028 Q1649939 Q25336625 Q132868 Q2469848 Q908701 Q988603 Q1638096 Q188203 Q2211837 Q201385 Q10524190 Q367304 Q2630374 Q144327 Q21196118 Q3059074 Q2593028 Q1543130 Q218189 Q1741345 Q10435180 Q2001350 Q483824
(c(Q15324),P361,c(Q14524493))
action count
action approx
action find_tuple_counts
relation P361
type Q15324
type Q14524493
action count
action filter_type
action find
entity Q47632
relation P361
type Q15324
[ANSWER]
[{'concept': 'Q15324'}, 'P361', {'concept': 'Q14524493'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?o ) WHERE { ?m rdf:type ontology:Q15324 . ?q rdf:type ontology:Q14524493 . ?m property:P361 ?q } GROUP BY ?m } . FILTER ( ?o = ?a ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { resource:Q47632 property:P361 ?d . ?d rdf:type ontology:Q15324 } } }
Shark Bay Vaida Bay Gulf of Mexico Karkinit Bay Khatanga Gulf Narva Bay Cantabrian Sea Sattahip Bay Moro Gulf Mobile Bay Gulf of Guinea Zashchitnaya Bay Neuwarper See Husarviken Salish Sea Ojakylänlahti Baie Norvégienne Gulf of Darién Gelendzhik Bay Fláajökull Broadhaven Bay Independencia Bay Gold Coast Broadwater Taganrog Bay Casco Bay Mirabello Bay Temryuk Bay Little Bay de Noc Tindfjallajökull Cenderawasih Bay Shark Bay Pechora Sea Sechura Bay Glades Bay Stokes Bay Killala Bay Dvina Bay inland sea Valcour Bay Liminka Bay Nevado del Quindío Iron Cove Estero Bay Argolic Gulf Levantine Sea Millwaqucha Antongil Bay Kolyma Bay Bay of Biscay North Sea Magellan Bay Zubovskaya Bay Nottawasaga Bay Hauraki Gulf Taman Bay Taymyr Gulf Inner Puno Bay Balearic Sea Bällstaviken Malaya Volokovaya Mosman Bay Hammond Bay Kozhevnikova Bay Bukhta Nakhodka Illana Bay American Mediterranean Sea Coishco Bay Chukchi Sea Store Lungegårdsvannet Kola Bay Gulf of Taranto Posyet Bay Cotopaxi Gulf of Venezuela Arabian Sea Blacksod Bay Väsbyviken Sea of Azov Khadzhibey Estuary Gulf of Honduras Caribbean Sea Mont Saint-Michel Bay Baie des Anges Sea of Sardinia Venetian Lagoon Bering Sea Baggensfjärden Ritacuba Blanco Middendorff Bay Beaufort Sea Batchawana Bay Mezen Bay Sivash Olenyok Gulf Portland Bay Salzhaff Scotia Sea Saltsjön Green Bay Port Musgrave Mälbyviken Nybroviken Tasman Sea Hatun Allpapata Tumbes Bay Yuratski Bay Phang Nga Bay Providence Bay, Siberia Glärnisch Morrisons Bay Vuosaari Harbour Sayda Bay Āgenskalns bay Macajalar Bay Andaman Sea Marajó Bay Faddey Bay Wellington Channel San Antonio Bay Baltic Sea Lumbovsky Gulf Sherard Bay Gulf of Riga Malian Gulf Amundsen Gulf Shchastya Bay Alboran Sea Bothnian Bay Malpeque Bay Harkin Bay Avacha Bay Shark Bay Bandon Bay Apalachee Bay Neutral Bay Tigris–Euphrates river system Torfajökull Uda Gulf Saint Lawrence Bay, Chukotka Curonian Lagoon Stockholms ström Bay of Mecklenburg Gulf of Odessa Bay of Wismar Vistula Lagoon Gulf of İskenderun Ionian Sea Gulf of Ob Shark Bay Shark Bay Motovsky Gulf Tipplers Passage Kolyuchinskaya Bay San Carlos Bay Baler Bay Lazurnaya Bay Þórisjökull Gulf of Aqaba Grand Traverse Bay Hagaviken Bacoor Bay Bay of Puck Severn Estuary Tromper Wiek Vanhankaupunginselkä Svinnegarnsviken Kandalaksha Gulf Khaypudyr Bay Kleiner Jasmunder Bodden Khromskaya Bay Saltuni bay of Le Croisic Bay of Pomerania Meldorf Bay Suruga Bay Ligurian Sea Trinity Bay Copes Bay South China Sea Riddarfjärden Red Sea Coral Sea Broken Bay Svyatonossky Gulf Chosha Bay Kolyma Gulf Pocomoke Sound Bombetoka Bay Shark Bay Taui Bay Sea of Åland Varangerfjord Nevado del Huila Parry Sound Bolshaya Volokovaya Tyrrhenian Sea Clew Bay Årstaviken Pyasino Gulf Bay of Gibraltar Adriatic Sea Panguil Bay Cañacao Bay Shannon Estuary Kislaya Guba Gulf of Paria Yellow Sea Corio Bay Amur Bay Vostok Bay Lagunillas Bay Prorer Wiek Penzhina Bay Diomede Bay Gulf of Thailand canal basin Big Bay de Noc Subic Bay Philippine Sea Baía de São José Olhavanlahti Nordvik Bay Golfo degli Angeli Kempeleenlahti San Juan Bay South Atlantic Pisco Bay Puno Bay Vartiokylänlahti Brazo San Carlos Missisquoi Bay Dniester Liman Samanco Bay Yana Bay Garden Bay Bay of Roses Bight of Bonny James Bay Davis Sea Pagasetic Gulf Butuan Bay Kates Bay Gulf of Bothnia Buor-Khaya Gulf Banten Bay Jade Bight Botany Bay Chawpi Hanka Weddell Sea Shark Bay Weatherall Bay Bay of Kiel Nabukjuak Bay Sibuguey Bay Korfa Bay Yevpatoria Bay anse du Gouvernement Gizhigin Bay Gulf of Finland Bay of Figari Thracian Sea Ussuri Bay Georgian Bay Hudson Bay Gulf of Kutch East Siberian Sea Dollart Eyjafjallajökull Mangarin Bay Anabar Bay Thermaic Gulf Halifax Bay Celebes Sea Öræfajökull Koolama Bay Aegean Sea Persian Gulf Tyligul Estuary Keweenaw Bay Olga Bay Bocas del Dragón Kara Sea Kitzsteinhorn Chaunskaya Bay Baydaratskaya Bay Vyborg Bay Gulf of Cádiz Sea of Crete Omulyakhskaya Bay Discovery Bay Gdańsk Bay Bridgwater Bay Garabogazköl Iroise Sea Tangier Sound Archipelago Sea Gulf of Penas Chimborazo Antisana Neva Bay Vinterviken Shelikhov Gulf Iligan Bay Dnieper Estuary Sea of Japan Bay of Bangkok Libyan Sea Bay of Bengal Kizlyar Bay Donegal Bay Dublin Bay Gulf of Patras Södertäljeviken Qishqi Balmer See Belukha Mountain Zolotoy Rog Geitlandsjökull Byam Martin Channel Eurajoensalmi North Atlantic Bight of Benin Tiksi Bay Chacaltaya Rudnaya Sakhalin Gulf Nagaev Bay Onemen Bay Simsa Bay Celtic Sea Zapadnaya Litsa Aniva Bay Pechenga Bay Ambracian Gulf Nevado del Ruiz Laptev Sea Moray Firth San Carlos Water Sudo nada Douglas Harbour Hustegafjärden San Nicolas Bay Lammefjord Baie de l'Isle-Verte Paracas Bay Blood Falls Bay of Lübeck Olyutorsky Gulf Oliver Sound Nakhodka Bay Perdido Bay Peter the Great Gulf Moreton Bay Conjuror Bay Ormoc Bay East Antarctic Ice Sheet Ch'uspiqucha (Huánuco) Khalmyer Bay Bay of Fundy Luga Bay Cayambe Rozelle Bay Yenisei Gulf Dyngjujökull Karaginsky Gulf McKenzie Bight Grisslingefjärden San Pedro Bay Ebelyakh Bay Bothnian Sea Southern Bight-Minas Basin Greenland Sea Maria Pronchishcheva Bay Onega Bay El Altar Køge Bay Bristol Channel Saginaw Bay Gulf of Naples Himmerfjärden Gulf of Patience Kresta Bay Nevado del Tolima Pigeon Bay estuary of the St. Lawrence Koporye Bay Grankullaviken Admiralty Bay Killary Harbour Breviken Norwegian Bay Gulf of Anadyr
392
action count
action approx
action find_tuple_counts
relation part of
type body of water
type terrain
action count
action filter_type
action find
entity Andaman Sea
relation part of
type body of water
[{'concept': 'body of water'}, 'part of', {'concept': 'terrain'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?o ) WHERE { ?m rdf:type ontology:body_of_water . ?q rdf:type ontology:terrain . ?m property:part_of ?q } GROUP BY ?m } . FILTER ( ?o = ?a ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { resource:Andaman_Sea property:part_of ?d . ?d rdf:type ontology:body_of_water } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P706
Q2221906 Q355304 Q2221906
USER
Which geographic locations have their location as approximately 1 geographic locations or watercourses ?
(c(Q2221906),P706,c(Q2221906)|c(Q355304))
action approx
action union
action find_tuple_counts
relation P706
type Q2221906
type Q2221906
action find_tuple_counts
relation P706
type Q2221906
type Q355304
value 1
[{'concept': 'Q2221906'}, 'P706', [{'concept': 'Q2221906'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) ?o WHERE { ?q rdf:type ?g . VALUES ( ?g ) { ( ontology:Q355304 ) ( ontology:Q2221906 ) } } GROUP BY ?o } . FILTER ( ?b = 1 ) }
action approx
action union
action find_tuple_counts
relation located on terrain feature
type geographic location
type geographic location
action find_tuple_counts
relation located on terrain feature
type geographic location
type watercourse
value 1
[{'concept': 'geographic location'}, 'located on terrain feature', [{'concept': 'geographic location'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) ?o WHERE { ?q rdf:type ?g . VALUES ( ?g ) { ( ontology:watercourse ) ( ontology:geographic_location ) } } GROUP BY ?o } . FILTER ( ?b = 1 ) }
[]
geographic location watercourse geographic location
Q27561 Q213704 Q7191008
SYSTEM
Caribbean Netherlands, Pico Bolívar, Pico El León
Q7191008 Q27468 Q27394 Q12603 Q27381 Q1188034 Q27561 Q22673001 Q4412295 Q263686 Q1411784 Q27353 Q3047192 Q745767 Q1555247 Q6488761 Q3646551 Q14705259 Q1134547 Q5428 Q27449 Q213704 Q22602 Q7191014 Q7191015 Q7191011 Q5317255
(c(Q2221906),P706,c(Q2221906)|c(Q355304))
action approx
action union
action find_tuple_counts
relation P706
type Q2221906
type Q2221906
action find_tuple_counts
relation P706
type Q2221906
type Q355304
value 1
[ANSWERS] have their location as approximately 1 geographic locations or watercourses
[{'concept': 'Q2221906'}, 'P706', [{'concept': 'Q2221906'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) ?o WHERE { ?q rdf:type ?g . VALUES ( ?g ) { ( ontology:Q355304 ) ( ontology:Q2221906 ) } } GROUP BY ?o } . FILTER ( ?b = 1 ) }
Pico El León Eastern Europe Southern Africa Pacific Northwest North Africa Pico Humboldt Caribbean Netherlands Fonte River Dam Northern Maramuresh Southeast Europe Western Palatinate Anglo-America Pico Piedras Blancas Marie Byrd Land North Palatinate Larch Mountain Pico Bonpland Porter Peak Ellsworth Land Siberia Southern Europe Pico Bolívar Vorderpfalz Pico La Concha Pico Pan de Azúcar Pico El Toro Dutch Caribbean
Caribbean Netherlands, Pico Bolívar and Pico El León have their location as approximately 1 geographic locations or watercourses
Caribbean Netherlands Pico Bolívar Pico El León
action approx
action union
action find_tuple_counts
relation located on terrain feature
type geographic location
type geographic location
action find_tuple_counts
relation located on terrain feature
type geographic location
type watercourse
value 1
[{'concept': 'geographic location'}, 'located on terrain feature', [{'concept': 'geographic location'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) ?o WHERE { ?q rdf:type ?g . VALUES ( ?g ) { ( ontology:watercourse ) ( ontology:geographic_location ) } } GROUP BY ?o } . FILTER ( ?b = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17151
P6
Q502895
USER
Which person is Thessaloniki the head of goverment of ?
(Q17151,P6,c(Q502895))
action filter_type
action find
entity Q17151
relation P6
type Q502895
['Q17151', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q17151 property:P6 ?s }
Thessaloniki
action filter_type
action find
entity Thessaloniki
relation head of government
type common name
['Thessaloniki', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Thessaloniki property:head_of_government ?s }
[]
common name
Q923040
SYSTEM
Yiannis Boutaris
Q923040
(Q17151,P6,c(Q502895))
action filter_type
action find
entity Q17151
relation P6
type Q502895
[ANSWER] is Thessaloniki the head of goverment of
['Q17151', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q17151 property:P6 ?s }
Yiannis Boutaris
Yiannis Boutaris is Thessaloniki the head of goverment of
Yiannis Boutaris
action filter_type
action find
entity Thessaloniki
relation head of government
type common name
['Thessaloniki', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Thessaloniki property:head_of_government ?s }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5306200
Q502895
USER
And what about Fälldin I Cabinet?
(Q5306200,P6,c(Q502895))
action filter_type
action find
entity Q5306200
relation P6
type Q502895
['Q5306200', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q5306200 property:P6 ?i . ?i rdf:type ontology:Q502895 }
Fälldin I Cabinet
action filter_type
action find
entity Fälldin I Cabinet
relation head of government
type common name
['Fälldin I Cabinet', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Fälldin_I_Cabinet property:head_of_government ?i . ?i rdf:type ontology:common_name }
[]
common name
Q53721
SYSTEM
Thorbjörn Fälldin
Q53721
(Q5306200,P6,c(Q502895))
action filter_type
action find
entity Q5306200
relation P6
type Q502895
[ANSWER]
['Q5306200', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q5306200 property:P6 ?i . ?i rdf:type ontology:Q502895 }
Thorbjörn Fälldin
Thorbjörn Fälldin
action filter_type
action find
entity Fälldin I Cabinet
relation head of government
type common name
['Fälldin I Cabinet', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Fälldin_I_Cabinet property:head_of_government ?i . ?i rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q27561
P361
Q56061
USER
How many administrative territories are a portion of Caribbean Netherlands ?
(c(Q56061),P361,Q27561)
action count
action filter_type
action find_reverse
entity Q27561
relation P361
type Q56061
[{'concept': 'Q56061'}, 'P361', 'Q27561']
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { ?m property:P361 resource:Q27561 . ?m rdf:type ontology:Q56061 }
Caribbean Netherlands
action count
action filter_type
action find_reverse
entity Caribbean Netherlands
relation part of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'part of', 'Caribbean Netherlands']
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { ?m property:part_of resource:Caribbean_Netherlands . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
3
Q26180 Q25528 Q25396
(c(Q56061),P361,Q27561)
action count
action filter_type
action find_reverse
entity Q27561
relation P361
type Q56061
[ANSWER]
[{'concept': 'Q56061'}, 'P361', 'Q27561']
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { ?m property:P361 resource:Q27561 . ?m rdf:type ontology:Q56061 }
Sint Eustatius Saba Bonaire
3
action count
action filter_type
action find_reverse
entity Caribbean Netherlands
relation part of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'part of', 'Caribbean Netherlands']
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { ?m property:part_of resource:Caribbean_Netherlands . ?m rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1286144
P17
Q15617994
USER
Which administrative territory is Nur County located in ?
(Q1286144,P17,c(Q15617994))
action filter_type
action find
entity Q1286144
relation P17
type Q15617994
['Q1286144', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q1286144 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Nur County
action filter_type
action find
entity Nur County
relation country
type designation for an administrative territorial entity
['Nur County', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Nur_County property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q794
SYSTEM
Iran
Q794
(Q1286144,P17,c(Q15617994))
action filter_type
action find
entity Q1286144
relation P17
type Q15617994
Nur County is located in [ANSWER]
['Q1286144', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q1286144 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Iran
Nur County is located in Iran
Iran
action filter_type
action find
entity Nur County
relation country
type designation for an administrative territorial entity
['Nur County', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Nur_County property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]