Simple Question (Direct)
Simple Question
Q1613040
P102
Q7210356
USER
Which parties do Hermann Wenhold belong to ?
(Q1613040,P102,c(Q7210356))
action filter_type
action find
entity Q1613040
relation P102
type Q7210356
['Q1613040', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?q WHERE { resource:Q1613040 property:P102 ?q . ?q rdf:type ontology:Q7210356 }
Hermann Wenhold
action filter_type
action find
entity Hermann Wenhold
relation member of political party
type political organization
['Hermann Wenhold', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?q WHERE { resource:Hermann_Wenhold property:member_of_political_party ?q . ?q rdf:type ontology:political_organization }
[]
political organization
Q13124 Q328195
SYSTEM
Free Democratic Party, German Democratic Party
Q13124 Q328195
(Q1613040,P102,c(Q7210356))
action filter_type
action find
entity Q1613040
relation P102
type Q7210356
Hermann Wenhold belong to [ANSWERS]
['Q1613040', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?q WHERE { resource:Q1613040 property:P102 ?q . ?q rdf:type ontology:Q7210356 }
Free Democratic Party German Democratic Party
Hermann Wenhold belong to Free Democratic Party and German Democratic Party
Free Democratic Party German Democratic Party
action filter_type
action find
entity Hermann Wenhold
relation member of political party
type political organization
['Hermann Wenhold', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?q WHERE { resource:Hermann_Wenhold property:member_of_political_party ?q . ?q rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1613040
P19
Q486972
USER
Where was that person born ?
(Q13124,P19,c(Q486972)) (Q328195,P19,c(Q486972))
action filter_type
action find
entity Q1613040
relation P19
type Q486972
['Q13124', 'P19', {'concept': 'Q486972'}] ['Q328195', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q486972 . resource:Q1613040 property:P19 ?u }
Hermann Wenhold
action filter_type
action find
entity Hermann Wenhold
relation place of birth
type human settlement
['Free Democratic Party', 'place of birth', {'concept': 'human settlement'}] ['German Democratic Party', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:human_settlement . resource:Hermann_Wenhold property:place_of_birth ?u }
[]
human settlement
Q24879
SYSTEM
Bremen
Q24879
(Q13124,P19,c(Q486972)) (Q328195,P19,c(Q486972))
action filter_type
action find
entity Q1613040
relation P19
type Q486972
That person was born in [ANSWER]
['Q13124', 'P19', {'concept': 'Q486972'}] ['Q328195', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q486972 . resource:Q1613040 property:P19 ?u }
Bremen
That person was born in Bremen
Bremen
action filter_type
action find
entity Hermann Wenhold
relation place of birth
type human settlement
['Free Democratic Party', 'place of birth', {'concept': 'human settlement'}] ['German Democratic Party', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:human_settlement . resource:Hermann_Wenhold property:place_of_birth ?u }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q24879 Q6154118 Q183
P17
Q1048835
USER
Is Bremen located in Jangtud, Palapag Northern Samar and Germany ?
(Q24879,P17,Q6154118) (Q24879,P17,Q183)
action is_in
entity Q24879
action intersection
action find_reverse
entity Q6154118
relation P17
action find_reverse
entity Q183
relation P17
['Q24879', 'P17', 'Q6154118'] ['Q24879', 'P17', 'Q183']
ASK WHERE { resource:Q24879 property:P17 resource:Q183 . resource:Q24879 property:P17 resource:Q6154118 }
Bremen Jangtud, Palapag Northern Samar Germany
action is_in
entity Bremen
action intersection
action find_reverse
entity Jangtud, Palapag Northern Samar
relation country
action find_reverse
entity Germany
relation country
['Bremen', 'country', 'Jangtud, Palapag Northern Samar'] ['Bremen', 'country', 'Germany']
ASK WHERE { resource:Bremen property:country resource:Germany . resource:Bremen property:country resource:Jangtud,_Palapag_Northern_Samar }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q24879,P17,Q6154118) (Q24879,P17,Q183)
action is_in
entity Q24879
action intersection
action find_reverse
entity Q6154118
relation P17
action find_reverse
entity Q183
relation P17
[ANSWER]
['Q24879', 'P17', 'Q6154118'] ['Q24879', 'P17', 'Q183']
ASK WHERE { resource:Q24879 property:P17 resource:Q183 . resource:Q24879 property:P17 resource:Q6154118 }
NO and YES respectively
action is_in
entity Bremen
action intersection
action find_reverse
entity Jangtud, Palapag Northern Samar
relation country
action find_reverse
entity Germany
relation country
['Bremen', 'country', 'Jangtud, Palapag Northern Samar'] ['Bremen', 'country', 'Germany']
ASK WHERE { resource:Bremen property:country resource:Germany . resource:Bremen property:country resource:Jangtud,_Palapag_Northern_Samar }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q328195 Q64
P159
Q56061
USER
Is Berlin the head office of German Democratic Party ?
(Q328195,P159,Q64)
action is_in
entity Q64
action find
entity Q328195
relation P159
['Q328195', 'P159', 'Q64']
ASK WHERE { resource:Q328195 property:P159 resource:Q64 }
German Democratic Party Berlin
action is_in
entity Berlin
action find
entity German Democratic Party
relation headquarters location
['German Democratic Party', 'headquarters location', 'Berlin']
ASK WHERE { resource:German_Democratic_Party property:headquarters_location resource:Berlin }
[]
administrative territorial entity
SYSTEM
YES
(Q328195,P159,Q64)
action is_in
entity Q64
action find
entity Q328195
relation P159
[ANSWER]
['Q328195', 'P159', 'Q64']
ASK WHERE { resource:Q328195 property:P159 resource:Q64 }
Yes
action is_in
entity Berlin
action find
entity German Democratic Party
relation headquarters location
['German Democratic Party', 'headquarters location', 'Berlin']
ASK WHERE { resource:German_Democratic_Party property:headquarters_location resource:Berlin }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q24879 Q6142
P17
Q1048835
USER
Is Bremen a part of Potsdam-Mittelmark ?
(Q24879,P17,Q6142)
action is_in
entity Q6142
action find
entity Q24879
relation P17
['Q24879', 'P17', 'Q6142']
ASK WHERE { resource:Q24879 property:P17 resource:Q6142 }
Bremen Potsdam-Mittelmark
action is_in
entity Potsdam-Mittelmark
action find
entity Bremen
relation country
['Bremen', 'country', 'Potsdam-Mittelmark']
ASK WHERE { resource:Bremen property:country resource:Potsdam-Mittelmark }
[]
political territorial entity
SYSTEM
NO
(Q24879,P17,Q6142)
action is_in
entity Q6142
action find
entity Q24879
relation P17
[ANSWER]
['Q24879', 'P17', 'Q6142']
ASK WHERE { resource:Q24879 property:P17 resource:Q6142 }
No
action is_in
entity Potsdam-Mittelmark
action find
entity Bremen
relation country
['Bremen', 'country', 'Potsdam-Mittelmark']
ASK WHERE { resource:Bremen property:country resource:Potsdam-Mittelmark }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q24879
P551
Q502895
USER
Which person lives in Bremen ?
(c(Q502895),P551,Q24879)
action filter_type
action find_reverse
entity Q24879
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q24879']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . ?i property:P551 resource:Q24879 }
Bremen
action filter_type
action find_reverse
entity Bremen
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Bremen']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . ?i property:residence resource:Bremen }
[]
common name
Q2646
SYSTEM
Friedrich Ebert
Q2646
(c(Q502895),P551,Q24879)
action filter_type
action find_reverse
entity Q24879
relation P551
type Q502895
[ANSWER] lives in Bremen
[{'concept': 'Q502895'}, 'P551', 'Q24879']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . ?i property:P551 resource:Q24879 }
Friedrich Ebert
Friedrich Ebert lives in Bremen
Friedrich Ebert
action filter_type
action find_reverse
entity Bremen
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Bremen']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . ?i property:residence resource:Bremen }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q24879
P1376
Q15617994
USER
Which administrative territory has Bremen as its county seat ?
(Q24879,P1376,c(Q15617994))
action filter_type
action find
entity Q24879
relation P1376
type Q15617994
['Q24879', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q24879 property:P1376 ?l . ?l rdf:type ontology:Q15617994 }
Bremen
action filter_type
action find
entity Bremen
relation capital of
type designation for an administrative territorial entity
['Bremen', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Bremen property:capital_of ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q492437
SYSTEM
Bouches-du-Weser
Q492437
(Q24879,P1376,c(Q15617994))
action filter_type
action find
entity Q24879
relation P1376
type Q15617994
[ANSWER] has Bremen as its county seat
['Q24879', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q24879 property:P1376 ?l . ?l rdf:type ontology:Q15617994 }
Bouches-du-Weser
Bouches-du-Weser has Bremen as its county seat
Bouches-du-Weser
action filter_type
action find
entity Bremen
relation capital of
type designation for an administrative territorial entity
['Bremen', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Bremen property:capital_of ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q24879
P206
Q355304
USER
Which watercourse is situated nearby that human settlement ?
(Q492437,P206,c(Q355304))
action filter_type
action find
entity Q24879
relation P206
type Q355304
['Q492437', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?v WHERE { resource:Q24879 property:P206 ?v . ?v rdf:type ontology:Q355304 }
Bremen
action filter_type
action find
entity Bremen
relation located next to body of water
type watercourse
['Bouches-du-Weser', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?v WHERE { resource:Bremen property:located_next_to_body_of_water ?v . ?v rdf:type ontology:watercourse }
[]
watercourse
Q1650
SYSTEM
Weser
Q1650
(Q492437,P206,c(Q355304))
action filter_type
action find
entity Q24879
relation P206
type Q355304
The [ANSWER] is situated nearby that human settlement
['Q492437', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?v WHERE { resource:Q24879 property:P206 ?v . ?v rdf:type ontology:Q355304 }
Weser
The Weser is situated nearby that human settlement
Weser
action filter_type
action find
entity Bremen
relation located next to body of water
type watercourse
['Bouches-du-Weser', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?v WHERE { resource:Bremen property:located_next_to_body_of_water ?v . ?v rdf:type ontology:watercourse }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q973 Q24879
P206 P974
Q355304
USER
Which watercourses are located in the neighbourhood of Bremen or are the tributaries of Ob ?
OR((Q24879,P206,c(Q355304)), (Q973,P974,c(Q355304)))
action filter_type
action union
action find
entity Q24879
relation P206
action find
entity Q973
relation P974
type Q355304
{'OR': [['Q24879', 'P206', {'concept': 'Q355304'}], ['Q973', 'P974', {'concept': 'Q355304'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q355304 . { { resource:Q24879 property:P206 ?u } UNION { resource:Q973 property:P974 ?u } } }
Ob Bremen
action filter_type
action union
action find
entity Bremen
relation located next to body of water
action find
entity Ob
relation tributary
type watercourse
{'OR': [['Bremen', 'located next to body of water', {'concept': 'watercourse'}], ['Ob', 'tributary', {'concept': 'watercourse'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:watercourse . { { resource:Bremen property:located_next_to_body_of_water ?u } UNION { resource:Ob property:tributary ?u } } }
[]
watercourse
Q128102 Q511067 Q1099551 Q214768 Q1346382 Q2102734 Q724465 Q1650 Q216188 Q837201
SYSTEM
Irtysh River, Vasyugan River, Severnaya Sosva River, Chulym River, Tym River, Polui River, Ket River, Weser, Tom River, Vakh River
Q128102 Q511067 Q1099551 Q214768 Q1346382 Q2102734 Q724465 Q1650 Q216188 Q837201
OR((Q24879,P206,c(Q355304)), (Q973,P974,c(Q355304)))
action filter_type
action union
action find
entity Q24879
relation P206
action find
entity Q973
relation P974
type Q355304
[ANSWERS] are located in the neighbourhood of Bremen or are the tributaries of Ob
{'OR': [['Q24879', 'P206', {'concept': 'Q355304'}], ['Q973', 'P974', {'concept': 'Q355304'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q355304 . { { resource:Q24879 property:P206 ?u } UNION { resource:Q973 property:P974 ?u } } }
Irtysh River Vasyugan River Severnaya Sosva River Chulym River Tym River Polui River Ket River Weser Tom River Vakh River
Irtysh River, Vasyugan River, Severnaya Sosva River, Chulym River, Tym River, Polui River, Ket River, Weser, Tom River and Vakh River are located in the neighbourhood of Bremen or are the tributaries of Ob
Irtysh River Vasyugan River Severnaya Sosva River Chulym River Tym River Polui River Ket River Weser Tom River Vakh River
action filter_type
action union
action find
entity Bremen
relation located next to body of water
action find
entity Ob
relation tributary
type watercourse
{'OR': [['Bremen', 'located next to body of water', {'concept': 'watercourse'}], ['Ob', 'tributary', {'concept': 'watercourse'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:watercourse . { { resource:Bremen property:located_next_to_body_of_water ?u } UNION { resource:Ob property:tributary ?u } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1650 Q15613850
P974
Q355304
USER
How many watercourses are the tributaries Weser or Tangascootack Creek ?
(Q1650,P974,c(Q355304)) (Q15613850,P974,c(Q355304))
action count
action union
action filter_type
action find
entity Q1650
relation P974
type Q355304
action filter_type
action find
entity Q15613850
relation P974
type Q355304
['Q1650', 'P974', {'concept': 'Q355304'}] ['Q15613850', 'P974', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { resource:Q1650 property:P974 ?w . ?w rdf:type ontology:Q355304 } UNION { resource:Q15613850 property:P974 ?w . ?w rdf:type ontology:Q355304 } }
Weser Tangascootack Creek
action count
action union
action filter_type
action find
entity Weser
relation tributary
type watercourse
action filter_type
action find
entity Tangascootack Creek
relation tributary
type watercourse
['Weser', 'tributary', {'concept': 'watercourse'}] ['Tangascootack Creek', 'tributary', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { resource:Weser property:tributary ?w . ?w rdf:type ontology:watercourse } UNION { resource:Tangascootack_Creek property:tributary ?w . ?w rdf:type ontology:watercourse } }
[]
watercourse
SYSTEM
14
Q1967803 Q315204 Q471322 Q708553 Q453203 Q317105 Q880064 Q445963 Q562332 Q316940 Q830107 Q708447 Q320475 Q558724
(Q1650,P974,c(Q355304)) (Q15613850,P974,c(Q355304))
action count
action union
action filter_type
action find
entity Q1650
relation P974
type Q355304
action filter_type
action find
entity Q15613850
relation P974
type Q355304
[ANSWER]
['Q1650', 'P974', {'concept': 'Q355304'}] ['Q15613850', 'P974', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { resource:Q1650 property:P974 ?w . ?w rdf:type ontology:Q355304 } UNION { resource:Q15613850 property:P974 ?w . ?w rdf:type ontology:Q355304 } }
Aller Ochtum Große Aue Diemel Geeste Drepte Lune Lesum Werre Hamel Humme Hunte Kalle Emmer
14
action count
action union
action filter_type
action find
entity Weser
relation tributary
type watercourse
action filter_type
action find
entity Tangascootack Creek
relation tributary
type watercourse
['Weser', 'tributary', {'concept': 'watercourse'}] ['Tangascootack Creek', 'tributary', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { resource:Weser property:tributary ?w . ?w rdf:type ontology:watercourse } UNION { resource:Tangascootack_Creek property:tributary ?w . ?w rdf:type ontology:watercourse } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P403
Q15324 Q355304
USER
Which bodies of water do min number of watercourses drain into ?
(c(Q355304),P403,Q845217)
action argmin
action find_reverse_tuple_counts
relation P403
type Q15324
type Q355304
[{'concept': 'Q355304'}, 'P403', 'Q845217']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?c ) { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?l ) WHERE { ?j property:P403 ?y . ?y rdf:type ontology:Q15324 . ?j rdf:type ontology:Q355304 } GROUP BY ?y } } . { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?d ) WHERE { ?k property:P403 ?q . ?q rdf:type ontology:Q15324 . ?k rdf:type ontology:Q355304 } GROUP BY ?q } . FILTER ( ?d = ?c ) }
action argmin
action find_reverse_tuple_counts
relation mouth of the watercourse
type body of water
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Foxe Basin']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?c ) { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?l ) WHERE { ?j property:mouth_of_the_watercourse ?y . ?y rdf:type ontology:body_of_water . ?j rdf:type ontology:watercourse } GROUP BY ?y } } . { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?d ) WHERE { ?k property:mouth_of_the_watercourse ?q . ?q rdf:type ontology:body_of_water . ?k rdf:type ontology:watercourse } GROUP BY ?q } . FILTER ( ?d = ?c ) }
[]
body of water watercourse
Q21857591 Q21856766 Q21862899
SYSTEM
L. Bistrup Glacier, Ejnar Mikkelsen Glacier, Storstrømmen Glacier
Q6021455 Q21857993 Q5516517 Q6321425 Q21844766 Q21859586 Q21855790 Q5875448 Q259929 Q21872194 Q10438494 Q21852063 Q21872065 Q21862899 Q7050615 Q21852389 Q2088977 Q21857803 Q21809333 Q21880702 Q21855781 Q21850122 Q21855145 Q21857591 Q21841013 Q21857521 Q21856766 Q21857526 Q21852940 Q664704 Q21844748 Q21823240 Q21860001 Q21859976 Q21885510 Q959127 Q426453 Q21857829 Q1294277 Q21860011 Q2148190 Q132868 Q202868 Q37040 Q21855512
(c(Q355304),P403,Q845217)
action argmin
action find_reverse_tuple_counts
relation P403
type Q15324
type Q355304
[ANSWERS]
[{'concept': 'Q355304'}, 'P403', 'Q845217']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?c ) { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?l ) WHERE { ?j property:P403 ?y . ?y rdf:type ontology:Q15324 . ?j rdf:type ontology:Q355304 } GROUP BY ?y } } . { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?d ) WHERE { ?k property:P403 ?q . ?q rdf:type ontology:Q15324 . ?k rdf:type ontology:Q355304 } GROUP BY ?q } . FILTER ( ?d = ?c ) }
Indian River Bay Ejnar Glacier Gael Hamkes Bay Jøkelbugten Gerard de Geer Glacier Borgjøkelen Glacier Godthåb Golf Hochstetterbugten Wandel Sea Kofoed-Hansen Glacier Bällstaviken Hisinger Glacier Sælsø Glacier Storstrømmen Glacier Nordenskiold Glacier Wahlenberg Glacier Bodega Bay Budolfi Isstrøm Glacier Eielson Eielsongletsjer Storm Bay Vibeke Glacier Jætte Glacier Spærre Glacier L. Bistrup Glacier Foster Bugt Soraner Glacier Ejnar Mikkelsen Glacier Dove Bay Violin Glacier Chignecto Bay Waltershausen Glacier Bjørnbo Glacier Hastings Glacier Trefork Glacier Shark Bay Massachusetts Bay Scoresby Sund Ebbe Glacier Lower New York Bay Britannia Gletscher Rhode Island Sound Greenland Sea Edsviken Baffin Bay Jupiter Glacier
Which bodies of water min number of watercourses drain into
L. Bistrup Glacier Ejnar Mikkelsen Glacier Storstrømmen Glacier
action argmin
action find_reverse_tuple_counts
relation mouth of the watercourse
type body of water
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Foxe Basin']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?c ) { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?l ) WHERE { ?j property:mouth_of_the_watercourse ?y . ?y rdf:type ontology:body_of_water . ?j rdf:type ontology:watercourse } GROUP BY ?y } } . { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?d ) WHERE { ?k property:mouth_of_the_watercourse ?q . ?q rdf:type ontology:body_of_water . ?k rdf:type ontology:watercourse } GROUP BY ?q } . FILTER ( ?d = ?c ) }
[]