Simple Question (Direct)
Simple Question
Q1883759
P20
Q486972
USER
Where did Magda Langhans expire ?
(Q1883759,P20,c(Q486972))
action filter_type
action find
entity Q1883759
relation P20
type Q486972
['Q1883759', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?k WHERE { resource:Q1883759 property:P20 ?k . ?k rdf:type ontology:Q486972 }
Magda Langhans
action filter_type
action find
entity Magda Langhans
relation place of death
type human settlement
['Magda Langhans', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?k WHERE { resource:Magda_Langhans property:place_of_death ?k . ?k rdf:type ontology:human_settlement }
[]
human settlement
Q1055
SYSTEM
Hamburg
Q1055
(Q1883759,P20,c(Q486972))
action filter_type
action find
entity Q1883759
relation P20
type Q486972
Magda Langhans expired in [ANSWER]
['Q1883759', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?k WHERE { resource:Q1883759 property:P20 ?k . ?k rdf:type ontology:Q486972 }
Hamburg
Magda Langhans expired in Hamburg
Hamburg
action filter_type
action find
entity Magda Langhans
relation place of death
type human settlement
['Magda Langhans', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?k WHERE { resource:Magda_Langhans property:place_of_death ?k . ?k rdf:type ontology:human_settlement }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1883759
P21
Q290
USER
Which sex does Magda Langhans possess ?
(Q1883759,P21,c(Q290))
action filter_type
action find
entity Q1883759
relation P21
type Q290
['Q1883759', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q290 . resource:Q1883759 property:P21 ?k }
Magda Langhans
action filter_type
action find
entity Magda Langhans
relation gender
type sex
['Magda Langhans', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sex . resource:Magda_Langhans property:gender ?k }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q1883759,P21,c(Q290))
action filter_type
action find
entity Q1883759
relation P21
type Q290
Magda Langhans possesses a [ANSWER]
['Q1883759', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q290 . resource:Q1883759 property:P21 ?k }
female
Magda Langhans possesses a female
female
action filter_type
action find
entity Magda Langhans
relation gender
type sex
['Magda Langhans', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sex . resource:Magda_Langhans property:gender ?k }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5110945
Q290
USER
And what about Christine Brewer?
(Q5110945,P21,c(Q290))
action filter_type
action find
entity Q5110945
relation P21
type Q290
['Q5110945', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q290 . resource:Q5110945 property:P21 ?z }
Christine Brewer
action filter_type
action find
entity Christine Brewer
relation gender
type sex
['Christine Brewer', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sex . resource:Christine_Brewer property:gender ?z }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q5110945,P21,c(Q290))
action filter_type
action find
entity Q5110945
relation P21
type Q290
[ANSWER]
['Q5110945', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q290 . resource:Q5110945 property:P21 ?z }
female
female
action filter_type
action find
entity Christine Brewer
relation gender
type sex
['Christine Brewer', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sex . resource:Christine_Brewer property:gender ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5110945
P106
Q12737077
USER
What do that person do for a living ?
(Q6581072,P106,c(Q12737077))
action filter_type
action find
entity Q5110945
relation P106
type Q12737077
['Q6581072', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q5110945 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Christine Brewer
action filter_type
action find
entity Christine Brewer
relation occupation
type occupation
['female', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Christine_Brewer property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q2865819 Q16145150 Q177220
SYSTEM
opera singer, music educator, singer
Q2865819 Q16145150 Q177220
(Q6581072,P106,c(Q12737077))
action filter_type
action find
entity Q5110945
relation P106
type Q12737077
[ANSWERS] that person do for a living
['Q6581072', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q5110945 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
opera singer music educator singer
Opera singer, music educator and singer that person do for a living
opera singer music educator singer
action filter_type
action find
entity Christine Brewer
relation occupation
type occupation
['female', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Christine_Brewer property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q177220
P101
Q502895
USER
Which people work in the domain of that occupation ?
(c(Q502895),P101,Q177220)
action filter_type
action find_reverse
entity Q177220
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q177220']
SELECT DISTINCT ?q WHERE { ?q property:P101 resource:Q177220 . ?q rdf:type ontology:Q502895 }
singer
action filter_type
action find_reverse
entity singer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'singer']
SELECT DISTINCT ?q WHERE { ?q property:field_of_work resource:singer . ?q rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q2865819
SYSTEM
Did you mean opera singer ?
Q2865819 Q16145150 Q177220
(c(Q502895),P101,Q2865819) (c(Q502895),P101,Q16145150) (c(Q502895),P101,Q177220)
[ANSWER]
[{'concept': 'Q502895'}, 'P101', 'Q2865819'] [{'concept': 'Q502895'}, 'P101', 'Q16145150'] [{'concept': 'Q502895'}, 'P101', 'Q177220']
SELECT DISTINCT ?q WHERE { ?q property:P101 resource:Q177220 . ?q rdf:type ontology:Q502895 }
opera singer music educator singer
Did you mean opera singer ?
opera singer
[{'concept': 'common name'}, 'field of work', 'opera singer'] [{'concept': 'common name'}, 'field of work', 'music educator'] [{'concept': 'common name'}, 'field of work', 'singer']
SELECT DISTINCT ?q WHERE { ?q property:field_of_work resource:singer . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant singer. Could you tell me the answer for that?
(c(Q502895),P101,Q177220)
Q177220
[{'concept': 'Q502895'}, 'P101', 'Q177220']
[{'concept': 'common name'}, 'field of work', 'singer']
[]
Q738505 Q6024866 Q5957599
SYSTEM
Renan Luce, Indila, Hamid Jebelli
Q738505 Q6024866 Q910761 Q5957599
(c(Q502895),P101,Q177220)
action filter_type
action find_reverse
entity Q177220
relation P101
type Q502895
[ANSWERS] work in the domain of that occupation
[{'concept': 'Q502895'}, 'P101', 'Q177220']
SELECT DISTINCT ?q WHERE { ?q property:P101 resource:Q177220 . ?q rdf:type ontology:Q502895 }
Renan Luce Indila Mac Davis Hamid Jebelli
Renan Luce, Indila and Hamid Jebelli work in the domain of that occupation
Renan Luce Indila Hamid Jebelli
action filter_type
action find_reverse
entity singer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'singer']
SELECT DISTINCT ?q WHERE { ?q property:field_of_work resource:singer . ?q rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1055
P137
Q2668072
USER
Which collection can be described as facility operator of Hamburg ?
(c(Q2668072),P137,Q1055)
action filter_type
action find_reverse
entity Q1055
relation P137
type Q2668072
[{'concept': 'Q2668072'}, 'P137', 'Q1055']
SELECT DISTINCT ?t WHERE { ?t property:P137 resource:Q1055 . ?t rdf:type ontology:Q2668072 }
Hamburg
action filter_type
action find_reverse
entity Hamburg
relation operator
type collection
[{'concept': 'collection'}, 'operator', 'Hamburg']
SELECT DISTINCT ?t WHERE { ?t property:operator resource:Hamburg . ?t rdf:type ontology:collection }
[]
collection
Q2324644
SYSTEM
Staats- und Universitätsbibliothek Hamburg
Q2324644
(c(Q2668072),P137,Q1055)
action filter_type
action find_reverse
entity Q1055
relation P137
type Q2668072
[ANSWER] can be described as facility operator of Hamburg
[{'concept': 'Q2668072'}, 'P137', 'Q1055']
SELECT DISTINCT ?t WHERE { ?t property:P137 resource:Q1055 . ?t rdf:type ontology:Q2668072 }
Staats- und Universitätsbibliothek Hamburg
Staats- und Universitätsbibliothek Hamburg can be described as facility operator of Hamburg
Staats- und Universitätsbibliothek Hamburg
action filter_type
action find_reverse
entity Hamburg
relation operator
type collection
[{'concept': 'collection'}, 'operator', 'Hamburg']
SELECT DISTINCT ?t WHERE { ?t property:operator resource:Hamburg . ?t rdf:type ontology:collection }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1055
P1313
Q12737077
USER
Which occupation serves as the political office that is fulfilled by the head of the government of Hamburg ?
(Q1055,P1313,c(Q12737077))
action filter_type
action find
entity Q1055
relation P1313
type Q12737077
['Q1055', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q1055 property:P1313 ?y . ?y rdf:type ontology:Q12737077 }
Hamburg
action filter_type
action find
entity Hamburg
relation office held by head of government
type occupation
['Hamburg', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Hamburg property:office_held_by_head_of_government ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q1362118
SYSTEM
First Mayor of Hamburg
Q1362118
(Q1055,P1313,c(Q12737077))
action filter_type
action find
entity Q1055
relation P1313
type Q12737077
The [ANSWER] serves as the political office that is fulfilled by the head of the government of Hamburg
['Q1055', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q1055 property:P1313 ?y . ?y rdf:type ontology:Q12737077 }
First Mayor of Hamburg
The First Mayor of Hamburg serves as the political office that is fulfilled by the head of the government of Hamburg
First Mayor of Hamburg
action filter_type
action find
entity Hamburg
relation office held by head of government
type occupation
['Hamburg', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Hamburg property:office_held_by_head_of_government ?y . ?y rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1682199 Q5957599
P58
Q838948
USER
Which works of art are Hamid Jebelli or Jan Schomburg a screwriter of ?
OR((c(Q838948),P58,Q5957599), (c(Q838948),P58,Q1682199))
action filter_type
action union
action find_reverse
entity Q5957599
relation P58
action find_reverse
entity Q1682199
relation P58
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P58', 'Q5957599'], [{'concept': 'Q838948'}, 'P58', 'Q1682199']]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?a ) { ( resource:Q1682199 ) ( resource:Q5957599 ) } . ?j property:P58 ?a } . ?j rdf:type ontology:Q838948 }
Jan Schomburg Hamid Jebelli
action filter_type
action union
action find_reverse
entity Hamid Jebelli
relation screenwriter
action find_reverse
entity Jan Schomburg
relation screenwriter
type work of art
{'OR': [[{'concept': 'work of art'}, 'screenwriter', 'Hamid Jebelli'], [{'concept': 'work of art'}, 'screenwriter', 'Jan Schomburg']]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?a ) { ( resource:Jan_Schomburg ) ( resource:Hamid_Jebelli ) } . ?j property:screenwriter ?a } . ?j rdf:type ontology:work_of_art }
[]
work of art
Q331210 Q14755992 Q24263770
SYSTEM
Above Us Only Sky, son of Maryam, Before Dawn
Q331210 Q14755992 Q24263770
OR((c(Q838948),P58,Q5957599), (c(Q838948),P58,Q1682199))
action filter_type
action union
action find_reverse
entity Q5957599
relation P58
action find_reverse
entity Q1682199
relation P58
type Q838948
[ANSWERS] are Hamid Jebelli or Jan Schomburg a screwriter of
{'OR': [[{'concept': 'Q838948'}, 'P58', 'Q5957599'], [{'concept': 'Q838948'}, 'P58', 'Q1682199']]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?a ) { ( resource:Q1682199 ) ( resource:Q5957599 ) } . ?j property:P58 ?a } . ?j rdf:type ontology:Q838948 }
Above Us Only Sky son of Maryam Before Dawn
Above Us Only Sky, son of Maryam and Before Dawn are Hamid Jebelli or Jan Schomburg a screwriter of
Above Us Only Sky son of Maryam Before Dawn
action filter_type
action union
action find_reverse
entity Hamid Jebelli
relation screenwriter
action find_reverse
entity Jan Schomburg
relation screenwriter
type work of art
{'OR': [[{'concept': 'work of art'}, 'screenwriter', 'Hamid Jebelli'], [{'concept': 'work of art'}, 'screenwriter', 'Jan Schomburg']]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?a ) { ( resource:Jan_Schomburg ) ( resource:Hamid_Jebelli ) } . ?j property:screenwriter ?a } . ?j rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q331210
P161
Q502895
USER
Which person is in Above Us Only Sky ?
(Q331210,P161,c(Q502895))
action filter_type
action find
entity Q331210
relation P161
type Q502895
['Q331210', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q331210 property:P161 ?q . ?q rdf:type ontology:Q502895 }
Above Us Only Sky
action filter_type
action find
entity Above Us Only Sky
relation cast member
type common name
['Above Us Only Sky', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Above_Us_Only_Sky property:cast_member ?q . ?q rdf:type ontology:common_name }
[]
common name
Q70003
SYSTEM
Sandra Hüller
Q70003
(Q331210,P161,c(Q502895))
action filter_type
action find
entity Q331210
relation P161
type Q502895
[ANSWER] is in Above Us Only Sky
['Q331210', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q331210 property:P161 ?q . ?q rdf:type ontology:Q502895 }
Sandra Hüller
Sandra Hüller is in Above Us Only Sky
Sandra Hüller
action filter_type
action find
entity Above Us Only Sky
relation cast member
type common name
['Above Us Only Sky', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Above_Us_Only_Sky property:cast_member ?q . ?q rdf:type ontology:common_name }
[]