Simple Question (Direct)
Simple Question
Q2198528
P19
Q515
USER
Where was Ahmad ibn Yusuf born ?
(Q2198528,P19,c(Q515))
action filter_type
action find
entity Q2198528
relation P19
type Q515
['Q2198528', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { resource:Q2198528 property:P19 ?u . ?u rdf:type ontology:Q515 }
Ahmad ibn Yusuf
action filter_type
action find
entity Ahmad ibn Yusuf
relation place of birth
type city
['Ahmad ibn Yusuf', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { resource:Ahmad_ibn_Yusuf property:place_of_birth ?u . ?u rdf:type ontology:city }
[]
city
Q1530
SYSTEM
Baghdad
Q1530
(Q2198528,P19,c(Q515))
action filter_type
action find
entity Q2198528
relation P19
type Q515
Ahmad ibn Yusuf was born in [ANSWER]
['Q2198528', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { resource:Q2198528 property:P19 ?u . ?u rdf:type ontology:Q515 }
Baghdad
Ahmad ibn Yusuf was born in Baghdad
Baghdad
action filter_type
action find
entity Ahmad ibn Yusuf
relation place of birth
type city
['Ahmad ibn Yusuf', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { resource:Ahmad_ibn_Yusuf property:place_of_birth ?u . ?u rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1530
P206
Q355304
USER
Which watercourse is located in the neighbourhood of that city ?
(Q1530,P206,c(Q355304))
action filter_type
action find
entity Q1530
relation P206
type Q355304
['Q1530', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q355304 . resource:Q1530 property:P206 ?s }
Baghdad
action filter_type
action find
entity Baghdad
relation located next to body of water
type watercourse
['Baghdad', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:watercourse . resource:Baghdad property:located_next_to_body_of_water ?s }
[]
watercourse
Q35591
SYSTEM
Tigris
Q35591
(Q1530,P206,c(Q355304))
action filter_type
action find
entity Q1530
relation P206
type Q355304
[ANSWER] is located in the neighbourhood of that city
['Q1530', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q355304 . resource:Q1530 property:P206 ?s }
Tigris
Tigris is located in the neighbourhood of that city
Tigris
action filter_type
action find
entity Baghdad
relation located next to body of water
type watercourse
['Baghdad', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:watercourse . resource:Baghdad property:located_next_to_body_of_water ?s }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q35591 Q5306836 Q7124107
P30
Q2221906
USER
Is that watercourse located in Dred and Ellen Yelverton House and Paerdegat basin ?
(Q35591,P30,Q5306836) (Q35591,P30,Q7124107)
action is_in
entity Q35591
action intersection
action find_reverse
entity Q5306836
relation P30
action find_reverse
entity Q7124107
relation P30
['Q35591', 'P30', 'Q5306836'] ['Q35591', 'P30', 'Q7124107']
ASK WHERE { resource:Q35591 property:P30 resource:Q5306836 . resource:Q35591 property:P30 resource:Q7124107 }
Tigris Dred and Ellen Yelverton House Paerdegat basin
action is_in
entity Tigris
action intersection
action find_reverse
entity Dred and Ellen Yelverton House
relation continent
action find_reverse
entity Paerdegat basin
relation continent
['Tigris', 'continent', 'Dred and Ellen Yelverton House'] ['Tigris', 'continent', 'Paerdegat basin']
ASK WHERE { resource:Tigris property:continent resource:Dred_and_Ellen_Yelverton_House . resource:Tigris property:continent resource:Paerdegat_basin }
[]
geographic location
SYSTEM
NO
(Q35591,P30,Q5306836) (Q35591,P30,Q7124107)
action is_in
entity Q35591
action intersection
action find_reverse
entity Q5306836
relation P30
action find_reverse
entity Q7124107
relation P30
[ANSWER]
['Q35591', 'P30', 'Q5306836'] ['Q35591', 'P30', 'Q7124107']
ASK WHERE { resource:Q35591 property:P30 resource:Q5306836 . resource:Q35591 property:P30 resource:Q7124107 }
No
action is_in
entity Tigris
action intersection
action find_reverse
entity Dred and Ellen Yelverton House
relation continent
action find_reverse
entity Paerdegat basin
relation continent
['Tigris', 'continent', 'Dred and Ellen Yelverton House'] ['Tigris', 'continent', 'Paerdegat basin']
ASK WHERE { resource:Tigris property:continent resource:Dred_and_Ellen_Yelverton_House . resource:Tigris property:continent resource:Paerdegat_basin }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1530 Q796
P1376
Q15617994
USER
Does Iraq have Baghdad as its capital ?
(Q1530,P1376,Q796)
action is_in
entity Q796
action find
entity Q1530
relation P1376
['Q1530', 'P1376', 'Q796']
ASK WHERE { resource:Q1530 property:P1376 resource:Q796 }
Baghdad Iraq
action is_in
entity Iraq
action find
entity Baghdad
relation capital of
['Baghdad', 'capital of', 'Iraq']
ASK WHERE { resource:Baghdad property:capital_of resource:Iraq }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1530,P1376,Q796)
action is_in
entity Q796
action find
entity Q1530
relation P1376
[ANSWER]
['Q1530', 'P1376', 'Q796']
ASK WHERE { resource:Q1530 property:P1376 resource:Q796 }
Yes
action is_in
entity Iraq
action find
entity Baghdad
relation capital of
['Baghdad', 'capital of', 'Iraq']
ASK WHERE { resource:Baghdad property:capital_of resource:Iraq }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q35591 Q858
P17
Q15617994
USER
Is Tigris present in Syria ?
(Q35591,P17,Q858)
action is_in
entity Q858
action find
entity Q35591
relation P17
['Q35591', 'P17', 'Q858']
ASK WHERE { resource:Q35591 property:P17 resource:Q858 }
Tigris Syria
action is_in
entity Syria
action find
entity Tigris
relation country
['Tigris', 'country', 'Syria']
ASK WHERE { resource:Tigris property:country resource:Syria }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q35591,P17,Q858)
action is_in
entity Q858
action find
entity Q35591
relation P17
[ANSWER]
['Q35591', 'P17', 'Q858']
ASK WHERE { resource:Q35591 property:P17 resource:Q858 }
Yes
action is_in
entity Syria
action find
entity Tigris
relation country
['Tigris', 'country', 'Syria']
ASK WHERE { resource:Tigris property:country resource:Syria }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1782677
P403
Q15324 Q355304
USER
Which bodies of water do lesser number of watercourses drain into than Pegasus Bay ?
(c(Q355304),P403,c(Q15324))
action less
action find_reverse_tuple_counts
relation P403
type Q15324
type Q355304
action count
action filter_type
action find_reverse
entity Q1782677
relation P403
type Q355304
[{'concept': 'Q355304'}, 'P403', {'concept': 'Q15324'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?h ) AS ?y ) WHERE { ?h property:P403 ?x . ?x rdf:type ontology:Q15324 . ?h rdf:type ontology:Q355304 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { ?i property:P403 resource:Q1782677 . ?i rdf:type ontology:Q355304 } } . FILTER ( ?y < ?f ) }
Pegasus Bay
action less
action find_reverse_tuple_counts
relation mouth of the watercourse
type body of water
type watercourse
action count
action filter_type
action find_reverse
entity Pegasus Bay
relation mouth of the watercourse
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', {'concept': 'body of water'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?h ) AS ?y ) WHERE { ?h property:mouth_of_the_watercourse ?x . ?x rdf:type ontology:body_of_water . ?h rdf:type ontology:watercourse } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { ?i property:mouth_of_the_watercourse resource:Pegasus_Bay . ?i rdf:type ontology:watercourse } } . FILTER ( ?y < ?f ) }
[]
body of water watercourse
Q213367 Q12068771 Q218377
SYSTEM
Gdańsk Bay, Severn Estuary, Dollart
Q6021455 Q2036651 Q393854 Q21857993 Q19876321 Q1544796 Q217487 Q211779 Q5516517 Q2879490 Q6321425 Q654010 Q3215249 Q21844766 Q2560795 Q1882990 Q5048261 Q181969 Q21859586 Q6652328 Q217501 Q2914958 Q15209014 Q1228583 Q944964 Q12058281 Q1243766 Q21855790 Q5401013 Q4959719 Q4767961 Q4874232 Q16903085 Q5875448 Q2837927 Q1331750 Q259929 Q6549598 Q767824 Q2117497 Q7337350 Q21872194 Q2660138 Q63767 Q10438494 Q5096001 Q21922838 Q21852063 Q199436 Q7963133 Q1154346 Q202083 Q2166147 Q7180290 Q242326 Q161591 Q7981333 Q2369538 Q1480814 Q575365 Q2879686 Q2360948 Q52059 Q7230817 Q2879708 Q1137163 Q1064776 Q645271 Q2617172 Q76925 Q1544353 Q3359189 Q21872065 Q644154 Q647879 Q21862899 Q1468759 Q810737 Q2879639 Q1130771 Q2996832 Q11568930 Q7990619 Q7990618 Q6075063 Q5138869 Q947086 Q894564 Q1441345 Q766872 Q5716492 Q7050615 Q4399477 Q21852389 Q19960979 Q14395416 Q2560406 Q18010884 Q164466 Q2088977 Q2652752 Q2328243 Q616220 Q1682481 Q549658 Q596362 Q1215321 Q21857803 Q21890286 Q21809333 Q747189 Q5596 Q642943 Q3354785 Q3032 Q700024 Q21880702 Q21855781 Q1043510 Q995658 Q1509253 Q1127599 Q7413511 Q679298 Q6449726 Q5595169 Q479030 Q2119446 Q12068771 Q21803268 Q3115516 Q10686340 Q1137498 Q5637955 Q7085600 Q7452698 Q21850122 Q6530294 Q20613 Q2731872 Q21855145 Q999074 Q2576605 Q1503116 Q21857591 Q3889761 Q7206510 Q21841013 Q2642187 Q271168 Q21857521 Q21856766 Q21857526 Q160194 Q2628190 Q2879629 Q970130 Q21852940 Q1241943 Q1132941 Q481734 Q4176307 Q7990623 Q3492639 Q159183 Q4875263 Q24302942 Q182137 Q664704 Q4977122 Q4905044 Q2879476 Q4905040 Q16211082 Q212428 Q2363133 Q21844748 Q1185210 Q548240 Q186733 Q2990274 Q21823240 Q21860001 Q2398216 Q21859976 Q504571 Q894682 Q2879584 Q5599921 Q21885510 Q1978769 Q1600098 Q6072425 Q40129 Q27068062 Q27068068 Q379063 Q589528 Q1267413 Q584588 Q312433 Q939905 Q1544076 Q3354931 Q218377 Q35367 Q5642127 Q19270 Q3241044 Q19960443 Q14875364 Q6430597 Q1808731 Q2056788 Q959127 Q4843119 Q2619452 Q426453 Q1974485 Q2333061 Q738808 Q2532834 Q2636405 Q18395243 Q915250 Q1991455 Q117157 Q2506495 Q5281866 Q213367 Q4966924 Q650654 Q4874197 Q4874198 Q2621029 Q1474634 Q1359524 Q838737 Q838734 Q1241171 Q1048789 Q810532 Q15278374 Q49557 Q2887467 Q2350307 Q1502095 Q11859035 Q3215030 Q47530 Q21857829 Q7205810 Q4973275 Q2037402 Q4334869 Q4443093 Q1631968 Q547557 Q1310944 Q716044 Q7413309 Q2081187 Q912692 Q284841 Q1893304 Q648954 Q2122604 Q5301569 Q1294277 Q3373915 Q1546836 Q1756937 Q1415688 Q2621939 Q700309 Q2438729 Q7167679 Q1062456 Q18164761 Q21860011 Q266636 Q667456 Q2414202 Q7375342 Q810805 Q2879598 Q999055 Q25473 Q2879691 Q7619197 Q8023100 Q2148190 Q1649939 Q925649 Q4904096 Q132868 Q202868 Q908701 Q37040 Q6845312 Q367304 Q74269 Q21855512 Q2033236 Q138708 Q3059075 Q2334445 Q845217
(c(Q355304),P403,c(Q15324))
action less
action find_reverse_tuple_counts
relation P403
type Q15324
type Q355304
action count
action filter_type
action find_reverse
entity Q1782677
relation P403
type Q355304
[ANSWERS] lesser number of watercourses drain into than Pegasus Bay
[{'concept': 'Q355304'}, 'P403', {'concept': 'Q15324'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?h ) AS ?y ) WHERE { ?h property:P403 ?x . ?x rdf:type ontology:Q15324 . ?h rdf:type ontology:Q355304 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { ?i property:P403 resource:Q1782677 . ?i rdf:type ontology:Q355304 } } . FILTER ( ?y < ?f ) }
Indian River Bay Otago Harbour Narva Bay Ejnar Glacier Aspy Bay Mobile Bay Shark Bay Saronic Gulf Gael Hamkes Bay Baie Norvégienne Jøkelbugten Gulf of Khambhat Tuggerah Lake Gerard de Geer Glacier Molochnyi Liman Macquarie Harbour Casco Bay Bohai Sea Borgjøkelen Glacier Little Traverse Bay Pechora Sea Famagusta Bay Chandler Bay Discovery Passage Killala Bay Tallinn Bay Dorchester Bay Godthåb Golf Estero Bay Bream Bay Annapolis Basin Bay of Saint Louis West Bay Hochstetterbugten Ortigueira estuary Lake Pontchartrain Wandel Sea Limmen Bight Hauraki Gulf Taymyr Gulf River Don Navigation Kofoed-Hansen Glacier Princess Charlotte Bay Haifa Bay Bällstaviken Chichester Harbour Ansons Bay Hisinger Glacier Bismarck Sea Wallis Lake Mikawa Bay Firth of Forth Sasyk Lagoon Phaleron Bay Bohol Sea Kola Bay Wellington Bay Carlingford Lough Kachemak Bay Doubtful Sound Petre Bay Belfast Lough Korea Bay Port Musgrave Bay of Quinte Avacha Bay Upper New York Bay Sea of Sardinia Newark Bay Venetian Lagoon Great South Bay Oyster Harbour Sælsø Glacier Suisun Bay Bay of Greifswald Storstrømmen Glacier Strymonian Gulf Batchawana Bay Baie de Douarnenez Sivash Olenyok Gulf Kumano Sea Whangape Harbour Whangapoua Harbour Irwin Inlet Cobequid Bay Green Bay Boston Harbor Albemarle Sound Loch Linnhe Yendegaia Bay Nordenskiold Glacier Rudnaya Wahlenberg Glacier Salluit Fjord Macajalar Bay Galveston Bay Marajó Bay Ross Sea Bodega Bay Lumbovsky Gulf Gulf of Corcovado Aotea Harbour Lake St. Lucia Malian Gulf Bandon Bay Apalachee Bay Budolfi Isstrøm Glacier Hyland Bay Eielson Eielsongletsjer Cardigan Bay Curonian Lagoon Huon Gulf Stockholms ström Darwin Harbour Hangzhou Bay Storm Bay Vibeke Glacier Carmarthen Bay Bråviken Gulf of Nicoya Galway Bay San Carlos Bay Skjálfandi Kvichak Bay Grand Traverse Bay Port Stephens Bay of Puck Severn Estuary Padstow Bay Vanhankaupunginselkä Svinnegarnsviken Kandalaksha Gulf Hadley Bay Oldfield Estuary Serangoon Harbour Jætte Glacier Leschenault Estuary Meldorf Bay Estuary of Bilbao Spærre Glacier Gulf of Çandarlı Willapa Bay Geographe Bay L. Bistrup Glacier Middle Harbour Pocomoke Sound Foster Bugt Bombetoka Bay Bay of Aarhus Soraner Glacier Ejnar Mikkelsen Glacier Dove Bay Sulu Sea Pyasino Gulf Corral Bay Argentine Sea Violin Glacier Narragansett Bay Corio Bay Amur Bay Saltsjön Whangarei Harbour Amatique Bay Philippine Sea Baía de São José Olhavanlahti Lake Maracaibo Chignecto Bay Bruce Bay Big Bay de Noc Missisquoi Bay Big Bay, Southland Nevill Bay Gulf of Tonkin Yana Bay Waltershausen Glacier Pagasetic Gulf Dvina Bay Great Australian Bight Anadyrsky Liman Bjørnbo Glacier Hastings Glacier Te Waewae Bay Trefork Glacier Jade Bight Botany Bay Ugashik Bay Great Sandy Strait Shark Bay Sukhyi Liman Matagorda Bay Iron Cove Marina Bay anse du Gouvernement Bay of Figari Thracian Sea Ussuri Bay Georgian Bay Monterey Bay Schlei Khatanga Gulf Grays Harbor Hammarby sjö Dollart Sea of Marmara Halifax Bay Celebes Sea Novigradsko more Boggy Bayou Nottawasaga Bay Koolama Bay Mundaú Lagoon Paterson Inlet Massachusetts Bay Bahía del Carnero Tyligul Estuary Scoresby Sund Dniester Liman Plymouth Sound Delaware Bay Olga Bay Pärnu Bay Wohoa Bay Chaunskaya Bay Baydaratskaya Bay Gulf of Cádiz Charlotte Harbor Discovery Bay Gdańsk Bay Bridgwater Bay Archipelago Sea Bay of Concepción Bay of Gods Mercy Dnieper Estuary Messenian Gulf Bay of Bangkok Mercury Bay Kāwhia Harbour Donegal Bay Dusky Sound Arcachon Bay Sogod Bay Ariake Sea Bedford Basin Port Hacking Wellington Harbour Eurajoensalmi Lake Macquarie Bight of Benin Ebbe Glacier Plymouth Harbor Broke Inlet Samaná Bay Onemen Bay Storm Bay Howe Sound Zapadnaya Litsa Baía de Todos os Santos Aniva Bay San Antonio Bay Pechenga Bay Palliser Bay Ambracian Gulf Reloncaví Estuary Spencer Gulf Queen Maud Gulf Douglas Harbour Lower New York Bay Peconic Bay Húnaflói Sydney Cove Mezen Bay Whangaroa Harbour Bay of Lübeck Toetoes Bay Perdido Bay Chantrey Inlet Emu Bay Britannia Gletscher South Euboean Gulf Oslofjord Luga Bay Rozelle Bay Bathurst Inlet Bellingham Bay San Pablo Bay Queen Charlotte Sound Passamaquoddy Bay Stonehaven Bay Wilson Inlet Rhode Island Sound Bothnian Sea Broken Bay Bideford Bay Greenland Sea Edsviken Onega Bay Baffin Bay Miho Bay Gulf of Patience Hamoaze Jupiter Glacier Pamlico Sound Gulf of Martaban Thames Estuary Bay of San Miguel Foxe Basin
Gdańsk Bay, Severn Estuary and Dollart lesser number of watercourses drain into than Pegasus Bay
Gdańsk Bay Severn Estuary Dollart
action less
action find_reverse_tuple_counts
relation mouth of the watercourse
type body of water
type watercourse
action count
action filter_type
action find_reverse
entity Pegasus Bay
relation mouth of the watercourse
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', {'concept': 'body of water'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?h ) AS ?y ) WHERE { ?h property:mouth_of_the_watercourse ?x . ?x rdf:type ontology:body_of_water . ?h rdf:type ontology:watercourse } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { ?i property:mouth_of_the_watercourse resource:Pegasus_Bay . ?i rdf:type ontology:watercourse } } . FILTER ( ?y < ?f ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q42820
P403
Q15324 Q355304
USER
And also tell me about Ligurian Sea?
(c(Q355304),P403,c(Q15324))
action less
action find_reverse_tuple_counts
relation P403
type Q15324
type Q355304
action count
action filter_type
action find_reverse
entity Q42820
relation P403
type Q355304
[{'concept': 'Q355304'}, 'P403', {'concept': 'Q15324'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?b ) WHERE { ?h property:P403 ?r . ?r rdf:type ontology:Q15324 . ?h rdf:type ontology:Q355304 } GROUP BY ?r } . FILTER ( ?b < ?c ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { ?w property:P403 resource:Q42820 . ?w rdf:type ontology:Q355304 } } }
Ligurian Sea
action less
action find_reverse_tuple_counts
relation mouth of the watercourse
type body of water
type watercourse
action count
action filter_type
action find_reverse
entity Ligurian Sea
relation mouth of the watercourse
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', {'concept': 'body of water'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?b ) WHERE { ?h property:mouth_of_the_watercourse ?r . ?r rdf:type ontology:body_of_water . ?h rdf:type ontology:watercourse } GROUP BY ?r } . FILTER ( ?b < ?c ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { ?w property:mouth_of_the_watercourse resource:Ligurian_Sea . ?w rdf:type ontology:watercourse } } }
[]
body of water watercourse
Q213367 Q35827 Q12068771
SYSTEM
Gdańsk Bay, Río de la Plata, Severn Estuary
Q6021455 Q2036651 Q41430 Q393854 Q21857993 Q19876321 Q1544796 Q217487 Q211779 Q5516517 Q2879490 Q6321425 Q654010 Q3215249 Q1866414 Q21844766 Q2560795 Q5578622 Q1882990 Q5048261 Q181969 Q21859586 Q6652328 Q1782677 Q876470 Q217501 Q2914958 Q15209014 Q1228583 Q2090594 Q944964 Q11875916 Q12058281 Q1243766 Q21855790 Q5401013 Q4959719 Q4767961 Q4874232 Q16903085 Q5875448 Q2837927 Q1331750 Q259929 Q35827 Q1635853 Q6549598 Q767824 Q2117497 Q7337350 Q21872194 Q2660138 Q63767 Q10438494 Q5096001 Q21922838 Q21852063 Q199436 Q7963133 Q1154346 Q673264 Q202083 Q2166147 Q7180290 Q159252 Q242326 Q224101 Q161591 Q192738 Q7981333 Q2369538 Q1480814 Q575365 Q2879686 Q2879685 Q2360948 Q52059 Q7230817 Q35000 Q2879708 Q795608 Q1314643 Q213517 Q1137163 Q1064776 Q645271 Q132811 Q2617172 Q76925 Q44725 Q1544353 Q3359189 Q21872065 Q644154 Q647879 Q128880 Q21862899 Q1468759 Q1059534 Q131274 Q810737 Q2879639 Q1130771 Q2996832 Q11568930 Q7231877 Q7990619 Q7990618 Q6075063 Q5138869 Q947086 Q894564 Q1441345 Q766872 Q5716492 Q7050615 Q4399477 Q21852389 Q19960979 Q14395416 Q47632 Q2560406 Q18010884 Q164466 Q2088977 Q14935920 Q2652752 Q2328243 Q616220 Q174731 Q1682481 Q549658 Q1974744 Q13234218 Q596362 Q1215321 Q21857803 Q21890286 Q21809333 Q747189 Q5596 Q642943 Q3354785 Q209682 Q3032 Q700024 Q5605 Q21880702 Q21855781 Q1043510 Q995658 Q1509253 Q1127599 Q231312 Q697092 Q7413511 Q679298 Q6449726 Q5595169 Q479030 Q2119446 Q12068771 Q21803268 Q844003 Q3115516 Q10686340 Q1137498 Q5637955 Q7085600 Q1362310 Q7452698 Q21850122 Q1134573 Q6530294 Q1419628 Q20613 Q2731872 Q1201023 Q49364 Q2026815 Q21855145 Q999074 Q2576605 Q2066982 Q1165951 Q1503116 Q21857591 Q23406 Q1368308 Q3889761 Q7206510 Q21841013 Q2642187 Q271168 Q21857521 Q21856766 Q21857526 Q195413 Q160194 Q2628190 Q2879629 Q2750104 Q970130 Q21852940 Q1241943 Q844799 Q37960 Q1132941 Q481734 Q4176307 Q7990623 Q676154 Q131217 Q502233 Q3492639 Q45341 Q159183 Q1365066 Q4875263 Q24302942 Q182137 Q664704 Q4977122 Q4905044 Q2879476 Q4905040 Q16211082 Q212428 Q2363133 Q1323629 Q21844748 Q999031 Q1185210 Q548240 Q186733 Q2990274 Q122574 Q21823240 Q6940354 Q21860001 Q2398216 Q21859976 Q504571 Q894682 Q2879584 Q5599921 Q21885510 Q1978769 Q1600098 Q131418 Q6072425 Q40129 Q1059646 Q27068062 Q14686 Q27068068 Q379063 Q589528 Q1267413 Q584588 Q312433 Q939905 Q1544076 Q163434 Q3354931 Q218377 Q35367 Q913418 Q5642127 Q19270 Q1747324 Q3241044 Q19960443 Q1432730 Q14875364 Q6430597 Q1808731 Q34575 Q2056788 Q489472 Q959127 Q4843119 Q34675 Q2619452 Q426453 Q1974485 Q2333061 Q738808 Q2532834 Q2636405 Q33629 Q18395243 Q915250 Q1991455 Q117157 Q2506495 Q5281866 Q213367 Q4966924 Q1324526 Q650654 Q917872 Q27698 Q4874197 Q4874198 Q2621029 Q1474634 Q41573 Q1359524 Q838737 Q838734 Q1241171 Q148621 Q934883 Q1048789 Q999162 Q810532 Q15278374 Q49557 Q2887467 Q15262475 Q2350307 Q1502095 Q2304586 Q11859035 Q3215030 Q47530 Q21857829 Q7205810 Q4973275 Q867460 Q2037402 Q4334869 Q4443093 Q140290 Q1631968 Q81499 Q547557 Q1512616 Q1310944 Q716044 Q7413309 Q2081187 Q912692 Q284841 Q7988 Q1893304 Q648954 Q1360927 Q2122604 Q5301569 Q1294277 Q3373915 Q1546836 Q1756937 Q1415688 Q1726244 Q1144680 Q1254743 Q2621939 Q700309 Q2438729 Q7167679 Q1947589 Q1062456 Q18164761 Q21860011 Q181857 Q266636 Q667456 Q2414202 Q7375342 Q810805 Q2879598 Q999055 Q25473 Q2879691 Q7619197 Q8023100 Q1129590 Q2148190 Q1649939 Q8026651 Q925649 Q4904096 Q132868 Q202868 Q908701 Q188203 Q2211837 Q23883 Q37040 Q141017 Q6845312 Q367304 Q74269 Q21855512 Q2033236 Q138708 Q3059075 Q2334445 Q845217
(c(Q355304),P403,c(Q15324))
action less
action find_reverse_tuple_counts
relation P403
type Q15324
type Q355304
action count
action filter_type
action find_reverse
entity Q42820
relation P403
type Q355304
[ANSWERS]
[{'concept': 'Q355304'}, 'P403', {'concept': 'Q15324'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?b ) WHERE { ?h property:P403 ?r . ?r rdf:type ontology:Q15324 . ?h rdf:type ontology:Q355304 } GROUP BY ?r } . FILTER ( ?b < ?c ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { ?w property:P403 resource:Q42820 . ?w rdf:type ontology:Q355304 } } }
Indian River Bay Otago Harbour Gulf of Guinea Narva Bay Ejnar Glacier Aspy Bay Mobile Bay Shark Bay Saronic Gulf Gael Hamkes Bay Baie Norvégienne Jøkelbugten Gulf of Khambhat Tuggerah Lake Morecambe Bay Gerard de Geer Glacier Molochnyi Liman Gold Coast Broadwater Macquarie Harbour Casco Bay Bohai Sea Borgjøkelen Glacier Little Traverse Bay Pegasus Bay Gulf of Maine Pechora Sea Famagusta Bay Chandler Bay Discovery Passage Cantabrian Sea Killala Bay Liminka Bay Tallinn Bay Dorchester Bay Godthåb Golf Estero Bay Bream Bay Annapolis Basin Bay of Saint Louis West Bay Hochstetterbugten Ortigueira estuary Lake Pontchartrain Wandel Sea Río de la Plata Western Port Limmen Bight Hauraki Gulf Taymyr Gulf River Don Navigation Kofoed-Hansen Glacier Princess Charlotte Bay Haifa Bay Bällstaviken Chichester Harbour Ansons Bay Hisinger Glacier Bismarck Sea Wallis Lake Mikawa Bay Hawke Bay Firth of Forth Sasyk Lagoon Phaleron Bay Chukchi Sea Bohol Sea Guanabara Bay Kola Bay Gulf of Taranto Wellington Bay Carlingford Lough Kachemak Bay Doubtful Sound Petre Bay Pensacola Bay Belfast Lough Korea Bay Port Musgrave Sea of Azov Bay of Quinte Gulf of Honduras Lough Foyle Gironde estuary Avacha Bay Upper New York Bay Sea of Sardinia Gulf of California Newark Bay Venetian Lagoon Bering Sea Great South Bay Oyster Harbour Sælsø Glacier Suisun Bay Bay of Greifswald Arafura Sea Storstrømmen Glacier Strymonian Gulf Tampa Bay Beaufort Sea Batchawana Bay Baie de Douarnenez Sivash Olenyok Gulf Kumano Sea Portland Bay Whangape Harbour Whangapoua Harbour Irwin Inlet Cobequid Bay Green Bay Boston Harbor Albemarle Sound Loch Linnhe Yendegaia Bay Nordenskiold Glacier Rudnaya Wahlenberg Glacier Salluit Fjord Macajalar Bay Andaman Sea Galveston Bay Marajó Bay Ross Sea Bodega Bay Vasse-Wonnerup Estuary Lumbovsky Gulf Gulf of Corcovado Aotea Harbour Gulf of Riga Lake St. Lucia Malian Gulf Amundsen Gulf Bothnian Bay Bandon Bay Apalachee Bay Budolfi Isstrøm Glacier Hyland Bay Eielson Eielsongletsjer Cardigan Bay Curonian Lagoon Huon Gulf Stockholms ström Gulf of Corinth Darwin Harbour Hangzhou Bay Vistula Lagoon Storm Bay Vibeke Glacier Carmarthen Bay Bråviken Gulf of Nicoya Galway Bay Seto Inland Sea Hokianga San Carlos Bay Skjálfandi Kvichak Bay Grand Traverse Bay Port Stephens Bay of Puck Severn Estuary Padstow Bay Gulf of Gonâve Vanhankaupunginselkä Svinnegarnsviken Kandalaksha Gulf Hadley Bay Oldfield Estuary Tasman Bay Serangoon Harbour Jætte Glacier Coronation Gulf Leschenault Estuary Firth of Thames Meldorf Bay Estuary of Bilbao Suruga Bay Java Sea Gulf of Kalamita Spærre Glacier Gulf of Çandarlı Willapa Bay Peel-Harvey Estuary Ungava Bay Geographe Bay L. Bistrup Glacier Red Sea Ise Bay Middle Harbour Pocomoke Sound Foster Bugt Bombetoka Bay Bay of Aarhus Soraner Glacier Ejnar Mikkelsen Glacier Dove Bay Solway Firth Sulu Sea Pyasino Gulf Corral Bay Shannon Estuary Argentine Sea Violin Glacier Narragansett Bay Gulf of Paria Yellow Sea Corio Bay Amur Bay Saltsjön Whangarei Harbour Manila Bay Gulf of Thailand Southampton Water Amatique Bay East China Sea Philippine Sea Karamea Bight Baía de São José Olhavanlahti Lake Maracaibo Chignecto Bay Bruce Bay Big Bay de Noc Missisquoi Bay Big Bay, Southland Nevill Bay Gulf of Tonkin Yana Bay Gulf St Vincent Waltershausen Glacier Bight of Bonny Pagasetic Gulf Dvina Bay Great Australian Bight Anadyrsky Liman Gulf of Bothnia Bjørnbo Glacier Muscongus Bay Hastings Glacier Te Waewae Bay Trefork Glacier Jade Bight Botany Bay Ugashik Bay Great Sandy Strait Shark Bay Sukhyi Liman Matagorda Bay Timor Sea Iron Cove Marina Bay Chaleur Bay anse du Gouvernement Gulf of Finland Bay of Figari Thracian Sea Ussuri Bay Georgian Bay Monterey Bay Schlei Khatanga Gulf Grays Harbor East Siberian Sea Hammarby sjö Dollart Sea of Marmara Thermaic Gulf Halifax Bay Celebes Sea Tauranga Harbour Novigradsko more Boggy Bayou North Taranaki Bight Nottawasaga Bay Koolama Bay Mundaú Lagoon Aegean Sea Paterson Inlet Toyama Bay Massachusetts Bay Bahía del Carnero Persian Gulf Tyligul Estuary Scoresby Sund Dniester Liman Plymouth Sound Delaware Bay Olga Bay Pärnu Bay Kara Sea Wohoa Bay Chaunskaya Bay Baydaratskaya Bay Gulf of Cádiz Charlotte Harbor Discovery Bay Gdańsk Bay Bridgwater Bay Port Phillip Bay Archipelago Sea Bristol Bay Neva Bay Bay of Concepción Bay of Gods Mercy Dnieper Estuary Messenian Gulf Bay of Biscay Bay of Bangkok Mercury Bay Kāwhia Harbour Donegal Bay Dublin Bay Gulf of Patras Dusky Sound Osaka Bay Arcachon Bay Sogod Bay Ariake Sea Bedford Basin Nornalup Inlet Port Hacking Wellington Harbour South Taranaki Bight Eurajoensalmi Lake Macquarie Bight of Benin Ebbe Glacier Plymouth Harbor Broke Inlet Long Island Sound Samaná Bay Onemen Bay Storm Bay Bay of Plenty Howe Sound Celtic Sea Zapadnaya Litsa Golden Bay Baía de Todos os Santos Aniva Bay San Antonio Bay Pechenga Bay Palliser Bay Ambracian Gulf Laptev Sea Reloncaví Estuary Spencer Gulf Moray Firth Queen Maud Gulf Douglas Harbour Lower New York Bay Peconic Bay Húnaflói Sydney Cove Mezen Bay Rangaunu Harbour Gulf of Morbihan Gulf of Papua Whangaroa Harbour Bay of Lübeck Toetoes Bay Perdido Bay Moreton Bay Chantrey Inlet Emu Bay Britannia Gletscher Bay of Fundy South Euboean Gulf Oslofjord Luga Bay Rozelle Bay Bathurst Inlet Bellingham Bay San Pablo Bay Queen Charlotte Sound Passamaquoddy Bay Stonehaven Bay Wilson Inlet Cook Inlet Rhode Island Sound Bothnian Sea Winyah Bay Broken Bay Bideford Bay Greenland Sea Edsviken Onega Bay Bristol Channel Saginaw Bay Dead Sea Baffin Bay Tokyo Bay Miho Bay Gulf of Patience Hamoaze Jupiter Glacier Pamlico Sound Gulf of Martaban Thames Estuary Bay of San Miguel Foxe Basin
Gdańsk Bay Río de la Plata Severn Estuary
action less
action find_reverse_tuple_counts
relation mouth of the watercourse
type body of water
type watercourse
action count
action filter_type
action find_reverse
entity Ligurian Sea
relation mouth of the watercourse
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', {'concept': 'body of water'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?b ) WHERE { ?h property:mouth_of_the_watercourse ?r . ?r rdf:type ontology:body_of_water . ?h rdf:type ontology:watercourse } GROUP BY ?r } . FILTER ( ?b < ?c ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { ?w property:mouth_of_the_watercourse resource:Ligurian_Sea . ?w rdf:type ontology:watercourse } } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q213367 Q35827 Q12068771
P17
Q15617994
USER
Which administrative territories do Gdańsk Bay, Río de la Plata and Severn Estuary belong to ?
(Q213367,P17,c(Q15617994)) (Q35827,P17,c(Q15617994)) (Q12068771,P17,c(Q15617994))
action union
action filter_type
action find
entity Q213367
relation P17
type Q15617994
action filter_type
action find
entity Q35827
relation P17
type Q15617994
action filter_type
action find
entity Q12068771
relation P17
type Q15617994
['Q213367', 'P17', {'concept': 'Q15617994'}] ['Q35827', 'P17', {'concept': 'Q15617994'}] ['Q12068771', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { VALUES ( ?k ) { ( resource:Q213367 ) ( resource:Q35827 ) } . ?k property:P17 ?u }
Gdańsk Bay Río de la Plata Severn Estuary
action union
action filter_type
action find
entity Gdańsk Bay
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Río de la Plata
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Severn Estuary
relation country
type designation for an administrative territorial entity
['Gdańsk Bay', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Río de la Plata', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Severn Estuary', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { VALUES ( ?k ) { ( resource:Gdańsk_Bay ) ( resource:Río_de_la_Plata ) } . ?k property:country ?u }
[]
designation for an administrative territorial entity
Q36 Q145 Q414
SYSTEM
Poland, United Kingdom, Argentina
Q36 Q77 Q414 Q145
(Q213367,P17,c(Q15617994)) (Q35827,P17,c(Q15617994)) (Q12068771,P17,c(Q15617994))
action union
action filter_type
action find
entity Q213367
relation P17
type Q15617994
action filter_type
action find
entity Q35827
relation P17
type Q15617994
action filter_type
action find
entity Q12068771
relation P17
type Q15617994
[ANSWERS] Gdańsk Bay, Río de la Plata and Severn Estuary belong to
['Q213367', 'P17', {'concept': 'Q15617994'}] ['Q35827', 'P17', {'concept': 'Q15617994'}] ['Q12068771', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { VALUES ( ?k ) { ( resource:Q213367 ) ( resource:Q35827 ) } . ?k property:P17 ?u }
Poland Uruguay Argentina United Kingdom
Poland, United Kingdom and Argentina Gdańsk Bay, Río de la Plata and Severn Estuary belong to
Poland United Kingdom Argentina
action union
action filter_type
action find
entity Gdańsk Bay
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Río de la Plata
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Severn Estuary
relation country
type designation for an administrative territorial entity
['Gdańsk Bay', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Río de la Plata', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Severn Estuary', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { VALUES ( ?k ) { ( resource:Gdańsk_Bay ) ( resource:Río_de_la_Plata ) } . ?k property:country ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P108
Q502895
USER
Which people have United Kingdom as their employer ?
(c(Q502895),P108,Q145)
action filter_type
action find_reverse
entity Q145
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q145']
SELECT DISTINCT ?s WHERE { ?s property:P108 resource:Q145 . ?s rdf:type ontology:Q502895 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'United Kingdom']
SELECT DISTINCT ?s WHERE { ?s property:employer resource:United_Kingdom . ?s rdf:type ontology:common_name }
[]
common name
Q131733 Q2261240 Q110869
SYSTEM
Henry Cavendish, William Hume-Rothery, William Lassell
Q131733 Q2261240 Q110869
(c(Q502895),P108,Q145)
action filter_type
action find_reverse
entity Q145
relation P108
type Q502895
[ANSWERS] have United Kingdom as their employer
[{'concept': 'Q502895'}, 'P108', 'Q145']
SELECT DISTINCT ?s WHERE { ?s property:P108 resource:Q145 . ?s rdf:type ontology:Q502895 }
Henry Cavendish William Hume-Rothery William Lassell
Henry Cavendish, William Hume-Rothery and William Lassell have United Kingdom as their employer
Henry Cavendish William Hume-Rothery William Lassell
action filter_type
action find_reverse
entity United Kingdom
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'United Kingdom']
SELECT DISTINCT ?s WHERE { ?s property:employer resource:United_Kingdom . ?s rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36
P36
Q56061
USER
Which administrative territory is known as the capital of Poland ?
(Q36,P36,c(Q56061))
action filter_type
action find
entity Q36
relation P36
type Q56061
['Q36', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q36 property:P36 ?j . ?j rdf:type ontology:Q56061 }
Poland
action filter_type
action find
entity Poland
relation capital
type administrative territorial entity
['Poland', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Poland property:capital ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q270
SYSTEM
Warsaw
Q270
(Q36,P36,c(Q56061))
action filter_type
action find
entity Q36
relation P36
type Q56061
In [ANSWER] is known as the capital of Poland
['Q36', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q36 property:P36 ?j . ?j rdf:type ontology:Q56061 }
Warsaw
In Warsaw is known as the capital of Poland
Warsaw
action filter_type
action find
entity Poland
relation capital
type administrative territorial entity
['Poland', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Poland property:capital ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]