Simple Question (Direct)
Simple Question
Q3840140
P19
Q56061
USER
Where was Luigi Scanselli born ?
(Q3840140,P19,c(Q56061))
action filter_type
action find
entity Q3840140
relation P19
type Q56061
['Q3840140', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q3840140 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Luigi Scanselli
action filter_type
action find
entity Luigi Scanselli
relation place of birth
type administrative territorial entity
['Luigi Scanselli', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Luigi_Scanselli property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q641
SYSTEM
Venice
Q641
(Q3840140,P19,c(Q56061))
action filter_type
action find
entity Q3840140
relation P19
type Q56061
Luigi Scanselli was born in [ANSWER]
['Q3840140', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q3840140 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Venice
Luigi Scanselli was born in Venice
Venice
action filter_type
action find
entity Luigi Scanselli
relation place of birth
type administrative territorial entity
['Luigi Scanselli', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Luigi_Scanselli property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q641
P36
Q643589
USER
Which department has that administrative territory as its capital ?
(c(Q643589),P36,Q641)
action filter_type
action find_reverse
entity Q641
relation P36
type Q643589
[{'concept': 'Q643589'}, 'P36', 'Q641']
SELECT DISTINCT ?r WHERE { ?r property:P36 resource:Q641 . ?r rdf:type ontology:Q643589 }
Venice
action filter_type
action find_reverse
entity Venice
relation capital
type department
[{'concept': 'department'}, 'capital', 'Venice']
SELECT DISTINCT ?r WHERE { ?r property:capital resource:Venice . ?r rdf:type ontology:department }
[]
department
Q2825088
SYSTEM
Adriatique
Q2825088
(c(Q643589),P36,Q641)
action filter_type
action find_reverse
entity Q641
relation P36
type Q643589
[ANSWER] has that administrative territory as its capital
[{'concept': 'Q643589'}, 'P36', 'Q641']
SELECT DISTINCT ?r WHERE { ?r property:P36 resource:Q641 . ?r rdf:type ontology:Q643589 }
Adriatique
Adriatique has that administrative territory as its capital
Adriatique
action filter_type
action find_reverse
entity Venice
relation capital
type department
[{'concept': 'department'}, 'capital', 'Venice']
SELECT DISTINCT ?r WHERE { ?r property:capital resource:Venice . ?r rdf:type ontology:department }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2825088
P1376
Q56061
USER
Which administrative territory is the county seat of that department ?
(c(Q56061),P1376,Q2825088)
action filter_type
action find_reverse
entity Q2825088
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q2825088']
SELECT DISTINCT ?n WHERE { ?n property:P1376 resource:Q2825088 . ?n rdf:type ontology:Q56061 }
Adriatique
action filter_type
action find_reverse
entity Adriatique
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Adriatique']
SELECT DISTINCT ?n WHERE { ?n property:capital_of resource:Adriatique . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q641
SYSTEM
Venice
Q641
(c(Q56061),P1376,Q2825088)
action filter_type
action find_reverse
entity Q2825088
relation P1376
type Q56061
[ANSWER] is the county seat of that department
[{'concept': 'Q56061'}, 'P1376', 'Q2825088']
SELECT DISTINCT ?n WHERE { ?n property:P1376 resource:Q2825088 . ?n rdf:type ontology:Q56061 }
Venice
Venice is the county seat of that department
Venice
action filter_type
action find_reverse
entity Adriatique
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Adriatique']
SELECT DISTINCT ?n WHERE { ?n property:capital_of resource:Adriatique . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2825088
P138
Q15324
USER
Which body of water is the origin of Adriatique ?
(Q2825088,P138,c(Q15324))
action filter_type
action find
entity Q2825088
relation P138
type Q15324
['Q2825088', 'P138', {'concept': 'Q15324'}]
SELECT DISTINCT ?d WHERE { resource:Q2825088 property:P138 ?d . ?d rdf:type ontology:Q15324 }
Adriatique
action filter_type
action find
entity Adriatique
relation named after
type body of water
['Adriatique', 'named after', {'concept': 'body of water'}]
SELECT DISTINCT ?d WHERE { resource:Adriatique property:named_after ?d . ?d rdf:type ontology:body_of_water }
[]
body of water
Q13924
SYSTEM
Adriatic Sea
Q13924
(Q2825088,P138,c(Q15324))
action filter_type
action find
entity Q2825088
relation P138
type Q15324
Sea [ANSWER] is the origin of Adriatique
['Q2825088', 'P138', {'concept': 'Q15324'}]
SELECT DISTINCT ?d WHERE { resource:Q2825088 property:P138 ?d . ?d rdf:type ontology:Q15324 }
Adriatic Sea
Sea Adriatic Sea is the origin of Adriatique
Adriatic Sea
action filter_type
action find
entity Adriatique
relation named after
type body of water
['Adriatique', 'named after', {'concept': 'body of water'}]
SELECT DISTINCT ?d WHERE { resource:Adriatique property:named_after ?d . ?d rdf:type ontology:body_of_water }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q13924
P403
Q355304
USER
Which watercourses flows into that body of water ?
(c(Q355304),P403,Q13924)
action filter_type
action find_reverse
entity Q13924
relation P403
type Q355304
[{'concept': 'Q355304'}, 'P403', 'Q13924']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q355304 . ?y property:P403 resource:Q13924 }
Adriatic Sea
action filter_type
action find_reverse
entity Adriatic Sea
relation mouth of the watercourse
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Adriatic Sea']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:watercourse . ?y property:mouth_of_the_watercourse resource:Adriatic_Sea }
[]
watercourse
Q643 Q81503 Q13696
SYSTEM
Po, Vjosë, Adige
Q664362 Q970873 Q643 Q3858967 Q1244834 Q1055115 Q674636 Q591224 Q71654 Q60492 Q1242228 Q2249944 Q2589967 Q522100 Q1236208 Q3328852 Q747929 Q969496 Q116808 Q658594 Q71530 Q1255172 Q672208 Q1086646 Q584680 Q727618 Q519866 Q657147 Q1218460 Q213462 Q71686 Q788452 Q653678 Q81503 Q372490 Q202760 Q647364 Q841550 Q214551 Q3905437 Q81632 Q3983464 Q71768 Q18391188 Q71703 Q647489 Q658214 Q1464330 Q71621 Q3073093 Q736668 Q71743 Q172572 Q213975 Q14087 Q190777 Q13696 Q680667 Q1801631 Q266116
(c(Q355304),P403,Q13924)
action filter_type
action find_reverse
entity Q13924
relation P403
type Q355304
[ANSWERS] flow into that body of water
[{'concept': 'Q355304'}, 'P403', 'Q13924']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q355304 . ?y property:P403 resource:Q13924 }
Foglia Conca Po Misa Livenza Potenza Marano Krka Alento (Abruzzo) Erzen Tartaro-Canalbianco-Po di Levante Savio Ausa River Cetina Marecchia Musone Tagliamento Esino Ishëm Reno Aterno-Pescara Saline Tordino Rječina Cesano Biferno Mat Aso Tesino Piave Feltrino Dragonja Metauro Vjosë Bojana Soča Salinello Ofanto Brenta Piomba Seman Tenna Trigno Moro Foro Chienti Carapelle Trebišnjica Sangro Uniti Shkumbin Sinello Rubicon Drin Tronto Neretva Adige Fortore Lamone Vomano
Po, Vjosë and Adige flow into that body of water
Po Vjosë Adige
action filter_type
action find_reverse
entity Adriatic Sea
relation mouth of the watercourse
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Adriatic Sea']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:watercourse . ?y property:mouth_of_the_watercourse resource:Adriatic_Sea }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q2360948
P403
Q15324 Q355304
USER
How many bodies of water do more number of watercourses flow into than Belfast Lough ?
(c(Q355304),P403,c(Q15324))
action count
action greater
action find_reverse_tuple_counts
relation P403
type Q15324
type Q355304
action count
action filter_type
action find
entity Q2360948
relation P403
type Q15324
[{'concept': 'Q355304'}, 'P403', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { FILTER ( ?z > ?p ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { ?c rdf:type ontology:Q15324 . resource:Q2360948 property:P403 ?c } } . { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?z ) WHERE { ?o rdf:type ontology:Q15324 . ?n rdf:type ontology:Q355304 . ?n property:P403 ?o } GROUP BY ?o } }
Belfast Lough
action count
action greater
action find_reverse_tuple_counts
relation mouth of the watercourse
type body of water
type watercourse
action count
action filter_type
action find
entity Belfast Lough
relation mouth of the watercourse
type body of water
[{'concept': 'watercourse'}, 'mouth of the watercourse', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { FILTER ( ?z > ?p ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { ?c rdf:type ontology:body_of_water . resource:Belfast_Lough property:mouth_of_the_watercourse ?c } } . { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?z ) WHERE { ?o rdf:type ontology:body_of_water . ?n rdf:type ontology:watercourse . ?n property:mouth_of_the_watercourse ?o } GROUP BY ?o } }
[]
body of water watercourse
SYSTEM
193
Q41430 Q12630 Q3040 Q1544796 Q217487 Q3215249 Q1866414 Q5578622 Q1882990 Q5048261 Q181969 Q1782677 Q876470 Q2090594 Q11875916 Q12058281 Q5401013 Q1693 Q2837927 Q35827 Q1635853 Q63767 Q199436 Q7963133 Q673264 Q2166147 Q159252 Q224101 Q161591 Q192738 Q2879685 Q52059 Q7230817 Q35000 Q2879708 Q795608 Q1247 Q1314643 Q213517 Q1064776 Q645271 Q132811 Q44725 Q1544353 Q3359189 Q128880 Q1059534 Q131274 Q810737 Q7231877 Q7990618 Q6075063 Q947086 Q894564 Q33254 Q1441345 Q19960979 Q47632 Q2560406 Q14935920 Q174731 Q1974744 Q13234218 Q1215321 Q58705 Q747189 Q3354785 Q209682 Q3032 Q700024 Q5605 Q37495 Q1043510 Q1509253 Q1127599 Q231312 Q697092 Q5595169 Q479030 Q844003 Q1137498 Q1362310 Q7452698 Q1134573 Q6530294 Q1419628 Q2731872 Q1201023 Q42820 Q49364 Q2026815 Q41735 Q2066982 Q37660 Q1165951 Q1503116 Q23406 Q1368308 Q82931 Q195413 Q38882 Q13924 Q2750104 Q844799 Q37960 Q481734 Q4176307 Q7990623 Q676154 Q131217 Q502233 Q45341 Q159183 Q1365066 Q182137 Q4905044 Q216868 Q2879476 Q1323629 Q999031 Q223810 Q186733 Q122574 Q6940354 Q894682 Q1978769 Q131418 Q1059646 Q14686 Q379063 Q1267413 Q163434 Q35367 Q913418 Q1747324 Q1432730 Q34575 Q489472 Q34675 Q738808 Q33629 Q545 Q18395243 Q915250 Q117157 Q213367 Q1324526 Q917872 Q27698 Q1474634 Q27092 Q41573 Q1359524 Q38684 Q148621 Q934883 Q999162 Q810532 Q49557 Q15262475 Q1502095 Q2304586 Q47530 Q7205810 Q867460 Q4334869 Q4443093 Q140290 Q1631968 Q81499 Q1512616 Q912692 Q284841 Q7988 Q1360927 Q1726244 Q1144680 Q1254743 Q2621939 Q1947589 Q181857 Q667456 Q2879691 Q8023100 Q1129590 Q8026651 Q188203 Q2211837 Q23883 Q141017 Q74269 Q2033236 Q3059074
(c(Q355304),P403,c(Q15324))
action count
action greater
action find_reverse_tuple_counts
relation P403
type Q15324
type Q355304
action count
action filter_type
action find
entity Q2360948
relation P403
type Q15324
[ANSWER]
[{'concept': 'Q355304'}, 'P403', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { FILTER ( ?z > ?p ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { ?c rdf:type ontology:Q15324 . resource:Q2360948 property:P403 ?c } } . { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?z ) WHERE { ?o rdf:type ontology:Q15324 . ?n rdf:type ontology:Q355304 . ?n property:P403 ?o } GROUP BY ?o } }
Gulf of Guinea Gulf of Mexico Hudson Bay Mobile Bay Shark Bay Tuggerah Lake Morecambe Bay Gold Coast Broadwater Macquarie Harbour Casco Bay Bohai Sea Pegasus Bay Gulf of Maine Cantabrian Sea Liminka Bay Tallinn Bay Estero Bay North Sea Ortigueira estuary Río de la Plata Western Port Haifa Bay Bismarck Sea Wallis Lake Hawke Bay Sasyk Lagoon Chukchi Sea Guanabara Bay Kola Bay Gulf of Taranto Pensacola Bay Korea Bay Port Musgrave Sea of Azov Bay of Quinte Gulf of Honduras Caribbean Sea Lough Foyle Gironde estuary Upper New York Bay Sea of Sardinia Gulf of California Bering Sea Great South Bay Oyster Harbour Arafura Sea Tampa Bay Beaufort Sea Batchawana Bay Portland Bay Whangapoua Harbour Irwin Inlet Green Bay Boston Harbor Tasman Sea Albemarle Sound Salluit Fjord Andaman Sea Galveston Bay Vasse-Wonnerup Estuary Gulf of Riga Amundsen Gulf Bothnian Bay Apalachee Bay Arabian Sea Cardigan Bay Stockholms ström Gulf of Corinth Darwin Harbour Hangzhou Bay Vistula Lagoon Ionian Sea Carmarthen Bay Gulf of Nicoya Galway Bay Seto Inland Sea Hokianga Grand Traverse Bay Port Stephens Gulf of Gonâve Kandalaksha Gulf Tasman Bay Serangoon Harbour Coronation Gulf Leschenault Estuary Firth of Thames Estuary of Bilbao Suruga Bay Ligurian Sea Java Sea Gulf of Kalamita Irish Sea Peel-Harvey Estuary South China Sea Ungava Bay Geographe Bay Red Sea Ise Bay Coral Sea Solway Firth Tyrrhenian Sea Adriatic Sea Shannon Estuary Gulf of Paria Yellow Sea Amur Bay Saltsjön Whangarei Harbour Manila Bay Gulf of Thailand Southampton Water East China Sea Philippine Sea Karamea Bight Lake Maracaibo Big Bay de Noc Chesapeake Bay Missisquoi Bay Gulf St Vincent Bight of Bonny James Bay Great Australian Bight Gulf of Bothnia Muscongus Bay Botany Bay Sukhyi Liman Timor Sea Chaleur Bay Gulf of Finland Thracian Sea Georgian Bay East Siberian Sea Sea of Marmara Thermaic Gulf Tauranga Harbour North Taranaki Bight Aegean Sea Toyama Bay Persian Gulf Delaware Bay Kara Sea Baltic Sea Wohoa Bay Chaunskaya Bay Gulf of Cádiz Gdańsk Bay Port Phillip Bay Bristol Bay Neva Bay Messenian Gulf Sea of Japan Bay of Biscay Bay of Bangkok Bay of Bengal Dublin Bay Gulf of Patras Osaka Bay Arcachon Bay Ariake Sea Nornalup Inlet Wellington Harbour South Taranaki Bight Bight of Benin Plymouth Harbor Long Island Sound Onemen Bay Storm Bay Bay of Plenty Howe Sound Celtic Sea Golden Bay Palliser Bay Ambracian Gulf Laptev Sea Moray Firth Rangaunu Harbour Gulf of Morbihan Gulf of Papua Whangaroa Harbour Moreton Bay Bay of Fundy Oslofjord Passamaquoddy Bay Wilson Inlet Cook Inlet Winyah Bay Bristol Channel Saginaw Bay Dead Sea Tokyo Bay Hamoaze Pamlico Sound estuary of the St. Lawrence
193
action count
action greater
action find_reverse_tuple_counts
relation mouth of the watercourse
type body of water
type watercourse
action count
action filter_type
action find
entity Belfast Lough
relation mouth of the watercourse
type body of water
[{'concept': 'watercourse'}, 'mouth of the watercourse', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { FILTER ( ?z > ?p ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { ?c rdf:type ontology:body_of_water . resource:Belfast_Lough property:mouth_of_the_watercourse ?c } } . { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?z ) WHERE { ?o rdf:type ontology:body_of_water . ?n rdf:type ontology:watercourse . ?n property:mouth_of_the_watercourse ?o } GROUP BY ?o } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q2660138
P403
Q15324 Q355304
USER
And what about Princess Charlotte Bay?
(c(Q355304),P403,c(Q15324))
action count
action greater
action find_reverse_tuple_counts
relation P403
type Q15324
type Q355304
action count
action filter_type
action find
entity Q2660138
relation P403
type Q15324
[{'concept': 'Q355304'}, 'P403', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?g ) AS ?p ) WHERE { ?g property:P403 ?v . ?v rdf:type ontology:Q15324 . ?g rdf:type ontology:Q355304 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { resource:Q2660138 property:P403 ?a . ?a rdf:type ontology:Q15324 } } . FILTER ( ?p > ?d ) }
Princess Charlotte Bay
action count
action greater
action find_reverse_tuple_counts
relation mouth of the watercourse
type body of water
type watercourse
action count
action filter_type
action find
entity Princess Charlotte Bay
relation mouth of the watercourse
type body of water
[{'concept': 'watercourse'}, 'mouth of the watercourse', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?g ) AS ?p ) WHERE { ?g property:mouth_of_the_watercourse ?v . ?v rdf:type ontology:body_of_water . ?g rdf:type ontology:watercourse } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { resource:Princess_Charlotte_Bay property:mouth_of_the_watercourse ?a . ?a rdf:type ontology:body_of_water } } . FILTER ( ?p > ?d ) }
[]
body of water watercourse
SYSTEM
193
Q41430 Q12630 Q3040 Q1544796 Q217487 Q3215249 Q1866414 Q5578622 Q1882990 Q5048261 Q181969 Q1782677 Q876470 Q2090594 Q11875916 Q12058281 Q5401013 Q1693 Q2837927 Q35827 Q1635853 Q63767 Q199436 Q7963133 Q673264 Q2166147 Q159252 Q224101 Q161591 Q192738 Q2879685 Q52059 Q7230817 Q35000 Q2879708 Q795608 Q1247 Q1314643 Q213517 Q1064776 Q645271 Q132811 Q44725 Q1544353 Q3359189 Q128880 Q1059534 Q131274 Q810737 Q7231877 Q7990618 Q6075063 Q947086 Q894564 Q33254 Q1441345 Q19960979 Q47632 Q2560406 Q14935920 Q174731 Q1974744 Q13234218 Q1215321 Q58705 Q747189 Q3354785 Q209682 Q3032 Q700024 Q5605 Q37495 Q1043510 Q1509253 Q1127599 Q231312 Q697092 Q5595169 Q479030 Q844003 Q1137498 Q1362310 Q7452698 Q1134573 Q6530294 Q1419628 Q2731872 Q1201023 Q42820 Q49364 Q2026815 Q41735 Q2066982 Q37660 Q1165951 Q1503116 Q23406 Q1368308 Q82931 Q195413 Q38882 Q13924 Q2750104 Q844799 Q37960 Q481734 Q4176307 Q7990623 Q676154 Q131217 Q502233 Q45341 Q159183 Q1365066 Q182137 Q4905044 Q216868 Q2879476 Q1323629 Q999031 Q223810 Q186733 Q122574 Q6940354 Q894682 Q1978769 Q131418 Q1059646 Q14686 Q379063 Q1267413 Q163434 Q35367 Q913418 Q1747324 Q1432730 Q34575 Q489472 Q34675 Q738808 Q33629 Q545 Q18395243 Q915250 Q117157 Q213367 Q1324526 Q917872 Q27698 Q1474634 Q27092 Q41573 Q1359524 Q38684 Q148621 Q934883 Q999162 Q810532 Q49557 Q15262475 Q1502095 Q2304586 Q47530 Q7205810 Q867460 Q4334869 Q4443093 Q140290 Q1631968 Q81499 Q1512616 Q912692 Q284841 Q7988 Q1360927 Q1726244 Q1144680 Q1254743 Q2621939 Q1947589 Q181857 Q667456 Q2879691 Q8023100 Q1129590 Q8026651 Q188203 Q2211837 Q23883 Q141017 Q74269 Q2033236 Q3059074
(c(Q355304),P403,c(Q15324))
action count
action greater
action find_reverse_tuple_counts
relation P403
type Q15324
type Q355304
action count
action filter_type
action find
entity Q2660138
relation P403
type Q15324
[ANSWER]
[{'concept': 'Q355304'}, 'P403', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?g ) AS ?p ) WHERE { ?g property:P403 ?v . ?v rdf:type ontology:Q15324 . ?g rdf:type ontology:Q355304 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { resource:Q2660138 property:P403 ?a . ?a rdf:type ontology:Q15324 } } . FILTER ( ?p > ?d ) }
Gulf of Guinea Gulf of Mexico Hudson Bay Mobile Bay Shark Bay Tuggerah Lake Morecambe Bay Gold Coast Broadwater Macquarie Harbour Casco Bay Bohai Sea Pegasus Bay Gulf of Maine Cantabrian Sea Liminka Bay Tallinn Bay Estero Bay North Sea Ortigueira estuary Río de la Plata Western Port Haifa Bay Bismarck Sea Wallis Lake Hawke Bay Sasyk Lagoon Chukchi Sea Guanabara Bay Kola Bay Gulf of Taranto Pensacola Bay Korea Bay Port Musgrave Sea of Azov Bay of Quinte Gulf of Honduras Caribbean Sea Lough Foyle Gironde estuary Upper New York Bay Sea of Sardinia Gulf of California Bering Sea Great South Bay Oyster Harbour Arafura Sea Tampa Bay Beaufort Sea Batchawana Bay Portland Bay Whangapoua Harbour Irwin Inlet Green Bay Boston Harbor Tasman Sea Albemarle Sound Salluit Fjord Andaman Sea Galveston Bay Vasse-Wonnerup Estuary Gulf of Riga Amundsen Gulf Bothnian Bay Apalachee Bay Arabian Sea Cardigan Bay Stockholms ström Gulf of Corinth Darwin Harbour Hangzhou Bay Vistula Lagoon Ionian Sea Carmarthen Bay Gulf of Nicoya Galway Bay Seto Inland Sea Hokianga Grand Traverse Bay Port Stephens Gulf of Gonâve Kandalaksha Gulf Tasman Bay Serangoon Harbour Coronation Gulf Leschenault Estuary Firth of Thames Estuary of Bilbao Suruga Bay Ligurian Sea Java Sea Gulf of Kalamita Irish Sea Peel-Harvey Estuary South China Sea Ungava Bay Geographe Bay Red Sea Ise Bay Coral Sea Solway Firth Tyrrhenian Sea Adriatic Sea Shannon Estuary Gulf of Paria Yellow Sea Amur Bay Saltsjön Whangarei Harbour Manila Bay Gulf of Thailand Southampton Water East China Sea Philippine Sea Karamea Bight Lake Maracaibo Big Bay de Noc Chesapeake Bay Missisquoi Bay Gulf St Vincent Bight of Bonny James Bay Great Australian Bight Gulf of Bothnia Muscongus Bay Botany Bay Sukhyi Liman Timor Sea Chaleur Bay Gulf of Finland Thracian Sea Georgian Bay East Siberian Sea Sea of Marmara Thermaic Gulf Tauranga Harbour North Taranaki Bight Aegean Sea Toyama Bay Persian Gulf Delaware Bay Kara Sea Baltic Sea Wohoa Bay Chaunskaya Bay Gulf of Cádiz Gdańsk Bay Port Phillip Bay Bristol Bay Neva Bay Messenian Gulf Sea of Japan Bay of Biscay Bay of Bangkok Bay of Bengal Dublin Bay Gulf of Patras Osaka Bay Arcachon Bay Ariake Sea Nornalup Inlet Wellington Harbour South Taranaki Bight Bight of Benin Plymouth Harbor Long Island Sound Onemen Bay Storm Bay Bay of Plenty Howe Sound Celtic Sea Golden Bay Palliser Bay Ambracian Gulf Laptev Sea Moray Firth Rangaunu Harbour Gulf of Morbihan Gulf of Papua Whangaroa Harbour Moreton Bay Bay of Fundy Oslofjord Passamaquoddy Bay Wilson Inlet Cook Inlet Winyah Bay Bristol Channel Saginaw Bay Dead Sea Tokyo Bay Hamoaze Pamlico Sound estuary of the St. Lawrence
193
action count
action greater
action find_reverse_tuple_counts
relation mouth of the watercourse
type body of water
type watercourse
action count
action filter_type
action find
entity Princess Charlotte Bay
relation mouth of the watercourse
type body of water
[{'concept': 'watercourse'}, 'mouth of the watercourse', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?g ) AS ?p ) WHERE { ?g property:mouth_of_the_watercourse ?v . ?v rdf:type ontology:body_of_water . ?g rdf:type ontology:watercourse } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { resource:Princess_Charlotte_Bay property:mouth_of_the_watercourse ?a . ?a rdf:type ontology:body_of_water } } . FILTER ( ?p > ?d ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q2433474
P3173
Q355304 Q811979
USER
How many architectural structures have view to lesser number of watercourses than Tunnel View ?
(c(Q811979),P3173,c(Q355304))
action count
action less
action find_tuple_counts
relation P3173
type Q811979
type Q355304
action count
action filter_type
action find
entity Q2433474
relation P3173
type Q355304
[{'concept': 'Q811979'}, 'P3173', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?p ) WHERE { ?a property:P3173 ?m . ?m rdf:type ontology:Q355304 . ?a rdf:type ontology:Q811979 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { resource:Q2433474 property:P3173 ?d . ?d rdf:type ontology:Q355304 } } . FILTER ( ?p < ?v ) }
Tunnel View
action count
action less
action find_tuple_counts
relation offers view on
type architectural structure
type watercourse
action count
action filter_type
action find
entity Tunnel View
relation offers view on
type watercourse
[{'concept': 'architectural structure'}, 'offers view on', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?p ) WHERE { ?a property:offers_view_on ?m . ?m rdf:type ontology:watercourse . ?a rdf:type ontology:architectural_structure } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { resource:Tunnel_View property:offers_view_on ?d . ?d rdf:type ontology:watercourse } } . FILTER ( ?p < ?v ) }
[]
watercourse architectural structure
SYSTEM
8
Q3367142 Q2470303 Q3108318 Q7088437 Q27267334 Q1144172 Q7675044 Q27181543
(c(Q811979),P3173,c(Q355304))
action count
action less
action find_tuple_counts
relation P3173
type Q811979
type Q355304
action count
action filter_type
action find
entity Q2433474
relation P3173
type Q355304
[ANSWER]
[{'concept': 'Q811979'}, 'P3173', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?p ) WHERE { ?a property:P3173 ?m . ?m rdf:type ontology:Q355304 . ?a rdf:type ontology:Q811979 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { resource:Q2433474 property:P3173 ?d . ?d rdf:type ontology:Q355304 } } . FILTER ( ?p < ?v ) }
Pas de Bellecombe Echo Point Glacier Point Olmsted Point Dewey Point Dante's View Taft Point Father Crowley Vista Point
8
action count
action less
action find_tuple_counts
relation offers view on
type architectural structure
type watercourse
action count
action filter_type
action find
entity Tunnel View
relation offers view on
type watercourse
[{'concept': 'architectural structure'}, 'offers view on', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?p ) WHERE { ?a property:offers_view_on ?m . ?m rdf:type ontology:watercourse . ?a rdf:type ontology:architectural_structure } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { resource:Tunnel_View property:offers_view_on ?d . ?d rdf:type ontology:watercourse } } . FILTER ( ?p < ?v ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q26196531
P3173
Q355304 Q811979
USER
And also tell me about Washburn Point?
(c(Q811979),P3173,c(Q355304))
action count
action less
action find_tuple_counts
relation P3173
type Q811979
type Q355304
action count
action filter_type
action find
entity Q26196531
relation P3173
type Q355304
[{'concept': 'Q811979'}, 'P3173', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?s ) WHERE { ?q rdf:type ontology:Q811979 . ?m rdf:type ontology:Q355304 . ?q property:P3173 ?m } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { resource:Q26196531 property:P3173 ?o . ?o rdf:type ontology:Q355304 } } . FILTER ( ?s < ?z ) }
Washburn Point
action count
action less
action find_tuple_counts
relation offers view on
type architectural structure
type watercourse
action count
action filter_type
action find
entity Washburn Point
relation offers view on
type watercourse
[{'concept': 'architectural structure'}, 'offers view on', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?s ) WHERE { ?q rdf:type ontology:architectural_structure . ?m rdf:type ontology:watercourse . ?q property:offers_view_on ?m } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { resource:Washburn_Point property:offers_view_on ?o . ?o rdf:type ontology:watercourse } } . FILTER ( ?s < ?z ) }
[]
watercourse architectural structure
SYSTEM
9
Q3367142 Q2470303 Q3108318 Q7088437 Q27267334 Q1144172 Q7675044 Q27181543 Q2433474
(c(Q811979),P3173,c(Q355304))
action count
action less
action find_tuple_counts
relation P3173
type Q811979
type Q355304
action count
action filter_type
action find
entity Q26196531
relation P3173
type Q355304
[ANSWER]
[{'concept': 'Q811979'}, 'P3173', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?s ) WHERE { ?q rdf:type ontology:Q811979 . ?m rdf:type ontology:Q355304 . ?q property:P3173 ?m } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { resource:Q26196531 property:P3173 ?o . ?o rdf:type ontology:Q355304 } } . FILTER ( ?s < ?z ) }
Pas de Bellecombe Echo Point Glacier Point Olmsted Point Dewey Point Dante's View Taft Point Father Crowley Vista Point Tunnel View
9
action count
action less
action find_tuple_counts
relation offers view on
type architectural structure
type watercourse
action count
action filter_type
action find
entity Washburn Point
relation offers view on
type watercourse
[{'concept': 'architectural structure'}, 'offers view on', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?s ) WHERE { ?q rdf:type ontology:architectural_structure . ?m rdf:type ontology:watercourse . ?q property:offers_view_on ?m } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { resource:Washburn_Point property:offers_view_on ?o . ?o rdf:type ontology:watercourse } } . FILTER ( ?s < ?z ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q145 Q2360948
P403 P17
Q355304
USER
Which watercourses ultimately merges into Belfast Lough and are situated in United Kingdom ?
AND((c(Q355304),P403,Q2360948), (c(Q355304),P17,Q145))
action filter_type
action intersection
action find_reverse
entity Q2360948
relation P403
action find_reverse
entity Q145
relation P17
type Q355304
{'AND': [[{'concept': 'Q355304'}, 'P403', 'Q2360948'], [{'concept': 'Q355304'}, 'P17', 'Q145']]}
SELECT DISTINCT ?h WHERE { ?h property:P403 resource:Q2360948 . ?h property:P17 resource:Q145 . ?h rdf:type ontology:Q355304 }
United Kingdom Belfast Lough
action filter_type
action intersection
action find_reverse
entity Belfast Lough
relation mouth of the watercourse
action find_reverse
entity United Kingdom
relation country
type watercourse
{'AND': [[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Belfast Lough'], [{'concept': 'watercourse'}, 'country', 'United Kingdom']]}
SELECT DISTINCT ?h WHERE { ?h property:mouth_of_the_watercourse resource:Belfast_Lough . ?h property:country resource:United_Kingdom . ?h rdf:type ontology:watercourse }
[]
watercourse
Q1501247
SYSTEM
River Lagan
Q1501247
AND((c(Q355304),P403,Q2360948), (c(Q355304),P17,Q145))
action filter_type
action intersection
action find_reverse
entity Q2360948
relation P403
action find_reverse
entity Q145
relation P17
type Q355304
[ANSWER] ultimately merges into Belfast Lough and are situated in United Kingdom
{'AND': [[{'concept': 'Q355304'}, 'P403', 'Q2360948'], [{'concept': 'Q355304'}, 'P17', 'Q145']]}
SELECT DISTINCT ?h WHERE { ?h property:P403 resource:Q2360948 . ?h property:P17 resource:Q145 . ?h rdf:type ontology:Q355304 }
River Lagan
River Lagan ultimately merges into Belfast Lough and are situated in United Kingdom
River Lagan
action filter_type
action intersection
action find_reverse
entity Belfast Lough
relation mouth of the watercourse
action find_reverse
entity United Kingdom
relation country
type watercourse
{'AND': [[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Belfast Lough'], [{'concept': 'watercourse'}, 'country', 'United Kingdom']]}
SELECT DISTINCT ?h WHERE { ?h property:mouth_of_the_watercourse resource:Belfast_Lough . ?h property:country resource:United_Kingdom . ?h rdf:type ontology:watercourse }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P3173
Q355304 Q811979
USER
Which architectural structures offer view of approximately 2 watercourses ?
(c(Q811979),P3173,c(Q355304))
action approx
action find_tuple_counts
relation P3173
type Q811979
type Q355304
value 2
[{'concept': 'Q811979'}, 'P3173', {'concept': 'Q355304'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?d ) WHERE { ?e rdf:type ontology:Q811979 . ?u rdf:type ontology:Q355304 . ?e property:P3173 ?u } GROUP BY ?e } . FILTER ( ?d = 2 ) }
action approx
action find_tuple_counts
relation offers view on
type architectural structure
type watercourse
value 2
[{'concept': 'architectural structure'}, 'offers view on', {'concept': 'watercourse'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?d ) WHERE { ?e rdf:type ontology:architectural_structure . ?u rdf:type ontology:watercourse . ?e property:offers_view_on ?u } GROUP BY ?e } . FILTER ( ?d = 2 ) }
[]
watercourse architectural structure
Q26196531
SYSTEM
Washburn Point
Q26196531
(c(Q811979),P3173,c(Q355304))
action approx
action find_tuple_counts
relation P3173
type Q811979
type Q355304
value 2
[ANSWER] offer view of approximately 2 watercourses
[{'concept': 'Q811979'}, 'P3173', {'concept': 'Q355304'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?d ) WHERE { ?e rdf:type ontology:Q811979 . ?u rdf:type ontology:Q355304 . ?e property:P3173 ?u } GROUP BY ?e } . FILTER ( ?d = 2 ) }
Washburn Point
Washburn Point offer view of approximately 2 watercourses
Washburn Point
action approx
action find_tuple_counts
relation offers view on
type architectural structure
type watercourse
value 2
[{'concept': 'architectural structure'}, 'offers view on', {'concept': 'watercourse'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?d ) WHERE { ?e rdf:type ontology:architectural_structure . ?u rdf:type ontology:watercourse . ?e property:offers_view_on ?u } GROUP BY ?e } . FILTER ( ?d = 2 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q220
P206
Q1267889 Q15324 Q56061
USER
Which administrative territories are situated in the neighbourhood of greater number of waterways and bodies of water than Rome ?
(c(Q56061),P206,c(Q1267889)|c(Q15324))
action greater
action union
action find_tuple_counts
relation P206
type Q56061
type Q1267889
action find_tuple_counts
relation P206
type Q56061
type Q15324
action count
action filter_multi_types
action find
entity Q220
relation P206
type Q1267889
type Q15324
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?x ) AS ?r ) WHERE { { ?s property:P206 ?x . ?s rdf:type ontology:Q56061 . ?x rdf:type ontology:Q1267889 } UNION { ?s property:P206 ?x . ?s rdf:type ontology:Q56061 . ?x rdf:type ontology:Q15324 } } GROUP BY ?s } . FILTER ( ?r > ?g ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { resource:Q220 property:P206 ?z . { { ?z rdf:type ontology:Q1267889 } UNION { ?z rdf:type ontology:Q15324 } } } } }
Rome
action greater
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type body of water
action count
action filter_multi_types
action find
entity Rome
relation located next to body of water
type waterway
type body of water
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?x ) AS ?r ) WHERE { { ?s property:located_next_to_body_of_water ?x . ?s rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:waterway } UNION { ?s property:located_next_to_body_of_water ?x . ?s rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:body_of_water } } GROUP BY ?s } . FILTER ( ?r > ?g ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { resource:Rome property:located_next_to_body_of_water ?z . { { ?z rdf:type ontology:waterway } UNION { ?z rdf:type ontology:body_of_water } } } } }
[]
waterway body of water administrative territorial entity
Q60 Q18419 Q9911
SYSTEM
New York City, Brooklyn, Den Helder
Q9911 Q831527 Q60 Q18419 Q3825
(c(Q56061),P206,c(Q1267889)|c(Q15324))
action greater
action union
action find_tuple_counts
relation P206
type Q56061
type Q1267889
action find_tuple_counts
relation P206
type Q56061
type Q15324
action count
action filter_multi_types
action find
entity Q220
relation P206
type Q1267889
type Q15324
[ANSWERS] are situated in the neighbourhood of greater number of waterways and bodies of water than Rome
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?x ) AS ?r ) WHERE { { ?s property:P206 ?x . ?s rdf:type ontology:Q56061 . ?x rdf:type ontology:Q1267889 } UNION { ?s property:P206 ?x . ?s rdf:type ontology:Q56061 . ?x rdf:type ontology:Q15324 } } GROUP BY ?s } . FILTER ( ?r > ?g ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { resource:Q220 property:P206 ?z . { { ?z rdf:type ontology:Q1267889 } UNION { ?z rdf:type ontology:Q15324 } } } } }
Den Helder Djurgården New York City Brooklyn Libreville
New York City, Brooklyn and Den Helder are situated in the neighbourhood of greater number of waterways and bodies of water than Rome
New York City Brooklyn Den Helder
action greater
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type body of water
action count
action filter_multi_types
action find
entity Rome
relation located next to body of water
type waterway
type body of water
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?x ) AS ?r ) WHERE { { ?s property:located_next_to_body_of_water ?x . ?s rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:waterway } UNION { ?s property:located_next_to_body_of_water ?x . ?s rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:body_of_water } } GROUP BY ?s } . FILTER ( ?r > ?g ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { resource:Rome property:located_next_to_body_of_water ?z . { { ?z rdf:type ontology:waterway } UNION { ?z rdf:type ontology:body_of_water } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q2236639
P206
Q1267889 Q15324 Q56061
USER
And what about Oosterdijk, Enkhuizen?
(c(Q56061),P206,c(Q1267889)|c(Q15324))
action greater
action union
action find_tuple_counts
relation P206
type Q56061
type Q1267889
action find_tuple_counts
relation P206
type Q56061
type Q15324
action count
action filter_multi_types
action find
entity Q2236639
relation P206
type Q1267889
type Q15324
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?g ) WHERE { { ?q rdf:type ontology:Q56061 . ?h rdf:type ontology:Q15324 . ?q property:P206 ?h } UNION { ?q property:P206 ?h . ?q rdf:type ontology:Q56061 . ?h rdf:type ontology:Q1267889 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { resource:Q2236639 property:P206 ?x . { { ?x rdf:type ontology:Q1267889 } UNION { ?x rdf:type ontology:Q15324 } } } } . FILTER ( ?g > ?l ) }
Oosterdijk, Enkhuizen
action greater
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type body of water
action count
action filter_multi_types
action find
entity Oosterdijk, Enkhuizen
relation located next to body of water
type waterway
type body of water
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?g ) WHERE { { ?q rdf:type ontology:administrative_territorial_entity . ?h rdf:type ontology:body_of_water . ?q property:located_next_to_body_of_water ?h } UNION { ?q property:located_next_to_body_of_water ?h . ?q rdf:type ontology:administrative_territorial_entity . ?h rdf:type ontology:waterway } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { resource:Oosterdijk,_Enkhuizen property:located_next_to_body_of_water ?x . { { ?x rdf:type ontology:waterway } UNION { ?x rdf:type ontology:body_of_water } } } } . FILTER ( ?g > ?l ) }
[]
waterway body of water administrative territorial entity
Q220 Q1874 Q60
SYSTEM
Rome, Odessa, New York City
Q12273 Q3818 Q770885 Q4083209 Q501661 Q501744 Q1939468 Q548441 Q331556 Q2943426 Q17151 Q15982011 Q1636296 Q105342 Q1757 Q1754 Q47048 Q985587 Q501090 Q1113813 Q34820 Q991661 Q11901685 Q2060910 Q2921491 Q15981916 Q1335 Q28721 Q9911 Q6465685 Q41295 Q2861 Q37133 Q207998 Q3792 Q52437 Q2598092 Q2983392 Q463937 Q3630 Q334 Q12994 Q282461 Q35178 Q4119405 Q1563 Q991274 Q3299785 Q9536 Q849441 Q15068816 Q10707890 Q3947670 Q2229853 Q969531 Q851034 Q3595479 Q3398922 Q614919 Q36281 Q1000107 Q1442470 Q21060 Q2021057 Q831527 Q200036 Q517053 Q60 Q39178 Q2684898 Q9310 Q1052027 Q1874 Q837211 Q239496 Q959 Q3932309 Q2745332 Q213707 Q1770 Q41699 Q425786 Q938379 Q18419 Q227064 Q2893117 Q7314172 Q840867 Q133123 Q986387 Q3825 Q865021 Q2238911 Q1330853 Q5379235 Q25230 Q10690 Q5926907 Q16953999 Q724394 Q4347874 Q36526 Q2727978 Q2666506 Q1419813 Q62 Q3882 Q3889 Q1616324 Q1160017 Q2928585 Q79716 Q930204 Q10313 Q990130 Q368275 Q79848 Q2413248 Q34692 Q913649 Q585 Q220 Q2729387 Q176749 Q100 Q11873187 Q36262 Q569080 Q18386455 Q3932 Q1025353 Q1572113 Q683125 Q2978763 Q36600 Q36168 Q743521 Q1807728 Q11901258 Q446232 Q41547 Q1552720 Q505601 Q991400 Q1758944
(c(Q56061),P206,c(Q1267889)|c(Q15324))
action greater
action union
action find_tuple_counts
relation P206
type Q56061
type Q1267889
action find_tuple_counts
relation P206
type Q56061
type Q15324
action count
action filter_multi_types
action find
entity Q2236639
relation P206
type Q1267889
type Q15324
[ANSWERS]
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?g ) WHERE { { ?q rdf:type ontology:Q56061 . ?h rdf:type ontology:Q15324 . ?q property:P206 ?h } UNION { ?q property:P206 ?h . ?q rdf:type ontology:Q56061 . ?h rdf:type ontology:Q1267889 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { resource:Q2236639 property:P206 ?x . { { ?x rdf:type ontology:Q1267889 } UNION { ?x rdf:type ontology:Q15324 } } } } . FILTER ( ?g > ?l ) }
Gijón Malabo Bergen aan Zee Seymour Arm Schleswig Alert Paravur Portugalete Bosaso Cayo Santa María Thessaloniki El Teso Hulhumalé Bolshoy Kamen Helsinki Stockholm Oulu Lee-on-the-Solent Castro Urdiales Come By Chance, Newfoundland and Labrador Santo Domingo Callantsoog Virkkula Fuvahmulah Katwijk aan Zee El Sargento Montevideo Beeston Regis Den Helder La Ventana Basseterre Rostock Mariupol Fethiye Lomé Murano Shorne Colliers Saint Thomas Jakarta Singapore Bruges IJmuiden Kuwait City Nabih Saleh Havana Kalamos Halat Nuaim Bad Doberan Saint John Norris Arm Olhava San Mauro Mare Velsen-Noord Monster San Leandro Andrott Y Felinheli Atokos Roseau Kijkduin Santoña Ouddorp Hindersön Djurgården Volos De Koog New York City Port of Spain Ter Heijde Dili Cayo Largo del Sur Odessa Scheveningen Sheringham Vladivostok Nieuw-Haamstede Villa Las Estrellas Grímsey Tallinn Castries 's-Gravenzande Samarai Brooklyn Zoutelande Beit Ummar Reposaari Rudnaya Pristan Patras Cárdenas Libreville Birchington-on-Sea Kumta Vilsandi Ennore Guernsey Cardiff Hubbards, Nova Scotia Daloloia Group Poros Emäsalo Port Moresby Karwar Panaeati Island Roatán San Francisco Manama Maputo Egmond aan Zee Perim Burnt Islands, Newfoundland and Labrador Whittier Wells-next-the-Sea Donostia/San Sebastián Hook of Holland Spetses Southampton Cayo Romano Kingston Wijk aan Zee Oslo Rome Huisduinen Villingili Boston Kuivaniemi St. John's Koipsi Canoe Island São Tomé Cadzand-Bad Útila Ustronie Morskie Clearwater Beach The Hague Bridgetown Scarborough Samhah Vihiluoto Petten St. George's Guanaja Wassenaar Puerto Barrios Rottumeroog
Rome Odessa New York City
action greater
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type body of water
action count
action filter_multi_types
action find
entity Oosterdijk, Enkhuizen
relation located next to body of water
type waterway
type body of water
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?g ) WHERE { { ?q rdf:type ontology:administrative_territorial_entity . ?h rdf:type ontology:body_of_water . ?q property:located_next_to_body_of_water ?h } UNION { ?q property:located_next_to_body_of_water ?h . ?q rdf:type ontology:administrative_territorial_entity . ?h rdf:type ontology:waterway } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { resource:Oosterdijk,_Enkhuizen property:located_next_to_body_of_water ?x . { { ?x rdf:type ontology:waterway } UNION { ?x rdf:type ontology:body_of_water } } } } . FILTER ( ?g > ?l ) }
[]