Simple Question (Direct)
Simple Question
Q6222045
P641
Q349
USER
What did John Black participate in ?
(Q6222045,P641,c(Q349))
action filter_type
action find
entity Q6222045
relation P641
type Q349
['Q6222045', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q349 . resource:Q6222045 property:P641 ?k }
John Black
action filter_type
action find
entity John Black
relation sport
type sport
['John Black', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sport . resource:John_Black property:sport ?k }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6222045,P641,c(Q349))
action filter_type
action find
entity Q6222045
relation P641
type Q349
John Black participated in [ANSWER]
['Q6222045', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q349 . resource:Q6222045 property:P641 ?k }
association football
John Black participated in association football
association football
action filter_type
action find
entity John Black
relation sport
type sport
['John Black', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sport . resource:John_Black property:sport ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6222045
P21
Q290
USER
Which sex does John Black possess ?
(Q6222045,P21,c(Q290))
action filter_type
action find
entity Q6222045
relation P21
type Q290
['Q6222045', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q290 . resource:Q6222045 property:P21 ?d }
John Black
action filter_type
action find
entity John Black
relation gender
type sex
['John Black', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sex . resource:John_Black property:gender ?d }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6222045,P21,c(Q290))
action filter_type
action find
entity Q6222045
relation P21
type Q290
John Black possesses a [ANSWER]
['Q6222045', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q290 . resource:Q6222045 property:P21 ?d }
male
John Black possesses a male
male
action filter_type
action find
entity John Black
relation gender
type sex
['John Black', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sex . resource:John_Black property:gender ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P106
Q502895
USER
Which person has career as that sex ?
(c(Q502895),P106,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q6581097']
SELECT DISTINCT ?z WHERE { ?z property:P106 resource:Q6581097 . ?z rdf:type ontology:Q502895 }
male
action filter_type
action find_reverse
entity male
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'male']
SELECT DISTINCT ?z WHERE { ?z property:occupation resource:male . ?z rdf:type ontology:common_name }
[]
common name
Q24877298
SYSTEM
Antonín Straka
Q24877298
(c(Q502895),P106,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P106
type Q502895
[ANSWER] has career as that sex
[{'concept': 'Q502895'}, 'P106', 'Q6581097']
SELECT DISTINCT ?z WHERE { ?z property:P106 resource:Q6581097 . ?z rdf:type ontology:Q502895 }
Antonín Straka
Antonín Straka has career as that sex
Antonín Straka
action filter_type
action find_reverse
entity male
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'male']
SELECT DISTINCT ?z WHERE { ?z property:occupation resource:male . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6222045
P19
Q56061
USER
Which administrative territory is the birthplace of John Black ?
(Q6222045,P19,c(Q56061))
action filter_type
action find
entity Q6222045
relation P19
type Q56061
['Q6222045', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q6222045 property:P19 ?h . ?h rdf:type ontology:Q56061 }
John Black
action filter_type
action find
entity John Black
relation place of birth
type administrative territorial entity
['John Black', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:John_Black property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1007088
SYSTEM
Helensburgh
Q1007088
(Q6222045,P19,c(Q56061))
action filter_type
action find
entity Q6222045
relation P19
type Q56061
Is [ANSWER] is the birthplace of John Black
['Q6222045', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q6222045 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Helensburgh
Is Helensburgh is the birthplace of John Black
Helensburgh
action filter_type
action find
entity John Black
relation place of birth
type administrative territorial entity
['John Black', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:John_Black property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1007088 Q145
P17
Q15617994
USER
Is Helensburgh located in United Kingdom ?
(Q1007088,P17,Q145)
action is_in
entity Q145
action find
entity Q1007088
relation P17
['Q1007088', 'P17', 'Q145']
ASK WHERE { resource:Q1007088 property:P17 resource:Q145 }
Helensburgh United Kingdom
action is_in
entity United Kingdom
action find
entity Helensburgh
relation country
['Helensburgh', 'country', 'United Kingdom']
ASK WHERE { resource:Helensburgh property:country resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1007088,P17,Q145)
action is_in
entity Q145
action find
entity Q1007088
relation P17
[ANSWER]
['Q1007088', 'P17', 'Q145']
ASK WHERE { resource:Q1007088 property:P17 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity Helensburgh
relation country
['Helensburgh', 'country', 'United Kingdom']
ASK WHERE { resource:Helensburgh property:country resource:United_Kingdom }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q11874170
P206
Q355304 Q337567 Q56061
USER
Which administrative territories are located in the neighbourhood of lesser number of watercourses or still waterss than Kätkäsuvanto ?
(c(Q56061),P206,c(Q355304)|c(Q337567))
action less
action union
action find_tuple_counts
relation P206
type Q56061
type Q355304
action find_tuple_counts
relation P206
type Q56061
type Q337567
action count
action filter_multi_types
action find
entity Q11874170
relation P206
type Q355304
type Q337567
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?d ) WHERE { { ?e property:P206 ?h . ?h rdf:type ontology:Q355304 . ?e rdf:type ontology:Q56061 } UNION { ?e property:P206 ?h . ?e rdf:type ontology:Q56061 . ?h rdf:type ontology:Q337567 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { resource:Q11874170 property:P206 ?u . { ?u rdf:type ?z . VALUES ( ?z ) { ( ontology:Q355304 ) ( ontology:Q337567 ) } } } } . FILTER ( ?d < ?i ) }
Kätkäsuvanto
action less
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
action count
action filter_multi_types
action find
entity Kätkäsuvanto
relation located next to body of water
type watercourse
type still waters
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?d ) WHERE { { ?e property:located_next_to_body_of_water ?h . ?h rdf:type ontology:watercourse . ?e rdf:type ontology:administrative_territorial_entity } UNION { ?e property:located_next_to_body_of_water ?h . ?e rdf:type ontology:administrative_territorial_entity . ?h rdf:type ontology:still_waters } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { resource:Kätkäsuvanto property:located_next_to_body_of_water ?u . { ?u rdf:type ?z . VALUES ( ?z ) { ( ontology:watercourse ) ( ontology:still_waters ) } } } } . FILTER ( ?d < ?i ) }
[]
watercourse still waters administrative territorial entity
Q2280 Q1874 Q8818
SYSTEM
Minsk, Odessa, Valencia
Q3579 Q9248 Q493544 Q957593 Q3718 Q12273 Q3818 Q4359610 Q770885 Q4083209 Q25231 Q501661 Q501744 Q1939468 Q3549178 Q1416753 Q622030 Q11974 Q548441 Q331556 Q2943426 Q17151 Q15982011 Q1636296 Q1521492 Q105342 Q38834 Q2088134 Q5350973 Q156325 Q985587 Q7673494 Q501090 Q73049 Q1113813 Q2357495 Q1650017 Q14621387 Q3929 Q328121 Q991661 Q1018010 Q47164 Q810309 Q3897 Q36433 Q2060910 Q23800 Q1020776 Q19613124 Q2921491 Q473914 Q8818 Q15981916 Q1718608 Q1335 Q208337 Q3761 Q28721 Q484799 Q14328 Q9911 Q997407 Q2467 Q3561 Q6465685 Q3021755 Q41295 Q131233 Q2482545 Q5465 Q20730670 Q12246 Q4975194 Q207998 Q3792 Q52437 Q2983392 Q463937 Q212096 Q986079 Q2280 Q49149 Q8851 Q10509 Q334 Q12994 Q5476889 Q282461 Q1454043 Q515229 Q35178 Q656709 Q2719861 Q4119405 Q846188 Q1748 Q210093 Q2677934 Q991274 Q3299785 Q849441 Q15068816 Q3947670 Q966534 Q969531 Q851034 Q3595479 Q14875773 Q3398922 Q614919 Q1000107 Q1442470 Q21060 Q5330523 Q14056 Q2021057 Q831527 Q200036 Q651997 Q517053 Q847085 Q105037 Q214843 Q39178 Q40921 Q2225013 Q119446 Q941967 Q2684898 Q14947347 Q301415 Q49414 Q9310 Q1052027 Q736906 Q1874 Q837211 Q586112 Q239496 Q791602 Q959 Q3932309 Q8745 Q38807 Q2745332 Q213707 Q1770 Q41699 Q491999 Q19613821 Q425786 Q6751200 Q938379 Q2191422 Q18419 Q3688 Q3306 Q647543 Q2893117 Q3780 Q7314172 Q840867 Q1732099 Q133123 Q986387 Q3825 Q19613231 Q865021 Q2590944 Q2238911 Q1330853 Q5379235 Q3733 Q1189066 Q25230 Q7230655 Q810092 Q492744 Q3854 Q4072448 Q10400 Q5926907 Q16953999 Q311809 Q15682 Q5493749 Q632489 Q2157144 Q724394 Q4347874 Q9347 Q2785515 Q2292517 Q13640603 Q2449 Q1624013 Q17483998 Q36526 Q3901 Q466046 Q2727978 Q2666506 Q1419813 Q62 Q3882 Q3889 Q1616324 Q216939 Q5813 Q767357 Q1160017 Q2928585 Q49550 Q37806 Q770518 Q79716 Q930204 Q2713838 Q10313 Q2423894 Q187251 Q9939 Q8050719 Q368275 Q2413248 Q34692 Q913649 Q8757 Q1764 Q3940 Q2236639 Q2729387 Q602314 Q176749 Q14452 Q8826 Q3820 Q36260 Q36262 Q123076 Q569080 Q18386455 Q3932 Q719379 Q54898 Q1572113 Q683125 Q230406 Q1867127 Q502398 Q2978763 Q222702 Q36600 Q3114 Q773919 Q743521 Q1807728 Q11901258 Q2084446 Q446232 Q41547 Q7823825 Q1552720 Q505601 Q14205508 Q670057 Q991400 Q1758944
(c(Q56061),P206,c(Q355304)|c(Q337567))
action less
action union
action find_tuple_counts
relation P206
type Q56061
type Q355304
action find_tuple_counts
relation P206
type Q56061
type Q337567
action count
action filter_multi_types
action find
entity Q11874170
relation P206
type Q355304
type Q337567
[ANSWERS] are located in the neighbourhood of lesser number of watercourses or still waterss than Kätkäsuvanto
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?d ) WHERE { { ?e property:P206 ?h . ?h rdf:type ontology:Q355304 . ?e rdf:type ontology:Q56061 } UNION { ?e property:P206 ?h . ?e rdf:type ontology:Q56061 . ?h rdf:type ontology:Q337567 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { resource:Q11874170 property:P206 ?u . { ?u rdf:type ?z . VALUES ( ?z ) { ( ontology:Q355304 ) ( ontology:Q337567 ) } } } } . FILTER ( ?d < ?i ) }
Tripoli Baku Makkum Den Oever Dakar Gijón Malabo El Pescadero Bergen aan Zee Seymour Arm Svalbard Schleswig Alert Paravur Onari Sitra Palos de la Frontera Las Palmas de Gran Canaria Portugalete Bosaso Cayo Santa María Thessaloniki El Teso Hulhumalé Ghazaouet Bolshoy Kamen Nuku'alofa San José del Cabo El Centenario Juan Fernández Islands Lee-on-the-Solent Taboiaki Castro Urdiales Hindeloopen Come By Chance, Newfoundland and Labrador Paesens Sidi Abdelaziz Anna Port Louis Greater Tokyo Area Callantsoog Sidi Barrani Santa Monica Oberwurmbach Luanda Porto Fuvahmulah Valletta Cabo San Lucas Alekseyevka Katwijk aan Zee Ibiza Town Valencia El Sargento Speising Montevideo Koltur Accra Beeston Regis Marbella Santa Cruz de Tenerife Den Helder Bubaque Nassau Algiers La Ventana Dellys Basseterre South Tarawa Tortuguero Cape Town Glen Cove Huelva Brookville, Nova Scotia Fethiye Lomé Murano Colliers Saint Thomas Kastelorizo Castro Marim Municipality Minsk Nantucket Málaga Elche Singapore Bruges Fox River, Nova Scotia IJmuiden Paesens-Moddergat Ngerulmud Kuwait City Nukunonu Oost-Vlieland Nabih Saleh Wervershoof Copenhagen Motril Puttershoek Kalamos Halat Nuaim Saint John Norris Arm San Mauro Mare Elleholm Monster San Leandro Andrott Spencer's Island Y Felinheli Atokos Kijkduin Santoña Ouddorp Eastern Tickle Jan Mayen Hindersön Djurgården Volos Alcobaça, Portugal De Koog Heinenoord Callao Tipaza Port of Spain Honiara Thénia De Cocksdorp Peniche Ter Heijde Beetz Marken Ramsberg am Brombachsee Dili Cayo Largo del Sur Almonte Odessa Scheveningen Amini Sheringham Awala-Yalimapo Vladivostok Nieuw-Haamstede Vigo Suva Villa Las Estrellas Grímsey Tallinn Castries Andijk Bichura 's-Gravenzande Manoka Samarai Vingt Cinq Brooklyn Nouakchott Panama City Arrecife Beit Ummar Freetown Reposaari Rudnaya Pristan Twillingate Patras Cárdenas Libreville Antonovka Birchington-on-Sea Reimerswaal Kumta Vilsandi Ennore Conakry Point Cires Guernsey Port Greville Unterwurmbach Mijas Bujumbura Aurovka Almería Hubbards, Nova Scotia Daloloia Group Sidi Daoud Cádiz Fraserville, Nova Scotia Niulakita Almere Haven Poros Emäsalo Malé West-Terschelling Skikda Banevurovo Mogadishu Yampupata Ettling Port Moresby Moroni Salé Karwar Panaeati Island Roatán San Francisco Manama Maputo Egmond aan Zee Essaouira Canary Islands Caravela Perim Burnt Islands, Newfoundland and Labrador Maó-Mahón Port Vila Boumerdès Whittier Wells-next-the-Sea Vaghena Island Donostia/San Sebastián Funafala Vestmannaeyjar Huizen Ydrefors Spetses Cayo Romano Kingston Wijk aan Zee A Coruña Reykjavík Victoria Oosterdijk, Enkhuizen Huisduinen Ruo Villingili Easter Island Palma Beirut Apia St. John's Palmyra Atoll Koipsi Canoe Island São Tomé Sachs Harbour San Cristóbal de La Laguna Útila Ustronie Morskie Zurich, Friesland Lobsing Oranje, Drenthe Clearwater Beach Tarifa The Hague Canberra Aunu'u Scarborough Samhah Vihiluoto Arzew Petten St. George's Too Good Arm Guanaja Wassenaar Barra de Potosí Birgitz Puerto Barrios Rottumeroog
Minsk, Odessa and Valencia are located in the neighbourhood of lesser number of watercourses or still waterss than Kätkäsuvanto
Minsk Odessa Valencia
action less
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
action count
action filter_multi_types
action find
entity Kätkäsuvanto
relation located next to body of water
type watercourse
type still waters
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?d ) WHERE { { ?e property:located_next_to_body_of_water ?h . ?h rdf:type ontology:watercourse . ?e rdf:type ontology:administrative_territorial_entity } UNION { ?e property:located_next_to_body_of_water ?h . ?e rdf:type ontology:administrative_territorial_entity . ?h rdf:type ontology:still_waters } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { resource:Kätkäsuvanto property:located_next_to_body_of_water ?u . { ?u rdf:type ?z . VALUES ( ?z ) { ( ontology:watercourse ) ( ontology:still_waters ) } } } } . FILTER ( ?d < ?i ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q621483
P206
Q355304 Q337567 Q56061
USER
And what about Villmar?
(c(Q56061),P206,c(Q355304)|c(Q337567))
action less
action union
action find_tuple_counts
relation P206
type Q56061
type Q355304
action find_tuple_counts
relation P206
type Q56061
type Q337567
action count
action filter_multi_types
action find
entity Q621483
relation P206
type Q355304
type Q337567
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) ?a WHERE { VALUES ( ?k ) { ( ontology:Q355304 ) ( ontology:Q337567 ) } . ?z rdf:type ?k } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { resource:Q621483 property:P206 ?o . { ?o rdf:type ?e . VALUES ( ?e ) { ( ontology:Q355304 ) ( ontology:Q337567 ) } } } } . FILTER ( ?y < ?j ) }
Villmar
action less
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
action count
action filter_multi_types
action find
entity Villmar
relation located next to body of water
type watercourse
type still waters
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) ?a WHERE { VALUES ( ?k ) { ( ontology:watercourse ) ( ontology:still_waters ) } . ?z rdf:type ?k } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { resource:Villmar property:located_next_to_body_of_water ?o . { ?o rdf:type ?e . VALUES ( ?e ) { ( ontology:watercourse ) ( ontology:still_waters ) } } } } . FILTER ( ?y < ?j ) }
[]
watercourse still waters administrative territorial entity
Q2280 Q1874 Q8818
SYSTEM
Minsk, Odessa, Valencia
Q3579 Q9248 Q493544 Q957593 Q3718 Q12273 Q3818 Q4359610 Q770885 Q4083209 Q25231 Q501661 Q501744 Q1939468 Q3549178 Q1416753 Q622030 Q11974 Q548441 Q331556 Q2943426 Q17151 Q15982011 Q1636296 Q1521492 Q105342 Q38834 Q2088134 Q5350973 Q156325 Q985587 Q7673494 Q501090 Q73049 Q1113813 Q2357495 Q1650017 Q14621387 Q3929 Q328121 Q991661 Q1018010 Q47164 Q810309 Q3897 Q36433 Q2060910 Q23800 Q1020776 Q19613124 Q2921491 Q473914 Q8818 Q15981916 Q1718608 Q1335 Q208337 Q3761 Q28721 Q484799 Q14328 Q9911 Q997407 Q2467 Q3561 Q6465685 Q3021755 Q41295 Q131233 Q2482545 Q5465 Q20730670 Q12246 Q4975194 Q207998 Q3792 Q52437 Q2983392 Q463937 Q212096 Q986079 Q2280 Q49149 Q8851 Q10509 Q334 Q12994 Q5476889 Q282461 Q1454043 Q515229 Q35178 Q656709 Q2719861 Q4119405 Q846188 Q1748 Q210093 Q2677934 Q991274 Q3299785 Q849441 Q15068816 Q3947670 Q966534 Q969531 Q851034 Q3595479 Q14875773 Q3398922 Q614919 Q1000107 Q1442470 Q21060 Q5330523 Q14056 Q2021057 Q831527 Q200036 Q651997 Q517053 Q847085 Q105037 Q214843 Q39178 Q40921 Q2225013 Q119446 Q941967 Q2684898 Q14947347 Q301415 Q49414 Q9310 Q1052027 Q736906 Q1874 Q837211 Q586112 Q239496 Q791602 Q959 Q3932309 Q8745 Q38807 Q2745332 Q213707 Q1770 Q41699 Q491999 Q19613821 Q425786 Q6751200 Q938379 Q2191422 Q18419 Q3688 Q3306 Q647543 Q2893117 Q3780 Q7314172 Q840867 Q1732099 Q133123 Q986387 Q3825 Q19613231 Q865021 Q2590944 Q2238911 Q1330853 Q5379235 Q3733 Q1189066 Q25230 Q7230655 Q810092 Q492744 Q3854 Q4072448 Q10400 Q5926907 Q16953999 Q311809 Q15682 Q5493749 Q632489 Q2157144 Q724394 Q4347874 Q9347 Q2785515 Q2292517 Q13640603 Q2449 Q1624013 Q17483998 Q36526 Q3901 Q466046 Q2727978 Q2666506 Q1419813 Q62 Q3882 Q3889 Q1616324 Q216939 Q5813 Q767357 Q1160017 Q2928585 Q49550 Q37806 Q770518 Q79716 Q930204 Q2713838 Q10313 Q2423894 Q187251 Q9939 Q8050719 Q368275 Q2413248 Q34692 Q913649 Q8757 Q1764 Q3940 Q2236639 Q2729387 Q602314 Q176749 Q14452 Q8826 Q3820 Q36260 Q36262 Q123076 Q569080 Q18386455 Q3932 Q719379 Q54898 Q1572113 Q683125 Q230406 Q1867127 Q502398 Q2978763 Q222702 Q36600 Q3114 Q773919 Q743521 Q1807728 Q11901258 Q2084446 Q446232 Q41547 Q7823825 Q1552720 Q505601 Q14205508 Q670057 Q991400 Q1758944
(c(Q56061),P206,c(Q355304)|c(Q337567))
action less
action union
action find_tuple_counts
relation P206
type Q56061
type Q355304
action find_tuple_counts
relation P206
type Q56061
type Q337567
action count
action filter_multi_types
action find
entity Q621483
relation P206
type Q355304
type Q337567
[ANSWERS]
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) ?a WHERE { VALUES ( ?k ) { ( ontology:Q355304 ) ( ontology:Q337567 ) } . ?z rdf:type ?k } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { resource:Q621483 property:P206 ?o . { ?o rdf:type ?e . VALUES ( ?e ) { ( ontology:Q355304 ) ( ontology:Q337567 ) } } } } . FILTER ( ?y < ?j ) }
Tripoli Baku Makkum Den Oever Dakar Gijón Malabo El Pescadero Bergen aan Zee Seymour Arm Svalbard Schleswig Alert Paravur Onari Sitra Palos de la Frontera Las Palmas de Gran Canaria Portugalete Bosaso Cayo Santa María Thessaloniki El Teso Hulhumalé Ghazaouet Bolshoy Kamen Nuku'alofa San José del Cabo El Centenario Juan Fernández Islands Lee-on-the-Solent Taboiaki Castro Urdiales Hindeloopen Come By Chance, Newfoundland and Labrador Paesens Sidi Abdelaziz Anna Port Louis Greater Tokyo Area Callantsoog Sidi Barrani Santa Monica Oberwurmbach Luanda Porto Fuvahmulah Valletta Cabo San Lucas Alekseyevka Katwijk aan Zee Ibiza Town Valencia El Sargento Speising Montevideo Koltur Accra Beeston Regis Marbella Santa Cruz de Tenerife Den Helder Bubaque Nassau Algiers La Ventana Dellys Basseterre South Tarawa Tortuguero Cape Town Glen Cove Huelva Brookville, Nova Scotia Fethiye Lomé Murano Colliers Saint Thomas Kastelorizo Castro Marim Municipality Minsk Nantucket Málaga Elche Singapore Bruges Fox River, Nova Scotia IJmuiden Paesens-Moddergat Ngerulmud Kuwait City Nukunonu Oost-Vlieland Nabih Saleh Wervershoof Copenhagen Motril Puttershoek Kalamos Halat Nuaim Saint John Norris Arm San Mauro Mare Elleholm Monster San Leandro Andrott Spencer's Island Y Felinheli Atokos Kijkduin Santoña Ouddorp Eastern Tickle Jan Mayen Hindersön Djurgården Volos Alcobaça, Portugal De Koog Heinenoord Callao Tipaza Port of Spain Honiara Thénia De Cocksdorp Peniche Ter Heijde Beetz Marken Ramsberg am Brombachsee Dili Cayo Largo del Sur Almonte Odessa Scheveningen Amini Sheringham Awala-Yalimapo Vladivostok Nieuw-Haamstede Vigo Suva Villa Las Estrellas Grímsey Tallinn Castries Andijk Bichura 's-Gravenzande Manoka Samarai Vingt Cinq Brooklyn Nouakchott Panama City Arrecife Beit Ummar Freetown Reposaari Rudnaya Pristan Twillingate Patras Cárdenas Libreville Antonovka Birchington-on-Sea Reimerswaal Kumta Vilsandi Ennore Conakry Point Cires Guernsey Port Greville Unterwurmbach Mijas Bujumbura Aurovka Almería Hubbards, Nova Scotia Daloloia Group Sidi Daoud Cádiz Fraserville, Nova Scotia Niulakita Almere Haven Poros Emäsalo Malé West-Terschelling Skikda Banevurovo Mogadishu Yampupata Ettling Port Moresby Moroni Salé Karwar Panaeati Island Roatán San Francisco Manama Maputo Egmond aan Zee Essaouira Canary Islands Caravela Perim Burnt Islands, Newfoundland and Labrador Maó-Mahón Port Vila Boumerdès Whittier Wells-next-the-Sea Vaghena Island Donostia/San Sebastián Funafala Vestmannaeyjar Huizen Ydrefors Spetses Cayo Romano Kingston Wijk aan Zee A Coruña Reykjavík Victoria Oosterdijk, Enkhuizen Huisduinen Ruo Villingili Easter Island Palma Beirut Apia St. John's Palmyra Atoll Koipsi Canoe Island São Tomé Sachs Harbour San Cristóbal de La Laguna Útila Ustronie Morskie Zurich, Friesland Lobsing Oranje, Drenthe Clearwater Beach Tarifa The Hague Canberra Aunu'u Scarborough Samhah Vihiluoto Arzew Petten St. George's Too Good Arm Guanaja Wassenaar Barra de Potosí Birgitz Puerto Barrios Rottumeroog
Minsk Odessa Valencia
action less
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
action count
action filter_multi_types
action find
entity Villmar
relation located next to body of water
type watercourse
type still waters
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) ?a WHERE { VALUES ( ?k ) { ( ontology:watercourse ) ( ontology:still_waters ) } . ?z rdf:type ?k } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { resource:Villmar property:located_next_to_body_of_water ?o . { ?o rdf:type ?e . VALUES ( ?e ) { ( ontology:watercourse ) ( ontology:still_waters ) } } } } . FILTER ( ?y < ?j ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q56061 Q2235308
USER
How many ship types have exactly 3 administrative territories as registry port ?
(c(Q2235308),P532,c(Q56061))
action count
action equal
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 3
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?x ) WHERE { ?j property:P532 ?u . ?j rdf:type ontology:Q2235308 . ?u rdf:type ontology:Q56061 } GROUP BY ?j } . FILTER ( ?x = 3 ) }
action count
action equal
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 3
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?x ) WHERE { ?j property:port_of_registry ?u . ?j rdf:type ontology:ship_type . ?u rdf:type ontology:administrative_territorial_entity } GROUP BY ?j } . FILTER ( ?x = 3 ) }
[]
administrative territorial entity ship type
SYSTEM
1
Q11707059
(c(Q2235308),P532,c(Q56061))
action count
action equal
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 3
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?x ) WHERE { ?j property:P532 ?u . ?j rdf:type ontology:Q2235308 . ?u rdf:type ontology:Q56061 } GROUP BY ?j } . FILTER ( ?x = 3 ) }
MS Arrow
1
action count
action equal
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 3
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?x ) WHERE { ?j property:port_of_registry ?u . ?j rdf:type ontology:ship_type . ?u rdf:type ontology:administrative_territorial_entity } GROUP BY ?j } . FILTER ( ?x = 3 ) }
[]