Simple Question (Direct)
Simple Question
Q17612866
P641
Q349
USER
What was the sport that Spyros Papathanasiou was a part of ?
(Q17612866,P641,c(Q349))
action filter_type
action find
entity Q17612866
relation P641
type Q349
['Q17612866', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q17612866 property:P641 ?e . ?e rdf:type ontology:Q349 }
Spyros Papathanasiou
action filter_type
action find
entity Spyros Papathanasiou
relation sport
type sport
['Spyros Papathanasiou', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Spyros_Papathanasiou property:sport ?e . ?e rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q17612866,P641,c(Q349))
action filter_type
action find
entity Q17612866
relation P641
type Q349
The sport that Spyros Papathanasiou was a part of was the [ANSWER]
['Q17612866', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q17612866 property:P641 ?e . ?e rdf:type ontology:Q349 }
association football
The sport that Spyros Papathanasiou was a part of was the association football
association football
action filter_type
action find
entity Spyros Papathanasiou
relation sport
type sport
['Spyros Papathanasiou', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Spyros_Papathanasiou property:sport ?e . ?e rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17612866
P106
Q12737077
USER
What is the profession of that person ?
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q17612866
relation P106
type Q12737077
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q17612866 property:P106 ?z }
Spyros Papathanasiou
action filter_type
action find
entity Spyros Papathanasiou
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:Spyros_Papathanasiou property:occupation ?z }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q17612866
relation P106
type Q12737077
The profession of that person is an [ANSWER]
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q17612866 property:P106 ?z }
association football player
The profession of that person is an association football player
association football player
action filter_type
action find
entity Spyros Papathanasiou
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:Spyros_Papathanasiou property:occupation ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17612866
P19
Q56061
USER
Which administrative territory is the place of birth of Spyros Papathanasiou ?
(Q17612866,P19,c(Q56061))
action filter_type
action find
entity Q17612866
relation P19
type Q56061
['Q17612866', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q17612866 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Spyros Papathanasiou
action filter_type
action find
entity Spyros Papathanasiou
relation place of birth
type administrative territorial entity
['Spyros Papathanasiou', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Spyros_Papathanasiou property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q17151
SYSTEM
Thessaloniki
Q17151
(Q17612866,P19,c(Q56061))
action filter_type
action find
entity Q17612866
relation P19
type Q56061
[ANSWER] is the place of birth of Spyros Papathanasiou
['Q17612866', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q17612866 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Thessaloniki
Thessaloniki is the place of birth of Spyros Papathanasiou
Thessaloniki
action filter_type
action find
entity Spyros Papathanasiou
relation place of birth
type administrative territorial entity
['Spyros Papathanasiou', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Spyros_Papathanasiou property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17151
P276
Q811979
USER
What are located at that administrative territory ?
(c(Q811979),P276,Q17151)
action filter_type
action find_reverse
entity Q17151
relation P276
type Q811979
[{'concept': 'Q811979'}, 'P276', 'Q17151']
SELECT DISTINCT ?k WHERE { ?k property:P276 resource:Q17151 . ?k rdf:type ontology:Q811979 }
Thessaloniki
action filter_type
action find_reverse
entity Thessaloniki
relation location
type architectural structure
[{'concept': 'architectural structure'}, 'location', 'Thessaloniki']
SELECT DISTINCT ?k WHERE { ?k property:location resource:Thessaloniki . ?k rdf:type ontology:architectural_structure }
[]
architectural structure
Q16152081 Q667472 Q1131605
SYSTEM
Agias Sofias Square, Aristotelous Square, Alexandreio Melathron
Q16152081 Q667472 Q1131605 Q16328078
(c(Q811979),P276,Q17151)
action filter_type
action find_reverse
entity Q17151
relation P276
type Q811979
[ANSWERS] are located at that administrative territory
[{'concept': 'Q811979'}, 'P276', 'Q17151']
SELECT DISTINCT ?k WHERE { ?k property:P276 resource:Q17151 . ?k rdf:type ontology:Q811979 }
Agias Sofias Square Aristotelous Square Alexandreio Melathron Ivanofio Indoor Hall
Agias Sofias Square, Aristotelous Square and Alexandreio Melathron are located at that administrative territory
Agias Sofias Square Aristotelous Square Alexandreio Melathron
action filter_type
action find_reverse
entity Thessaloniki
relation location
type architectural structure
[{'concept': 'architectural structure'}, 'location', 'Thessaloniki']
SELECT DISTINCT ?k WHERE { ?k property:location resource:Thessaloniki . ?k rdf:type ontology:architectural_structure }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17151
P937
Q502895
USER
Which people have Thessaloniki as work location ?
(c(Q502895),P937,Q17151)
action filter_type
action find_reverse
entity Q17151
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q17151']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . ?g property:P937 resource:Q17151 }
Thessaloniki
action filter_type
action find_reverse
entity Thessaloniki
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Thessaloniki']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . ?g property:work_location resource:Thessaloniki }
[]
common name
Q176522 Q1525604 Q551002
SYSTEM
Maurice Sarrail, Giorgos Kyriakakis, Vassilios Skouris
Q176522 Q1525604 Q551002
(c(Q502895),P937,Q17151)
action filter_type
action find_reverse
entity Q17151
relation P937
type Q502895
[ANSWERS] have Thessaloniki as work location
[{'concept': 'Q502895'}, 'P937', 'Q17151']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . ?g property:P937 resource:Q17151 }
Maurice Sarrail Giorgos Kyriakakis Vassilios Skouris
Maurice Sarrail, Giorgos Kyriakakis and Vassilios Skouris have Thessaloniki as work location
Maurice Sarrail Giorgos Kyriakakis Vassilios Skouris
action filter_type
action find_reverse
entity Thessaloniki
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Thessaloniki']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . ?g property:work_location resource:Thessaloniki }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17151
P206
Q15324
USER
Which body of water is located in the neighbourhood of that administrative territory ?
(Q176522,P206,c(Q15324)) (Q1525604,P206,c(Q15324)) (Q551002,P206,c(Q15324))
action filter_type
action find
entity Q17151
relation P206
type Q15324
['Q176522', 'P206', {'concept': 'Q15324'}] ['Q1525604', 'P206', {'concept': 'Q15324'}] ['Q551002', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?c WHERE { resource:Q17151 property:P206 ?c . ?c rdf:type ontology:Q15324 }
Thessaloniki
action filter_type
action find
entity Thessaloniki
relation located next to body of water
type body of water
['Maurice Sarrail', 'located next to body of water', {'concept': 'body of water'}] ['Giorgos Kyriakakis', 'located next to body of water', {'concept': 'body of water'}] ['Vassilios Skouris', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?c WHERE { resource:Thessaloniki property:located_next_to_body_of_water ?c . ?c rdf:type ontology:body_of_water }
[]
body of water
Q913418
SYSTEM
Thermaic Gulf
Q913418
(Q176522,P206,c(Q15324)) (Q1525604,P206,c(Q15324)) (Q551002,P206,c(Q15324))
action filter_type
action find
entity Q17151
relation P206
type Q15324
[ANSWER] is located in the neighbourhood of that administrative territory
['Q176522', 'P206', {'concept': 'Q15324'}] ['Q1525604', 'P206', {'concept': 'Q15324'}] ['Q551002', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?c WHERE { resource:Q17151 property:P206 ?c . ?c rdf:type ontology:Q15324 }
Thermaic Gulf
Thermaic Gulf is located in the neighbourhood of that administrative territory
Thermaic Gulf
action filter_type
action find
entity Thessaloniki
relation located next to body of water
type body of water
['Maurice Sarrail', 'located next to body of water', {'concept': 'body of water'}] ['Giorgos Kyriakakis', 'located next to body of water', {'concept': 'body of water'}] ['Vassilios Skouris', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?c WHERE { resource:Thessaloniki property:located_next_to_body_of_water ?c . ?c rdf:type ontology:body_of_water }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P361
Q1048835 Q271669 Q15324
USER
Which bodies of water are a component of lesser number of political territories or landforms than that body of water ?
(c(Q15324),P361,c(Q1048835)|c(Q271669))
action less
action union
action find_tuple_counts
relation P361
type Q15324
type Q1048835
action find_tuple_counts
relation P361
type Q15324
type Q271669
action count
action filter_multi_types
action find
entity Q913418
relation P361
type Q1048835
type Q271669
[{'concept': 'Q15324'}, 'P361', [{'concept': 'Q1048835'}, {'concept': 'Q271669'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?y ) WHERE { VALUES ( ?i ) { ( ontology:Q1048835 ) ( ontology:Q271669 ) } . ?x rdf:type ?i } GROUP BY ?u } . FILTER ( ?y < ?a ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Q913418 property:P361 ?b . { ?b rdf:type ?z . VALUES ( ?z ) { ( ontology:Q1048835 ) ( ontology:Q271669 ) } } } } }
action less
action union
action find_tuple_counts
relation part of
type body of water
type political territorial entity
action find_tuple_counts
relation part of
type body of water
type landform
action count
action filter_multi_types
action find
entity Thermaic Gulf
relation part of
type political territorial entity
type landform
[{'concept': 'body of water'}, 'part of', [{'concept': 'political territorial entity'}, {'concept': 'landform'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?y ) WHERE { VALUES ( ?i ) { ( ontology:political_territorial_entity ) ( ontology:landform ) } . ?x rdf:type ?i } GROUP BY ?u } . FILTER ( ?y < ?a ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Thermaic_Gulf property:part_of ?b . { ?b rdf:type ?z . VALUES ( ?z ) { ( ontology:political_territorial_entity ) ( ontology:landform ) } } } } }
[]
political territorial entity landform body of water
SYSTEM
375
Q217487 Q4102450 Q12630 Q2414385 Q939905 Q393854 Q2090594 Q19758852 Q1536345 Q1544796 Q41430 Q4189094 Q896179 Q10527306 Q2097617 Q11885224 Q2879490 Q683504 Q2589842 Q15711005 Q1089032 Q5716566 Q5578622 Q143460 Q5048261 Q2668841 Q931885 Q6649014 Q1432927 Q1053381 Q21951428 Q217501 Q5716551 Q21952424 Q7618524 Q944964 Q548240 Q1973404 Q931949 Q11875916 Q2648183 Q6072425 Q5401013 Q648317 Q748696 Q803725 Q619433 Q41573 Q1693 Q6730073 Q4194445 Q14875364 Q767824 Q2494757 Q2117497 Q16489367 Q200712 Q10438494 Q2091393 Q6916388 Q20791952 Q1112101 Q4314717 Q998971 Q470088 Q12156037 Q159252 Q1778024 Q161591 Q192738 Q494298 Q210305 Q58705 Q515309 Q10717794 Q35000 Q2392921 Q795608 Q1247 Q803717 Q803714 Q645271 Q76925 Q44725 Q10424681 Q2648857 Q2990544 Q131274 Q810737 Q1415688 Q1130771 Q2996832 Q7231877 Q2216091 Q204703 Q4176307 Q947086 Q7230817 Q10593171 Q10604380 Q33254 Q5716558 Q2469075 Q717765 Q4100560 Q21952373 Q7943692 Q737836 Q4056854 Q14395416 Q47632 Q18010884 Q2470190 Q765354 Q7413309 Q545 Q2652752 Q7494662 Q174731 Q549658 Q1974744 Q4185342 Q199408 Q13234218 Q2879661 Q16892103 Q1137163 Q21885509 Q596362 Q1215321 Q21906963 Q3608991 Q1474799 Q1141758 Q5080350 Q5596 Q3354785 Q317006 Q2393002 Q531060 Q5605 Q277114 Q37495 Q745945 Q21952092 Q21952093 Q1950044 Q21973072 Q2056703 Q7413511 Q4850709 Q2619811 Q335883 Q81611 Q5595169 Q10515932 Q4839963 Q2119446 Q12068771 Q2455308 Q3115516 Q10686340 Q1137498 Q2639433 Q1680511 Q2505156 Q24037731 Q326170 Q20613 Q1201023 Q42820 Q7842583 Q5168544 Q37660 Q965439 Q23406 Q5155246 Q82931 Q925649 Q4411610 Q962830 Q2483319 Q7206510 Q2642187 Q21923431 Q1574959 Q271043 Q384858 Q7139890 Q4091255 Q38882 Q1100897 Q271198 Q2628190 Q2142350 Q13924 Q2733554 Q5055560 Q2750104 Q4222171 Q844799 Q37960 Q1132941 Q481734 Q2374928 Q16489339 Q1691969 Q786805 Q2361883 Q131217 Q3815129 Q4905044 Q1542528 Q159183 Q4875263 Q24302942 Q2272312 Q1285264 Q5413918 Q16489349 Q1482804 Q16489344 Q16489347 Q11900566 Q20022009 Q2879476 Q1974485 Q5716539 Q2363133 Q20791874 Q999031 Q223810 Q509321 Q1185210 Q288708 Q20791972 Q122574 Q608595 Q1841490 Q504571 Q894682 Q173343 Q21885510 Q7978259 Q698126 Q16211014 Q999046 Q1108019 Q3744347 Q27068062 Q1527243 Q14686 Q27068068 Q379063 Q589528 Q1267413 Q3040 Q844917 Q163434 Q218377 Q39651 Q6748834 Q483170 Q913418 Q5642127 Q19270 Q298119 Q6430597 Q34575 Q34675 Q2619452 Q6397945 Q2532834 Q4936151 Q33629 Q668012 Q915250 Q1991455 Q1807328 Q117157 Q193149 Q1112123 Q5281866 Q213367 Q4966924 Q239379 Q208962 Q7682972 Q650654 Q1536356 Q27698 Q2527222 Q639399 Q998952 Q2621029 Q27092 Q1359524 Q738028 Q38684 Q4220366 Q1241171 Q148621 Q934883 Q10688824 Q805470 Q715148 Q1499081 Q5003930 Q11859035 Q350134 Q47530 Q2152754 Q774941 Q4399477 Q715484 Q2369683 Q4334869 Q1112066 Q81499 Q547557 Q716044 Q2081187 Q284841 Q7988 Q1360927 Q11416963 Q5301569 Q10527445 Q16489351 Q1801605 Q4843204 Q7133798 Q885118 Q700309 Q1961204 Q7087839 Q2621502 Q7167679 Q494927 Q1947589 Q22533711 Q2115137 Q1771054 Q2331862 Q181857 Q2414202 Q7375342 Q1338198 Q1269176 Q2391874 Q6801821 Q10508937 Q4457830 Q1112028 Q1649939 Q25336625 Q132868 Q2469848 Q908701 Q1638096 Q188203 Q2211837 Q201385 Q10524190 Q367304 Q2630374 Q21196118 Q3059074 Q2593028 Q1543130 Q218189 Q1741345 Q10435180 Q2001350 Q483824
(c(Q15324),P361,c(Q1048835)|c(Q271669))
action less
action union
action find_tuple_counts
relation P361
type Q15324
type Q1048835
action find_tuple_counts
relation P361
type Q15324
type Q271669
action count
action filter_multi_types
action find
entity Q913418
relation P361
type Q1048835
type Q271669
[ANSWER]
[{'concept': 'Q15324'}, 'P361', [{'concept': 'Q1048835'}, {'concept': 'Q271669'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?y ) WHERE { VALUES ( ?i ) { ( ontology:Q1048835 ) ( ontology:Q271669 ) } . ?x rdf:type ?i } GROUP BY ?u } . FILTER ( ?y < ?a ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Q913418 property:P361 ?b . { ?b rdf:type ?z . VALUES ( ?z ) { ( ontology:Q1048835 ) ( ontology:Q271669 ) } } } } }
Shark Bay Vaida Bay Gulf of Mexico Karkinit Bay Khatanga Gulf Narva Bay Cantabrian Sea Sattahip Bay Moro Gulf Mobile Bay Gulf of Guinea Zashchitnaya Bay Neuwarper See Husarviken Salish Sea Ojakylänlahti Baie Norvégienne Gulf of Darién Gelendzhik Bay Fláajökull Broadhaven Bay Independencia Bay Gold Coast Broadwater Taganrog Bay Casco Bay Mirabello Bay Temryuk Bay Little Bay de Noc Tindfjallajökull Cenderawasih Bay Shark Bay Pechora Sea Sechura Bay Glades Bay Stokes Bay Killala Bay Dvina Bay inland sea Valcour Bay Liminka Bay Nevado del Quindío Iron Cove Estero Bay Argolic Gulf Levantine Sea Antongil Bay Kolyma Bay Bay of Biscay North Sea Magellan Bay Zubovskaya Bay Nottawasaga Bay Hauraki Gulf Taman Bay Taymyr Gulf Inner Puno Bay Balearic Sea Bällstaviken Malaya Volokovaya Mosman Bay Hammond Bay Kozhevnikova Bay Bukhta Nakhodka Illana Bay American Mediterranean Sea Coishco Bay Chukchi Sea Store Lungegårdsvannet Kola Bay Gulf of Taranto Posyet Bay Gulf of Venezuela Arabian Sea Blacksod Bay Väsbyviken Sea of Azov Khadzhibey Estuary Gulf of Honduras Caribbean Sea Mont Saint-Michel Bay Baie des Anges Sea of Sardinia Venetian Lagoon Bering Sea Baggensfjärden Ritacuba Blanco Middendorff Bay Beaufort Sea Batchawana Bay Mezen Bay Sivash Olenyok Gulf Portland Bay Salzhaff Scotia Sea Saltsjön Green Bay Port Musgrave Mälbyviken Nybroviken Tasman Sea Tumbes Bay Yuratski Bay Phang Nga Bay Providence Bay, Siberia Morrisons Bay Vuosaari Harbour Sayda Bay Āgenskalns bay Macajalar Bay Andaman Sea Marajó Bay Faddey Bay Wellington Channel San Antonio Bay Baltic Sea Lumbovsky Gulf Sherard Bay Gulf of Riga Malian Gulf Amundsen Gulf Shchastya Bay Alboran Sea Bothnian Bay Malpeque Bay Harkin Bay Avacha Bay Shark Bay Bandon Bay Apalachee Bay Neutral Bay Tigris–Euphrates river system Torfajökull Uda Gulf Saint Lawrence Bay, Chukotka Curonian Lagoon Stockholms ström Bay of Mecklenburg Gulf of Odessa Bay of Wismar Vistula Lagoon Gulf of İskenderun Ionian Sea Gulf of Ob Shark Bay Shark Bay Motovsky Gulf Tipplers Passage Kolyuchinskaya Bay San Carlos Bay Baler Bay Lazurnaya Bay Þórisjökull Gulf of Aqaba Grand Traverse Bay Hagaviken Bacoor Bay Bay of Puck Severn Estuary Tromper Wiek Vanhankaupunginselkä Svinnegarnsviken Kandalaksha Gulf Khaypudyr Bay Kleiner Jasmunder Bodden Khromskaya Bay bay of Le Croisic Bay of Pomerania Meldorf Bay Suruga Bay Ligurian Sea Trinity Bay Copes Bay South China Sea Riddarfjärden Red Sea Comox Glacier Coral Sea Broken Bay Svyatonossky Gulf Chosha Bay Kolyma Gulf Pocomoke Sound Bombetoka Bay Shark Bay Taui Bay Sea of Åland Varangerfjord Parry Sound Bolshaya Volokovaya Tyrrhenian Sea Clew Bay Årstaviken Pyasino Gulf Bay of Gibraltar Adriatic Sea Panguil Bay Cañacao Bay Shannon Estuary Kislaya Guba Gulf of Paria Yellow Sea Corio Bay Amur Bay Vostok Bay Lagunillas Bay Prorer Wiek Penzhina Bay Diomede Bay Gulf of Thailand canal basin Big Bay de Noc Subic Bay Philippine Sea Baía de São José Olhavanlahti Nordvik Bay Golfo degli Angeli Kempeleenlahti San Juan Bay South Atlantic Pisco Bay Puno Bay Vartiokylänlahti Brazo San Carlos Missisquoi Bay Dniester Liman Samanco Bay Yana Bay Garden Bay Bight of Bonny James Bay Davis Sea Pagasetic Gulf Butuan Bay Kates Bay Gulf of Bothnia Buor-Khaya Gulf Banten Bay Jade Bight Botany Bay Weddell Sea Shark Bay Weatherall Bay Bay of Kiel Nabukjuak Bay Sibuguey Bay Korfa Bay Yevpatoria Bay anse du Gouvernement Gizhigin Bay Gulf of Finland Bay of Figari Thracian Sea Ussuri Bay Georgian Bay Hudson Bay Gulf of Kutch East Siberian Sea Dollart Eyjafjallajökull Mangarin Bay Anabar Bay Thermaic Gulf Halifax Bay Celebes Sea Öræfajökull Koolama Bay Aegean Sea Persian Gulf Tyligul Estuary Keweenaw Bay Olga Bay Bocas del Dragón Kara Sea Kitzsteinhorn Chaunskaya Bay Baydaratskaya Bay Vyborg Bay Gulf of Cádiz Sea of Crete Omulyakhskaya Bay Discovery Bay Gdańsk Bay Bridgwater Bay Garabogazköl Iroise Sea Tangier Sound Archipelago Sea Gulf of Penas Neva Bay Vinterviken Shelikhov Gulf Iligan Bay Dnieper Estuary Sea of Japan Bay of Bangkok Libyan Sea Bay of Bengal Kizlyar Bay Donegal Bay Dublin Bay Gulf of Patras Södertäljeviken Balmer See Zolotoy Rog Geitlandsjökull Byam Martin Channel Eurajoensalmi North Atlantic Bight of Benin Tiksi Bay Chacaltaya Rudnaya Sakhalin Gulf Nagaev Bay Onemen Bay Simsa Bay Celtic Sea Zapadnaya Litsa Aniva Bay Pechenga Bay Ambracian Gulf Laptev Sea Moray Firth Sudo nada Douglas Harbour Hustegafjärden San Nicolas Bay Lammefjord Baie de l'Isle-Verte Paracas Bay Blood Falls Bay of Lübeck Olyutorsky Gulf Oliver Sound Nakhodka Bay Perdido Bay Peter the Great Gulf Moreton Bay Conjuror Bay Ormoc Bay East Antarctic Ice Sheet Khalmyer Bay Bay of Fundy Luga Bay Rozelle Bay Yenisei Gulf Dyngjujökull Karaginsky Gulf McKenzie Bight Grisslingefjärden San Pedro Bay Ebelyakh Bay Bothnian Sea Southern Bight-Minas Basin Greenland Sea Maria Pronchishcheva Bay Onega Bay Køge Bay Bristol Channel Saginaw Bay Gulf of Naples Himmerfjärden Gulf of Patience Kresta Bay Pigeon Bay estuary of the St. Lawrence Koporye Bay Grankullaviken Admiralty Bay Killary Harbour Breviken Norwegian Bay Gulf of Anadyr
375
action less
action union
action find_tuple_counts
relation part of
type body of water
type political territorial entity
action find_tuple_counts
relation part of
type body of water
type landform
action count
action filter_multi_types
action find
entity Thermaic Gulf
relation part of
type political territorial entity
type landform
[{'concept': 'body of water'}, 'part of', [{'concept': 'political territorial entity'}, {'concept': 'landform'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?y ) WHERE { VALUES ( ?i ) { ( ontology:political_territorial_entity ) ( ontology:landform ) } . ?x rdf:type ?i } GROUP BY ?u } . FILTER ( ?y < ?a ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Thermaic_Gulf property:part_of ?b . { ?b rdf:type ?z . VALUES ( ?z ) { ( ontology:political_territorial_entity ) ( ontology:landform ) } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17151
P931
Q62447
USER
Which aerodrome is served by Thessaloniki ?
(c(Q62447),P931,Q17151)
action filter_type
action find_reverse
entity Q17151
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q17151']
SELECT DISTINCT ?d WHERE { ?d property:P931 resource:Q17151 . ?d rdf:type ontology:Q62447 }
Thessaloniki
action filter_type
action find_reverse
entity Thessaloniki
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Thessaloniki']
SELECT DISTINCT ?d WHERE { ?d property:place_served_by_airport resource:Thessaloniki . ?d rdf:type ontology:aerodrome }
[]
aerodrome
Q127958
SYSTEM
Thessaloniki International Airport
Q127958
(c(Q62447),P931,Q17151)
action filter_type
action find_reverse
entity Q17151
relation P931
type Q62447
[ANSWER] is served by Thessaloniki
[{'concept': 'Q62447'}, 'P931', 'Q17151']
SELECT DISTINCT ?d WHERE { ?d property:P931 resource:Q17151 . ?d rdf:type ontology:Q62447 }
Thessaloniki International Airport
Thessaloniki International Airport is served by Thessaloniki
Thessaloniki International Airport
action filter_type
action find_reverse
entity Thessaloniki
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Thessaloniki']
SELECT DISTINCT ?d WHERE { ?d property:place_served_by_airport resource:Thessaloniki . ?d rdf:type ontology:aerodrome }
[]