Simple Question (Direct)
Simple Question
Q7938573
P19
Q56061
USER
Which administrative territory was Vladimir Poluyakhtov born in ?
(Q7938573,P19,c(Q56061))
action filter_type
action find
entity Q7938573
relation P19
type Q56061
['Q7938573', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q7938573 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Vladimir Poluyakhtov
action filter_type
action find
entity Vladimir Poluyakhtov
relation place of birth
type administrative territorial entity
['Vladimir Poluyakhtov', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Vladimir_Poluyakhtov property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q155532
SYSTEM
Krasavino
Q155532
(Q7938573,P19,c(Q56061))
action filter_type
action find
entity Q7938573
relation P19
type Q56061
Vladimir Poluyakhtov was born in [ANSWER]
['Q7938573', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q7938573 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Krasavino
Vladimir Poluyakhtov was born in Krasavino
Krasavino
action filter_type
action find
entity Vladimir Poluyakhtov
relation place of birth
type administrative territorial entity
['Vladimir Poluyakhtov', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Vladimir_Poluyakhtov property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7938573
P641
Q349
USER
What did that person participate in ?
(Q155532,P641,c(Q349))
action filter_type
action find
entity Q7938573
relation P641
type Q349
['Q155532', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q7938573 property:P641 ?p . ?p rdf:type ontology:Q349 }
Vladimir Poluyakhtov
action filter_type
action find
entity Vladimir Poluyakhtov
relation sport
type sport
['Krasavino', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Vladimir_Poluyakhtov property:sport ?p . ?p rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q155532,P641,c(Q349))
action filter_type
action find
entity Q7938573
relation P641
type Q349
That person participated in [ANSWER]
['Q155532', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q7938573 property:P641 ?p . ?p rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity Vladimir Poluyakhtov
relation sport
type sport
['Krasavino', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Vladimir_Poluyakhtov property:sport ?p . ?p rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7938573
P106
Q12737077
USER
Which occupation is the profession of Vladimir Poluyakhtov ?
(Q7938573,P106,c(Q12737077))
action filter_type
action find
entity Q7938573
relation P106
type Q12737077
['Q7938573', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q7938573 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Vladimir Poluyakhtov
action filter_type
action find
entity Vladimir Poluyakhtov
relation occupation
type occupation
['Vladimir Poluyakhtov', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Vladimir_Poluyakhtov property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q7938573,P106,c(Q12737077))
action filter_type
action find
entity Q7938573
relation P106
type Q12737077
Player [ANSWER] is the profession of Vladimir Poluyakhtov
['Q7938573', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q7938573 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
association football player
Player association football player is the profession of Vladimir Poluyakhtov
association football player
action filter_type
action find
entity Vladimir Poluyakhtov
relation occupation
type occupation
['Vladimir Poluyakhtov', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Vladimir_Poluyakhtov property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7938573
P21
Q290
USER
Which sex does Vladimir Poluyakhtov have ?
(Q7938573,P21,c(Q290))
action filter_type
action find
entity Q7938573
relation P21
type Q290
['Q7938573', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q290 . resource:Q7938573 property:P21 ?z }
Vladimir Poluyakhtov
action filter_type
action find
entity Vladimir Poluyakhtov
relation gender
type sex
['Vladimir Poluyakhtov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sex . resource:Vladimir_Poluyakhtov property:gender ?z }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7938573,P21,c(Q290))
action filter_type
action find
entity Q7938573
relation P21
type Q290
Vladimir Poluyakhtov has a [ANSWER]
['Q7938573', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q290 . resource:Q7938573 property:P21 ?z }
male
Vladimir Poluyakhtov has a male
male
action filter_type
action find
entity Vladimir Poluyakhtov
relation gender
type sex
['Vladimir Poluyakhtov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sex . resource:Vladimir_Poluyakhtov property:gender ?z }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q3182931 Q7938573
P21
Q290
USER
Or Johnny Lee?
OR((Q7938573,P21,c(Q290)), (Q3182931,P21,c(Q290)))
action filter_type
action union
action find
entity Q7938573
relation P21
action find
entity Q3182931
relation P21
type Q290
{'OR': [['Q7938573', 'P21', {'concept': 'Q290'}], ['Q3182931', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q290 . { { resource:Q7938573 property:P21 ?q } UNION { resource:Q3182931 property:P21 ?q } } }
Johnny Lee Vladimir Poluyakhtov
action filter_type
action union
action find
entity Vladimir Poluyakhtov
relation gender
action find
entity Johnny Lee
relation gender
type sex
{'OR': [['Vladimir Poluyakhtov', 'gender', {'concept': 'sex'}], ['Johnny Lee', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sex . { { resource:Vladimir_Poluyakhtov property:gender ?q } UNION { resource:Johnny_Lee property:gender ?q } } }
[]
sex
Q6581097
SYSTEM
male
Q6581097
OR((Q7938573,P21,c(Q290)), (Q3182931,P21,c(Q290)))
action filter_type
action union
action find
entity Q7938573
relation P21
action find
entity Q3182931
relation P21
type Q290
[ANSWER]
{'OR': [['Q7938573', 'P21', {'concept': 'Q290'}], ['Q3182931', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q290 . { { resource:Q7938573 property:P21 ?q } UNION { resource:Q3182931 property:P21 ?q } } }
male
male
action filter_type
action union
action find
entity Vladimir Poluyakhtov
relation gender
action find
entity Johnny Lee
relation gender
type sex
{'OR': [['Vladimir Poluyakhtov', 'gender', {'concept': 'sex'}], ['Johnny Lee', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sex . { { resource:Vladimir_Poluyakhtov property:gender ?q } UNION { resource:Johnny_Lee property:gender ?q } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3182931
P27
Q15617994
USER
Which administrative territory is Johnny Lee an inhabitant of ?
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q3182931
relation P27
type Q15617994
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q3182931 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Johnny Lee
action filter_type
action find
entity Johnny Lee
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Johnny_Lee property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q3182931
relation P27
type Q15617994
The [ANSWER] is Johnny Lee an inhabitant of
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q3182931 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
United States of America
The United States of America is Johnny Lee an inhabitant of
United States of America
action filter_type
action find
entity Johnny Lee
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Johnny_Lee property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q8851
P206
Q15324 Q1267889 Q56061
USER
How many administrative territories are located in the neighbourhood of more number of bodies of water or waterways than Málaga ?
(c(Q56061),P206,c(Q15324)|c(Q1267889))
action count
action greater
action union
action find_tuple_counts
relation P206
type Q56061
type Q15324
action find_tuple_counts
relation P206
type Q56061
type Q1267889
action count
action filter_multi_types
action find
entity Q8851
relation P206
type Q15324
type Q1267889
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { resource:Q8851 property:P206 ?k . { VALUES ( ?m ) { ( ontology:Q15324 ) ( ontology:Q1267889 ) } . ?k rdf:type ?m } } } . FILTER ( ?s > ?q ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) ?h WHERE { ?j rdf:type ?a . VALUES ( ?a ) { ( ontology:Q15324 ) ( ontology:Q1267889 ) } } GROUP BY ?h } }
Málaga
action count
action greater
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
action count
action filter_multi_types
action find
entity Málaga
relation located next to body of water
type body of water
type waterway
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { resource:Málaga property:located_next_to_body_of_water ?k . { VALUES ( ?m ) { ( ontology:body_of_water ) ( ontology:waterway ) } . ?k rdf:type ?m } } } . FILTER ( ?s > ?q ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) ?h WHERE { ?j rdf:type ?a . VALUES ( ?a ) { ( ontology:body_of_water ) ( ontology:waterway ) } } GROUP BY ?h } }
[]
body of water waterway administrative territorial entity
SYSTEM
145
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(Q15324)|c(Q1267889))
action count
action greater
action union
action find_tuple_counts
relation P206
type Q56061
type Q15324
action find_tuple_counts
relation P206
type Q56061
type Q1267889
action count
action filter_multi_types
action find
entity Q8851
relation P206
type Q15324
type Q1267889
[ANSWER]
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { resource:Q8851 property:P206 ?k . { VALUES ( ?m ) { ( ontology:Q15324 ) ( ontology:Q1267889 ) } . ?k rdf:type ?m } } } . FILTER ( ?s > ?q ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) ?h WHERE { ?j rdf:type ?a . VALUES ( ?a ) { ( ontology:Q15324 ) ( ontology:Q1267889 ) } } GROUP BY ?h } }
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
145
action count
action greater
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
action count
action filter_multi_types
action find
entity Málaga
relation located next to body of water
type body of water
type waterway
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { resource:Málaga property:located_next_to_body_of_water ?k . { VALUES ( ?m ) { ( ontology:body_of_water ) ( ontology:waterway ) } . ?k rdf:type ?m } } } . FILTER ( ?s > ?q ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) ?h WHERE { ?j rdf:type ?a . VALUES ( ?a ) { ( ontology:body_of_water ) ( ontology:waterway ) } } GROUP BY ?h } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1964137
P206
Q15324 Q1267889 Q56061
USER
And also tell me about Namaro?
(c(Q56061),P206,c(Q15324)|c(Q1267889))
action count
action greater
action union
action find_tuple_counts
relation P206
type Q56061
type Q15324
action find_tuple_counts
relation P206
type Q56061
type Q1267889
action count
action filter_multi_types
action find
entity Q1964137
relation P206
type Q15324
type Q1267889
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { resource:Q1964137 property:P206 ?g . { ?g rdf:type ?x . VALUES ( ?x ) { ( ontology:Q15324 ) ( ontology:Q1267889 ) } } } } . FILTER ( ?b > ?s ) . { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?b ) WHERE { { ?i rdf:type ontology:Q56061 . ?r rdf:type ontology:Q15324 . ?i property:P206 ?r } UNION { ?i property:P206 ?r . ?i rdf:type ontology:Q56061 . ?r rdf:type ontology:Q1267889 } } GROUP BY ?i } }
Namaro
action count
action greater
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
action count
action filter_multi_types
action find
entity Namaro
relation located next to body of water
type body of water
type waterway
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { resource:Namaro property:located_next_to_body_of_water ?g . { ?g rdf:type ?x . VALUES ( ?x ) { ( ontology:body_of_water ) ( ontology:waterway ) } } } } . FILTER ( ?b > ?s ) . { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?b ) WHERE { { ?i rdf:type ontology:administrative_territorial_entity . ?r rdf:type ontology:body_of_water . ?i property:located_next_to_body_of_water ?r } UNION { ?i property:located_next_to_body_of_water ?r . ?i rdf:type ontology:administrative_territorial_entity . ?r rdf:type ontology:waterway } } GROUP BY ?i } }
[]
body of water waterway administrative territorial entity
SYSTEM
145
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(Q15324)|c(Q1267889))
action count
action greater
action union
action find_tuple_counts
relation P206
type Q56061
type Q15324
action find_tuple_counts
relation P206
type Q56061
type Q1267889
action count
action filter_multi_types
action find
entity Q1964137
relation P206
type Q15324
type Q1267889
[ANSWER]
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { resource:Q1964137 property:P206 ?g . { ?g rdf:type ?x . VALUES ( ?x ) { ( ontology:Q15324 ) ( ontology:Q1267889 ) } } } } . FILTER ( ?b > ?s ) . { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?b ) WHERE { { ?i rdf:type ontology:Q56061 . ?r rdf:type ontology:Q15324 . ?i property:P206 ?r } UNION { ?i property:P206 ?r . ?i rdf:type ontology:Q56061 . ?r rdf:type ontology:Q1267889 } } GROUP BY ?i } }
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
145
action count
action greater
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
action count
action filter_multi_types
action find
entity Namaro
relation located next to body of water
type body of water
type waterway
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { resource:Namaro property:located_next_to_body_of_water ?g . { ?g rdf:type ?x . VALUES ( ?x ) { ( ontology:body_of_water ) ( ontology:waterway ) } } } } . FILTER ( ?b > ?s ) . { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?b ) WHERE { { ?i rdf:type ontology:administrative_territorial_entity . ?r rdf:type ontology:body_of_water . ?i property:located_next_to_body_of_water ?r } UNION { ?i property:located_next_to_body_of_water ?r . ?i rdf:type ontology:administrative_territorial_entity . ?r rdf:type ontology:waterway } } GROUP BY ?i } }
[]