Simple Question (Direct)
Simple Question
Q156517
P102
Q7210356
USER
Which party is Helga Pedersen affiliated with ?
(Q156517,P102,c(Q7210356))
action filter_type
action find
entity Q156517
relation P102
type Q7210356
['Q156517', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?e WHERE { resource:Q156517 property:P102 ?e . ?e rdf:type ontology:Q7210356 }
Helga Pedersen
action filter_type
action find
entity Helga Pedersen
relation member of political party
type political organization
['Helga Pedersen', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?e WHERE { resource:Helga_Pedersen property:member_of_political_party ?e . ?e rdf:type ontology:political_organization }
[]
political organization
Q190219
SYSTEM
Norwegian Labour Party
Q190219
(Q156517,P102,c(Q7210356))
action filter_type
action find
entity Q156517
relation P102
type Q7210356
Helga Pedersen is affiliated with [ANSWER]
['Q156517', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?e WHERE { resource:Q156517 property:P102 ?e . ?e rdf:type ontology:Q7210356 }
Norwegian Labour Party
Helga Pedersen is affiliated with Norwegian Labour Party
Norwegian Labour Party
action filter_type
action find
entity Helga Pedersen
relation member of political party
type political organization
['Helga Pedersen', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?e WHERE { resource:Helga_Pedersen property:member_of_political_party ?e . ?e rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q156517
P937
Q56061
USER
Which administrative territory is the work location of Helga Pedersen ?
(Q156517,P937,c(Q56061))
action filter_type
action find
entity Q156517
relation P937
type Q56061
['Q156517', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q156517 property:P937 ?n . ?n rdf:type ontology:Q56061 }
Helga Pedersen
action filter_type
action find
entity Helga Pedersen
relation work location
type administrative territorial entity
['Helga Pedersen', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Helga_Pedersen property:work_location ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q585
SYSTEM
Oslo
Q585
(Q156517,P937,c(Q56061))
action filter_type
action find
entity Q156517
relation P937
type Q56061
[ANSWER] is the work location of Helga Pedersen
['Q156517', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q156517 property:P937 ?n . ?n rdf:type ontology:Q56061 }
Oslo
Oslo is the work location of Helga Pedersen
Oslo
action filter_type
action find
entity Helga Pedersen
relation work location
type administrative territorial entity
['Helga Pedersen', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Helga_Pedersen property:work_location ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q140106
Q56061
USER
And what about Francesco Maria del Monte?
(Q140106,P937,c(Q56061))
action filter_type
action find
entity Q140106
relation P937
type Q56061
['Q140106', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q140106 property:P937 ?d . ?d rdf:type ontology:Q56061 }
Francesco Maria del Monte
action filter_type
action find
entity Francesco Maria del Monte
relation work location
type administrative territorial entity
['Francesco Maria del Monte', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Francesco_Maria_del_Monte property:work_location ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q140106,P937,c(Q56061))
action filter_type
action find
entity Q140106
relation P937
type Q56061
[ANSWER]
['Q140106', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q140106 property:P937 ?d . ?d rdf:type ontology:Q56061 }
Rome
Rome
action filter_type
action find
entity Francesco Maria del Monte
relation work location
type administrative territorial entity
['Francesco Maria del Monte', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Francesco_Maria_del_Monte property:work_location ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q220
P206
Q355304
USER
Which watercourses are situated nearby that administrative territory ?
(Q220,P206,c(Q355304))
action filter_type
action find
entity Q220
relation P206
type Q355304
['Q220', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?n WHERE { resource:Q220 property:P206 ?n . ?n rdf:type ontology:Q355304 }
Rome
action filter_type
action find
entity Rome
relation located next to body of water
type watercourse
['Rome', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?n WHERE { resource:Rome property:located_next_to_body_of_water ?n . ?n rdf:type ontology:watercourse }
[]
watercourse
Q546600 Q13712
SYSTEM
Aniene, Tiber
Q546600 Q13712
(Q220,P206,c(Q355304))
action filter_type
action find
entity Q220
relation P206
type Q355304
[ANSWERS] are situated nearby that administrative territory
['Q220', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?n WHERE { resource:Q220 property:P206 ?n . ?n rdf:type ontology:Q355304 }
Aniene Tiber
Aniene and Tiber are situated nearby that administrative territory
Aniene Tiber
action filter_type
action find
entity Rome
relation located next to body of water
type watercourse
['Rome', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?n WHERE { resource:Rome property:located_next_to_body_of_water ?n . ?n rdf:type ontology:watercourse }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q220
Q15324
USER
And which body of water?
(Q220,P206,c(Q15324))
action filter_type
action find
entity Q220
relation P206
type Q15324
['Q220', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?k WHERE { resource:Q220 property:P206 ?k . ?k rdf:type ontology:Q15324 }
Rome
action filter_type
action find
entity Rome
relation located next to body of water
type body of water
['Rome', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?k WHERE { resource:Rome property:located_next_to_body_of_water ?k . ?k rdf:type ontology:body_of_water }
[]
body of water
Q38882
SYSTEM
Tyrrhenian Sea
Q38882
(Q220,P206,c(Q15324))
action filter_type
action find
entity Q220
relation P206
type Q15324
[ANSWER]
['Q220', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?k WHERE { resource:Q220 property:P206 ?k . ?k rdf:type ontology:Q15324 }
Tyrrhenian Sea
Tyrrhenian Sea
action filter_type
action find
entity Rome
relation located next to body of water
type body of water
['Rome', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?k WHERE { resource:Rome property:located_next_to_body_of_water ?k . ?k rdf:type ontology:body_of_water }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P361
Q271669 Q15324 Q15324
USER
How many bodies of water are a portion of around the same number of landforms or bodies of water as that body of water ?
(c(Q15324),P361,c(Q271669)|c(Q15324))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q15324
type Q271669
action find_tuple_counts
relation P361
type Q15324
type Q15324
action count
action filter_multi_types
action find
entity Q38882
relation P361
type Q271669
type Q15324
[{'concept': 'Q15324'}, 'P361', [{'concept': 'Q271669'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?i WHERE { { ?i property:P361 ?e . ?e rdf:type ontology:Q271669 . ?i rdf:type ontology:Q15324 } UNION { ?i property:P361 ?e . ?i rdf:type ontology:Q15324 . ?e rdf:type ontology:Q15324 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { resource:Q38882 property:P361 ?x . { { ?x rdf:type ontology:Q271669 } UNION { ?x rdf:type ontology:Q15324 } } } } . FILTER ( ?k = ?d ) }
action count
action approx
action union
action find_tuple_counts
relation part of
type body of water
type landform
action find_tuple_counts
relation part of
type body of water
type body of water
action count
action filter_multi_types
action find
entity Tyrrhenian Sea
relation part of
type landform
type body of water
[{'concept': 'body of water'}, 'part of', [{'concept': 'landform'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?i WHERE { { ?i property:part_of ?e . ?e rdf:type ontology:landform . ?i rdf:type ontology:body_of_water } UNION { ?i property:part_of ?e . ?i rdf:type ontology:body_of_water . ?e rdf:type ontology:body_of_water } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { resource:Tyrrhenian_Sea property:part_of ?x . { { ?x rdf:type ontology:landform } UNION { ?x rdf:type ontology:body_of_water } } } } . FILTER ( ?k = ?d ) }
[]
landform body of water body of water
SYSTEM
196
Q12630 Q939905 Q393854 Q19758852 Q1536345 Q1544796 Q4189094 Q11885224 Q683504 Q143460 Q5048261 Q2668841 Q931885 Q21951428 Q1973404 Q11875916 Q5401013 Q648317 Q13190069 Q619433 Q6730073 Q2494757 Q2117497 Q16489367 Q6916388 Q1112101 Q4314717 Q998971 Q192738 Q494298 Q181476 Q210305 Q795608 Q2990544 Q1130771 Q2996832 Q7231877 Q2216091 Q4176307 Q10604380 Q13189537 Q2469075 Q717765 Q4100560 Q15260 Q14395416 Q2470190 Q7413309 Q7494662 Q174731 Q549658 Q1974744 Q13234218 Q16892103 Q1137163 Q596362 Q1215321 Q5080350 Q5596 Q3354785 Q317006 Q5605 Q745945 Q21952093 Q21973072 Q2056703 Q7413511 Q4850709 Q2619811 Q81611 Q4839963 Q2119446 Q2455308 Q3115516 Q2639433 Q2505156 Q21044314 Q326170 Q20613 Q7842583 Q925649 Q962830 Q2483319 Q7206510 Q271043 Q648551 Q2628190 Q2733554 Q5055560 Q844799 Q1132941 Q481734 Q2374928 Q1691969 Q2361883 Q131217 Q4905044 Q1542528 Q24302942 Q2272312 Q1285264 Q5413918 Q11900566 Q20022009 Q2363133 Q999031 Q223810 Q1185210 Q288708 Q20791972 Q122574 Q608595 Q1841490 Q504571 Q894682 Q13189342 Q21885510 Q7978259 Q698126 Q16211014 Q999046 Q1108019 Q3744347 Q14686 Q27068068 Q379063 Q589528 Q3040 Q844917 Q218377 Q39651 Q6748834 Q483170 Q913418 Q5642127 Q6430597 Q2532834 Q4936151 Q915250 Q1991455 Q1807328 Q1112123 Q5281866 Q213367 Q4966924 Q7682972 Q650654 Q14081 Q14082 Q27698 Q998952 Q1359524 Q148621 Q934883 Q20085536 Q724367 Q715148 Q1499081 Q11859035 Q47530 Q2152754 Q4399477 Q4334869 Q1112066 Q284841 Q233351 Q1360927 Q11416963 Q5301569 Q1801605 Q7133798 Q885118 Q1961204 Q2621502 Q7167679 Q494927 Q1947589 Q2115137 Q17777685 Q2331862 Q181857 Q2414202 Q754734 Q1338198 Q2391874 Q1112028 Q1649939 Q2469848 Q988603 Q1638096 Q201385 Q2630374 Q144327 Q2593028 Q1543130 Q483824
(c(Q15324),P361,c(Q271669)|c(Q15324))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q15324
type Q271669
action find_tuple_counts
relation P361
type Q15324
type Q15324
action count
action filter_multi_types
action find
entity Q38882
relation P361
type Q271669
type Q15324
[ANSWER]
[{'concept': 'Q15324'}, 'P361', [{'concept': 'Q271669'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?i WHERE { { ?i property:P361 ?e . ?e rdf:type ontology:Q271669 . ?i rdf:type ontology:Q15324 } UNION { ?i property:P361 ?e . ?i rdf:type ontology:Q15324 . ?e rdf:type ontology:Q15324 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { resource:Q38882 property:P361 ?x . { { ?x rdf:type ontology:Q271669 } UNION { ?x rdf:type ontology:Q15324 } } } } . FILTER ( ?k = ?d ) }
Gulf of Mexico Khatanga Gulf Narva Bay Sattahip Bay Moro Gulf Mobile Bay Zashchitnaya Bay Ojakylänlahti Gulf of Darién Taganrog Bay Casco Bay Mirabello Bay Temryuk Bay Shark Bay inland sea Liminka Bay Estero Bay Argolic Gulf Millwaqucha Kolyma Bay Magellan Bay Taman Bay Taymyr Gulf Inner Puno Bay Mosman Bay Kozhevnikova Bay Bukhta Nakhodka Illana Bay Gulf of Taranto Posyet Bay Cotopaxi Gulf of Venezuela Gulf of Honduras Middendorff Bay Sivash Olenyok Gulf Portland Bay Salzhaff Saltsjön Nybroviken Hatun Allpapata Yuratski Bay Phang Nga Bay Providence Bay, Siberia Glärnisch Macajalar Bay Faddey Bay San Antonio Bay Sherard Bay Gulf of Riga Malian Gulf Amundsen Gulf Bothnian Bay Harkin Bay Avacha Bay Bandon Bay Apalachee Bay Saint Lawrence Bay, Chukotka Curonian Lagoon Stockholms ström Bay of Mecklenburg Vistula Lagoon Gulf of Ob Shark Bay Tipplers Passage Kolyuchinskaya Bay San Carlos Bay Baler Bay Lazurnaya Bay Gulf of Aqaba Bacoor Bay Bay of Puck Tromper Wiek Vanhankaupunginselkä Khaypudyr Bay Khromskaya Bay Saltuni Bay of Pomerania Meldorf Bay Trinity Bay Broken Bay Chosha Bay Kolyma Gulf Pocomoke Sound Sea of Åland Nevado del Huila Pyasino Gulf Panguil Bay Cañacao Bay Gulf of Paria Corio Bay Amur Bay Vostok Bay Prorer Wiek Diomede Bay Gulf of Thailand Big Bay de Noc Subic Bay Olhavanlahti Nordvik Bay Golfo degli Angeli Kempeleenlahti Vartiokylänlahti Brazo San Carlos Yana Bay Bight of Bonny James Bay Pagasetic Gulf Butuan Bay Kates Bay Gulf of Bothnia Buor-Khaya Gulf Banten Bay Jade Bight Botany Bay Chawpi Hanka Shark Bay Weatherall Bay Bay of Kiel Nabukjuak Bay Sibuguey Bay Korfa Bay Yevpatoria Bay Gulf of Finland Bay of Figari Thracian Sea Ussuri Bay Hudson Bay Gulf of Kutch Dollart Eyjafjallajökull Mangarin Bay Anabar Bay Thermaic Gulf Halifax Bay Koolama Bay Olga Bay Bocas del Dragón Chaunskaya Bay Baydaratskaya Bay Vyborg Bay Omulyakhskaya Bay Discovery Bay Gdańsk Bay Bridgwater Bay Tangier Sound Archipelago Sea Chimborazo Antisana Neva Bay Iligan Bay Bay of Bangkok Dublin Bay Gulf of Patras Qishqi Belukha Mountain Zolotoy Rog Geitlandsjökull Eurajoensalmi Bight of Benin Tiksi Bay Rudnaya Onemen Bay Simsa Bay Ambracian Gulf Nevado del Ruiz Moray Firth Sudo nada Douglas Harbour Lammefjord Paracas Bay Blood Falls Olyutorsky Gulf Nakhodka Bay Perdido Bay Peter the Great Gulf Moreton Bay Ormoc Bay Ch'uspiqucha (Huánuco) Khalmyer Bay Bay of Fundy Luga Bay Cayambe Yenisei Gulf Karaginsky Gulf Ebelyakh Bay Bothnian Sea Maria Pronchishcheva Bay El Altar Køge Bay Gulf of Naples Kresta Bay Nevado del Tolima Koporye Bay Grankullaviken Gulf of Anadyr
196
action count
action approx
action union
action find_tuple_counts
relation part of
type body of water
type landform
action find_tuple_counts
relation part of
type body of water
type body of water
action count
action filter_multi_types
action find
entity Tyrrhenian Sea
relation part of
type landform
type body of water
[{'concept': 'body of water'}, 'part of', [{'concept': 'landform'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?i WHERE { { ?i property:part_of ?e . ?e rdf:type ontology:landform . ?i rdf:type ontology:body_of_water } UNION { ?i property:part_of ?e . ?i rdf:type ontology:body_of_water . ?e rdf:type ontology:body_of_water } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { resource:Tyrrhenian_Sea property:part_of ?x . { { ?x rdf:type ontology:landform } UNION { ?x rdf:type ontology:body_of_water } } } } . FILTER ( ?k = ?d ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1296
P190
Q20667921
USER
Which french administrative division is the sister city of Ghent ?
(Q1296,P190,c(Q20667921))
action filter_type
action find
entity Q1296
relation P190
type Q20667921
['Q1296', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?y WHERE { resource:Q1296 property:P190 ?y . ?y rdf:type ontology:Q20667921 }
Ghent
action filter_type
action find
entity Ghent
relation sister city
type type of french administrative division
['Ghent', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?y WHERE { resource:Ghent property:sister_city ?y . ?y rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q234281
SYSTEM
Saint-Raphaël
Q234281
(Q1296,P190,c(Q20667921))
action filter_type
action find
entity Q1296
relation P190
type Q20667921
[ANSWER] is the sister city of Ghent
['Q1296', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?y WHERE { resource:Q1296 property:P190 ?y . ?y rdf:type ontology:Q20667921 }
Saint-Raphaël
Saint-Raphaël is the sister city of Ghent
Saint-Raphaël
action filter_type
action find
entity Ghent
relation sister city
type type of french administrative division
['Ghent', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?y WHERE { resource:Ghent property:sister_city ?y . ?y rdf:type ontology:type_of_french_administrative_division }
[]