Simple Question (Direct)
Simple Question
Q74348
P21
Q290
USER
What is the sex of Hubertus Knabe ?
(Q74348,P21,c(Q290))
action filter_type
action find
entity Q74348
relation P21
type Q290
['Q74348', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q74348 property:P21 ?a . ?a rdf:type ontology:Q290 }
Hubertus Knabe
action filter_type
action find
entity Hubertus Knabe
relation gender
type sex
['Hubertus Knabe', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Hubertus_Knabe property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q74348,P21,c(Q290))
action filter_type
action find
entity Q74348
relation P21
type Q290
The sex of Hubertus Knabe is the [ANSWER]
['Q74348', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q74348 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
The sex of Hubertus Knabe is the male
male
action filter_type
action find
entity Hubertus Knabe
relation gender
type sex
['Hubertus Knabe', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Hubertus_Knabe property:gender ?a . ?a rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q74348
P166
Q618779
USER
What was received by that person ?
(Q6581097,P166,c(Q618779))
action filter_type
action find
entity Q74348
relation P166
type Q618779
['Q6581097', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q618779 . resource:Q74348 property:P166 ?o }
Hubertus Knabe
action filter_type
action find
entity Hubertus Knabe
relation award received
type award
['male', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:award . resource:Hubertus_Knabe property:award_received ?o }
[]
award
Q10905380
SYSTEM
Cross of the Order of Merit of the Federal Republic of Germany
Q10905380
(Q6581097,P166,c(Q618779))
action filter_type
action find
entity Q74348
relation P166
type Q618779
Germany [ANSWER] was received by that person
['Q6581097', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q618779 . resource:Q74348 property:P166 ?o }
Cross of the Order of Merit of the Federal Republic of Germany
Germany Cross of the Order of Merit of the Federal Republic of Germany was received by that person
Cross of the Order of Merit of the Federal Republic of Germany
action filter_type
action find
entity Hubertus Knabe
relation award received
type award
['male', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:award . resource:Hubertus_Knabe property:award_received ?o }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q10905380 Q16065041
P166
Q502895
USER
Was Hans Vöcking awarded with that award ?
(Q16065041,P166,Q10905380)
action is_in
entity Q10905380
action find
entity Q16065041
relation P166
['Q16065041', 'P166', 'Q10905380']
ASK WHERE { resource:Q16065041 property:P166 resource:Q10905380 }
Cross of the Order of Merit of the Federal Republic of Germany Hans Vöcking
action is_in
entity Cross of the Order of Merit of the Federal Republic of Germany
action find
entity Hans Vöcking
relation award received
['Hans Vöcking', 'award received', 'Cross of the Order of Merit of the Federal Republic of Germany']
ASK WHERE { resource:Hans_Vöcking property:award_received resource:Cross_of_the_Order_of_Merit_of_the_Federal_Republic_of_Germany }
[]
common name
SYSTEM
YES
(Q16065041,P166,Q10905380)
action is_in
entity Q10905380
action find
entity Q16065041
relation P166
[ANSWER]
['Q16065041', 'P166', 'Q10905380']
ASK WHERE { resource:Q16065041 property:P166 resource:Q10905380 }
Yes
action is_in
entity Cross of the Order of Merit of the Federal Republic of Germany
action find
entity Hans Vöcking
relation award received
['Hans Vöcking', 'award received', 'Cross of the Order of Merit of the Federal Republic of Germany']
ASK WHERE { resource:Hans_Vöcking property:award_received resource:Cross_of_the_Order_of_Merit_of_the_Federal_Republic_of_Germany }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q74348 Q183
P27
Q1048835
USER
Is Hubertus Knabe an inhabitant of Germany ?
(Q74348,P27,Q183)
action is_in
entity Q183
action find
entity Q74348
relation P27
['Q74348', 'P27', 'Q183']
ASK WHERE { resource:Q74348 property:P27 resource:Q183 }
Hubertus Knabe Germany
action is_in
entity Germany
action find
entity Hubertus Knabe
relation country of citizenship
['Hubertus Knabe', 'country of citizenship', 'Germany']
ASK WHERE { resource:Hubertus_Knabe property:country_of_citizenship resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q74348,P27,Q183)
action is_in
entity Q183
action find
entity Q74348
relation P27
[ANSWER]
['Q74348', 'P27', 'Q183']
ASK WHERE { resource:Q74348 property:P27 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Hubertus Knabe
relation country of citizenship
['Hubertus Knabe', 'country of citizenship', 'Germany']
ASK WHERE { resource:Hubertus_Knabe property:country_of_citizenship resource:Germany }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q576434
P17
Q15617994
USER
Which administrative territory is Prix de Rome present in ?
(Q576434,P17,c(Q15617994))
action filter_type
action find
entity Q576434
relation P17
type Q15617994
['Q576434', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q576434 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Prix de Rome
action filter_type
action find
entity Prix de Rome
relation country
type designation for an administrative territorial entity
['Prix de Rome', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Prix_de_Rome property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q576434,P17,c(Q15617994))
action filter_type
action find
entity Q576434
relation P17
type Q15617994
Prix de Rome is in [ANSWER]
['Q576434', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q576434 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
France
Prix de Rome is in France
France
action filter_type
action find
entity Prix de Rome
relation country
type designation for an administrative territorial entity
['Prix de Rome', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Prix_de_Rome property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19255032
Q15617994
USER
And what about Hoofdstraat?
(Q19255032,P17,c(Q15617994))
action filter_type
action find
entity Q19255032
relation P17
type Q15617994
['Q19255032', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q19255032 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
Hoofdstraat
action filter_type
action find
entity Hoofdstraat
relation country
type designation for an administrative territorial entity
['Hoofdstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Hoofdstraat property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55
SYSTEM
Netherlands
Q55
(Q19255032,P17,c(Q15617994))
action filter_type
action find
entity Q19255032
relation P17
type Q15617994
[ANSWER]
['Q19255032', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q19255032 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
Netherlands
Netherlands
action filter_type
action find
entity Hoofdstraat
relation country
type designation for an administrative territorial entity
['Hoofdstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Hoofdstraat property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q55 Q16935004 Q4081183
P35
Q502895
USER
Does that administrative territory have Matthew Greenbaum and Saul Baizerman as its head of state ?
(Q55,P35,Q16935004) (Q55,P35,Q4081183)
action is_in
entity Q55
action intersection
action find_reverse
entity Q16935004
relation P35
action find_reverse
entity Q4081183
relation P35
['Q55', 'P35', 'Q16935004'] ['Q55', 'P35', 'Q4081183']
ASK WHERE { resource:Q55 property:P35 resource:Q16935004 . resource:Q55 property:P35 resource:Q4081183 }
Netherlands Matthew Greenbaum Saul Baizerman
action is_in
entity Netherlands
action intersection
action find_reverse
entity Matthew Greenbaum
relation head of state
action find_reverse
entity Saul Baizerman
relation head of state
['Netherlands', 'head of state', 'Matthew Greenbaum'] ['Netherlands', 'head of state', 'Saul Baizerman']
ASK WHERE { resource:Netherlands property:head_of_state resource:Matthew_Greenbaum . resource:Netherlands property:head_of_state resource:Saul_Baizerman }
[]
common name
SYSTEM
NO
(Q55,P35,Q16935004) (Q55,P35,Q4081183)
action is_in
entity Q55
action intersection
action find_reverse
entity Q16935004
relation P35
action find_reverse
entity Q4081183
relation P35
[ANSWER]
['Q55', 'P35', 'Q16935004'] ['Q55', 'P35', 'Q4081183']
ASK WHERE { resource:Q55 property:P35 resource:Q16935004 . resource:Q55 property:P35 resource:Q4081183 }
No
action is_in
entity Netherlands
action intersection
action find_reverse
entity Matthew Greenbaum
relation head of state
action find_reverse
entity Saul Baizerman
relation head of state
['Netherlands', 'head of state', 'Matthew Greenbaum'] ['Netherlands', 'head of state', 'Saul Baizerman']
ASK WHERE { resource:Netherlands property:head_of_state resource:Matthew_Greenbaum . resource:Netherlands property:head_of_state resource:Saul_Baizerman }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q55
P36
Q56061
USER
Which administrative territory is called the capital of Netherlands ?
(Q55,P36,c(Q56061))
action filter_type
action find
entity Q55
relation P36
type Q56061
['Q55', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q55 property:P36 ?x . ?x rdf:type ontology:Q56061 }
Netherlands
action filter_type
action find
entity Netherlands
relation capital
type administrative territorial entity
['Netherlands', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Netherlands property:capital ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q727
SYSTEM
Amsterdam
Q727
(Q55,P36,c(Q56061))
action filter_type
action find
entity Q55
relation P36
type Q56061
[ANSWER] is called the capital of Netherlands
['Q55', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q55 property:P36 ?x . ?x rdf:type ontology:Q56061 }
Amsterdam
Amsterdam is called the capital of Netherlands
Amsterdam
action filter_type
action find
entity Netherlands
relation capital
type administrative territorial entity
['Netherlands', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Netherlands property:capital ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2217641
Q56061
USER
And also tell me about Novosilsky District?
(Q2217641,P36,c(Q56061))
action filter_type
action find
entity Q2217641
relation P36
type Q56061
['Q2217641', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q2217641 property:P36 ?f . ?f rdf:type ontology:Q56061 }
Novosilsky District
action filter_type
action find
entity Novosilsky District
relation capital
type administrative territorial entity
['Novosilsky District', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Novosilsky_District property:capital ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q175258
SYSTEM
Novosil
Q175258
(Q2217641,P36,c(Q56061))
action filter_type
action find
entity Q2217641
relation P36
type Q56061
[ANSWER]
['Q2217641', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q2217641 property:P36 ?f . ?f rdf:type ontology:Q56061 }
Novosil
Novosil
action filter_type
action find
entity Novosilsky District
relation capital
type administrative territorial entity
['Novosilsky District', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Novosilsky_District property:capital ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q175258
P206
Q355304
USER
Which watercourse is located in the neighbourhood of that administrative territory ?
(Q175258,P206,c(Q355304))
action filter_type
action find
entity Q175258
relation P206
type Q355304
['Q175258', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q355304 . resource:Q175258 property:P206 ?o }
Novosil
action filter_type
action find
entity Novosil
relation located next to body of water
type watercourse
['Novosil', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:watercourse . resource:Novosil property:located_next_to_body_of_water ?o }
[]
watercourse
Q2986095
SYSTEM
Zusha River
Q2986095
(Q175258,P206,c(Q355304))
action filter_type
action find
entity Q175258
relation P206
type Q355304
[ANSWER] is located in the neighbourhood of that administrative territory
['Q175258', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q355304 . resource:Q175258 property:P206 ?o }
Zusha River
Zusha River is located in the neighbourhood of that administrative territory
Zusha River
action filter_type
action find
entity Novosil
relation located next to body of water
type watercourse
['Novosil', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:watercourse . resource:Novosil property:located_next_to_body_of_water ?o }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1548625 Q175258
P206 P403
Q355304
USER
Which watercourses are located next to Novosil or do Großer Breitenbach flow into ?
OR((Q175258,P206,c(Q355304)), (Q1548625,P403,c(Q355304)))
action filter_type
action union
action find
entity Q175258
relation P206
action find
entity Q1548625
relation P403
type Q355304
{'OR': [['Q175258', 'P206', {'concept': 'Q355304'}], ['Q1548625', 'P403', {'concept': 'Q355304'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q175258 property:P206 ?n } UNION { resource:Q1548625 property:P403 ?n } } . ?n rdf:type ontology:Q355304 }
Großer Breitenbach Novosil
action filter_type
action union
action find
entity Novosil
relation located next to body of water
action find
entity Großer Breitenbach
relation mouth of the watercourse
type watercourse
{'OR': [['Novosil', 'located next to body of water', {'concept': 'watercourse'}], ['Großer Breitenbach', 'mouth of the watercourse', {'concept': 'watercourse'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Novosil property:located_next_to_body_of_water ?n } UNION { resource:Großer_Breitenbach property:mouth_of_the_watercourse ?n } } . ?n rdf:type ontology:watercourse }
[]
watercourse
Q2986095 Q492188
SYSTEM
Zusha River, Andlau
Q2986095 Q492188
OR((Q175258,P206,c(Q355304)), (Q1548625,P403,c(Q355304)))
action filter_type
action union
action find
entity Q175258
relation P206
action find
entity Q1548625
relation P403
type Q355304
[ANSWERS] are located next to Novosil or do Großer Breitenbach flow into
{'OR': [['Q175258', 'P206', {'concept': 'Q355304'}], ['Q1548625', 'P403', {'concept': 'Q355304'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q175258 property:P206 ?n } UNION { resource:Q1548625 property:P403 ?n } } . ?n rdf:type ontology:Q355304 }
Zusha River Andlau
Zusha River and Andlau are located next to Novosil or do Großer Breitenbach flow into
Zusha River Andlau
action filter_type
action union
action find
entity Novosil
relation located next to body of water
action find
entity Großer Breitenbach
relation mouth of the watercourse
type watercourse
{'OR': [['Novosil', 'located next to body of water', {'concept': 'watercourse'}], ['Großer Breitenbach', 'mouth of the watercourse', {'concept': 'watercourse'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Novosil property:located_next_to_body_of_water ?n } UNION { resource:Großer_Breitenbach property:mouth_of_the_watercourse ?n } } . ?n rdf:type ontology:watercourse }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2986095 Q492188
P403
Q355304
USER
Where do the drainage of those ones end ?
(Q2986095,P403,c(Q355304)) (Q492188,P403,c(Q355304))
action filter_type
action find
entity prev_answer
relation P403
type Q355304
['Q2986095', 'P403', {'concept': 'Q355304'}] ['Q492188', 'P403', {'concept': 'Q355304'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q355304 . ?x property:P403 ?g . VALUES ( ?x ) { ( resource:Q2986095 ) ( resource:Q492188 ) } }
Zusha River Andlau
action filter_type
action find
entity prev_answer
relation mouth of the watercourse
type watercourse
['Zusha River', 'mouth of the watercourse', {'concept': 'watercourse'}] ['Andlau', 'mouth of the watercourse', {'concept': 'watercourse'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:watercourse . ?x property:mouth_of_the_watercourse ?g . VALUES ( ?x ) { ( resource:Zusha_River ) ( resource:Andlau ) } }
[]
watercourse
Q172089 Q668472
SYSTEM
Oka River, Ill
Q172089 Q668472
(Q2986095,P403,c(Q355304)) (Q492188,P403,c(Q355304))
action filter_type
action find
entity prev_answer
relation P403
type Q355304
The drainage of those ones end in [ANSWERS]
['Q2986095', 'P403', {'concept': 'Q355304'}] ['Q492188', 'P403', {'concept': 'Q355304'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q355304 . ?x property:P403 ?g . VALUES ( ?x ) { ( resource:Q2986095 ) ( resource:Q492188 ) } }
Oka River Ill
The drainage of those ones end in Oka River and Ill
Oka River Ill
action filter_type
action find
entity prev_answer
relation mouth of the watercourse
type watercourse
['Zusha River', 'mouth of the watercourse', {'concept': 'watercourse'}] ['Andlau', 'mouth of the watercourse', {'concept': 'watercourse'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:watercourse . ?x property:mouth_of_the_watercourse ?g . VALUES ( ?x ) { ( resource:Zusha_River ) ( resource:Andlau ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q668472
P974
Q355304
USER
Which rivers or lakes are a tributary of that one ?
(Q668472,P974,c(Q355304))
action filter_type
action find
entity Q668472
relation P974
type Q355304
['Q668472', 'P974', {'concept': 'Q355304'}]
SELECT DISTINCT ?r WHERE { resource:Q668472 property:P974 ?r . ?r rdf:type ontology:Q355304 }
Ill
action filter_type
action find
entity Ill
relation tributary
type watercourse
['Ill', 'tributary', {'concept': 'watercourse'}]
SELECT DISTINCT ?r WHERE { resource:Ill property:tributary ?r . ?r rdf:type ontology:watercourse }
[]
watercourse
Clarification for simple ques.
Q172089
SYSTEM
Did you mean Oka River ?
Q172089 Q668472
(Q172089,P974,c(Q355304)) (Q668472,P974,c(Q355304))
[ANSWER]
['Q172089', 'P974', {'concept': 'Q355304'}] ['Q668472', 'P974', {'concept': 'Q355304'}]
SELECT DISTINCT ?r WHERE { resource:Q668472 property:P974 ?r . ?r rdf:type ontology:Q355304 }
Oka River Ill
Did you mean Oka River ?
Oka River
['Oka River', 'tributary', {'concept': 'watercourse'}] ['Ill', 'tributary', {'concept': 'watercourse'}]
SELECT DISTINCT ?r WHERE { resource:Ill property:tributary ?r . ?r rdf:type ontology:watercourse }
[]
Simple Question (Coreferenced)
USER
No, I meant Ill. Could you tell me the answer for that?
(Q668472,P974,c(Q355304))
Q668472
['Q668472', 'P974', {'concept': 'Q355304'}]
['Ill', 'tributary', {'concept': 'watercourse'}]
[]
Q746324 Q836973 Q492188
SYSTEM
Bruche, Lauch, Andlau
Q836973 Q746324 Q492188 Q127557 Q1235724 Q1399427 Q127629 Q1523406
(Q668472,P974,c(Q355304))
action filter_type
action find
entity Q668472
relation P974
type Q355304
[ANSWERS] are a tributary of that one
['Q668472', 'P974', {'concept': 'Q355304'}]
SELECT DISTINCT ?r WHERE { resource:Q668472 property:P974 ?r . ?r rdf:type ontology:Q355304 }
Lauch Bruche Andlau Largue Doller Fecht Thur Giessen
Bruche, Lauch and Andlau are a tributary of that one
Bruche Lauch Andlau
action filter_type
action find
entity Ill
relation tributary
type watercourse
['Ill', 'tributary', {'concept': 'watercourse'}]
SELECT DISTINCT ?r WHERE { resource:Ill property:tributary ?r . ?r rdf:type ontology:watercourse }
[]