Simple Question (Direct)
Simple Question
Q11768637
P20
Q56061
USER
Where did Marek Żuławski die ?
(Q11768637,P20,c(Q56061))
action filter_type
action find
entity Q11768637
relation P20
type Q56061
['Q11768637', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q11768637 property:P20 ?s . ?s rdf:type ontology:Q56061 }
Marek Żuławski
action filter_type
action find
entity Marek Żuławski
relation place of death
type administrative territorial entity
['Marek Żuławski', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Marek_Żuławski property:place_of_death ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q11768637,P20,c(Q56061))
action filter_type
action find
entity Q11768637
relation P20
type Q56061
Marek Żuławski died in [ANSWER]
['Q11768637', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q11768637 property:P20 ?s . ?s rdf:type ontology:Q56061 }
London
Marek Żuławski died in London
London
action filter_type
action find
entity Marek Żuławski
relation place of death
type administrative territorial entity
['Marek Żuławski', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Marek_Żuławski property:place_of_death ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11768637
P106
Q12737077
USER
What are the professions of Marek Żuławski ?
(Q11768637,P106,c(Q12737077))
action filter_type
action find
entity Q11768637
relation P106
type Q12737077
['Q11768637', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . resource:Q11768637 property:P106 ?f }
Marek Żuławski
action filter_type
action find
entity Marek Żuławski
relation occupation
type occupation
['Marek Żuławski', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . resource:Marek_Żuławski property:occupation ?f }
[]
occupation
Q1028181 Q627325
SYSTEM
painter, graphic designer
Q1028181 Q627325
(Q11768637,P106,c(Q12737077))
action filter_type
action find
entity Q11768637
relation P106
type Q12737077
The professions of Marek Żuławski are the [ANSWERS]
['Q11768637', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . resource:Q11768637 property:P106 ?f }
painter graphic designer
The professions of Marek Żuławski are the painter and graphic designer
painter graphic designer
action filter_type
action find
entity Marek Żuławski
relation occupation
type occupation
['Marek Żuławski', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . resource:Marek_Żuławski property:occupation ?f }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1028181 Q627325
P101
Q502895
USER
Which people have specialisation in painter and graphic designer ?
(c(Q502895),P101,Q1028181) (c(Q502895),P101,Q627325)
action union
action filter_type
action find_reverse
entity Q1028181
relation P101
type Q502895
action filter_type
action find_reverse
entity Q627325
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q1028181'] [{'concept': 'Q502895'}, 'P101', 'Q627325']
SELECT DISTINCT ?z WHERE { VALUES ( ?j ) { ( resource:Q1028181 ) ( resource:Q627325 ) } . ?z property:P101 ?j }
painter graphic designer
action union
action filter_type
action find_reverse
entity painter
relation field of work
type common name
action filter_type
action find_reverse
entity graphic designer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'painter'] [{'concept': 'common name'}, 'field of work', 'graphic designer']
SELECT DISTINCT ?z WHERE { VALUES ( ?j ) { ( resource:painter ) ( resource:graphic_designer ) } . ?z property:field_of_work ?j }
[]
common name
Q352 Q5582 Q102139
SYSTEM
Adolf Hitler, Vincent van Gogh, Margrethe II of Denmark
Q352 Q102139 Q5582 Q21485173
(c(Q502895),P101,Q1028181) (c(Q502895),P101,Q627325)
action union
action filter_type
action find_reverse
entity Q1028181
relation P101
type Q502895
action filter_type
action find_reverse
entity Q627325
relation P101
type Q502895
[ANSWERS] have specialisation in painter and graphic designer
[{'concept': 'Q502895'}, 'P101', 'Q1028181'] [{'concept': 'Q502895'}, 'P101', 'Q627325']
SELECT DISTINCT ?z WHERE { VALUES ( ?j ) { ( resource:Q1028181 ) ( resource:Q627325 ) } . ?z property:P101 ?j }
Adolf Hitler Margrethe II of Denmark Vincent van Gogh Jean Jullien
Adolf Hitler, Vincent van Gogh and Margrethe II of Denmark have specialisation in painter and graphic designer
Adolf Hitler Vincent van Gogh Margrethe II of Denmark
action union
action filter_type
action find_reverse
entity painter
relation field of work
type common name
action filter_type
action find_reverse
entity graphic designer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'painter'] [{'concept': 'common name'}, 'field of work', 'graphic designer']
SELECT DISTINCT ?z WHERE { VALUES ( ?j ) { ( resource:painter ) ( resource:graphic_designer ) } . ?z property:field_of_work ?j }
[]
Clarification
Simple Question|Single Entity|Indirect
Q352
P35
Q7275
USER
Which state is headed by that person ?
(c(Q7275),P35,Q352)
action filter_type
action find_reverse
entity Q352
relation P35
type Q7275
[{'concept': 'Q7275'}, 'P35', 'Q352']
SELECT DISTINCT ?e WHERE { ?e property:P35 resource:Q352 . ?e rdf:type ontology:Q7275 }
Adolf Hitler
action filter_type
action find_reverse
entity Adolf Hitler
relation head of state
type state
[{'concept': 'state'}, 'head of state', 'Adolf Hitler']
SELECT DISTINCT ?e WHERE { ?e property:head_of_state resource:Adolf_Hitler . ?e rdf:type ontology:state }
[]
state
Clarification for simple ques.
Q102139
SYSTEM
Did you mean Margrethe II of Denmark ?
Q352 Q5582 Q102139
(c(Q7275),P35,Q352) (c(Q7275),P35,Q5582) (c(Q7275),P35,Q102139)
[ANSWER]
[{'concept': 'Q7275'}, 'P35', 'Q352'] [{'concept': 'Q7275'}, 'P35', 'Q5582'] [{'concept': 'Q7275'}, 'P35', 'Q102139']
SELECT DISTINCT ?e WHERE { ?e property:P35 resource:Q352 . ?e rdf:type ontology:Q7275 }
Adolf Hitler Vincent van Gogh Margrethe II of Denmark
Did you mean Margrethe II of Denmark ?
Margrethe II of Denmark
[{'concept': 'state'}, 'head of state', 'Adolf Hitler'] [{'concept': 'state'}, 'head of state', 'Vincent van Gogh'] [{'concept': 'state'}, 'head of state', 'Margrethe II of Denmark']
SELECT DISTINCT ?e WHERE { ?e property:head_of_state resource:Adolf_Hitler . ?e rdf:type ontology:state }
[]
Simple Question (Coreferenced)
USER
No, I meant Adolf Hitler. Could you tell me the answer for that?
(c(Q7275),P35,Q352)
Q352
[{'concept': 'Q7275'}, 'P35', 'Q352']
[{'concept': 'state'}, 'head of state', 'Adolf Hitler']
[]
Q7318
SYSTEM
Nazi Germany
Q7318
(c(Q7275),P35,Q352)
action filter_type
action find_reverse
entity Q352
relation P35
type Q7275
Germany [ANSWER] is headed by that person
[{'concept': 'Q7275'}, 'P35', 'Q352']
SELECT DISTINCT ?e WHERE { ?e property:P35 resource:Q352 . ?e rdf:type ontology:Q7275 }
Nazi Germany
Germany Nazi Germany is headed by that person
Nazi Germany
action filter_type
action find_reverse
entity Adolf Hitler
relation head of state
type state
[{'concept': 'state'}, 'head of state', 'Adolf Hitler']
SELECT DISTINCT ?e WHERE { ?e property:head_of_state resource:Adolf_Hitler . ?e rdf:type ontology:state }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q352
P102
Q7210356
USER
Which political organizations are Adolf Hitler a member of ?
(Q352,P102,c(Q7210356))
action filter_type
action find
entity Q352
relation P102
type Q7210356
['Q352', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?r WHERE { resource:Q352 property:P102 ?r . ?r rdf:type ontology:Q7210356 }
Adolf Hitler
action filter_type
action find
entity Adolf Hitler
relation member of political party
type political organization
['Adolf Hitler', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?r WHERE { resource:Adolf_Hitler property:member_of_political_party ?r . ?r rdf:type ontology:political_organization }
[]
political organization
Q7320 Q631205
SYSTEM
Nazi Party, German Workers' Party
Q7320 Q631205
(Q352,P102,c(Q7210356))
action filter_type
action find
entity Q352
relation P102
type Q7210356
Germany [ANSWERS] are Adolf Hitler a member of
['Q352', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?r WHERE { resource:Q352 property:P102 ?r . ?r rdf:type ontology:Q7210356 }
Nazi Party German Workers' Party
Germany Nazi Party and German Workers' Party are Adolf Hitler a member of
Nazi Party German Workers' Party
action filter_type
action find
entity Adolf Hitler
relation member of political party
type political organization
['Adolf Hitler', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?r WHERE { resource:Adolf_Hitler property:member_of_political_party ?r . ?r rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7318
P127
Q811430
USER
Which construction belongs to Nazi Germany ?
(c(Q811430),P127,Q7318)
action filter_type
action find_reverse
entity Q7318
relation P127
type Q811430
[{'concept': 'Q811430'}, 'P127', 'Q7318']
SELECT DISTINCT ?w WHERE { ?w property:P127 resource:Q7318 . ?w rdf:type ontology:Q811430 }
Nazi Germany
action filter_type
action find_reverse
entity Nazi Germany
relation owned by
type construction
[{'concept': 'construction'}, 'owned by', 'Nazi Germany']
SELECT DISTINCT ?w WHERE { ?w property:owned_by resource:Nazi_Germany . ?w rdf:type ontology:construction }
[]
construction
Q700577
SYSTEM
Werwolf
Q700577
(c(Q811430),P127,Q7318)
action filter_type
action find_reverse
entity Q7318
relation P127
type Q811430
Germany [ANSWER] belongs to Nazi Germany
[{'concept': 'Q811430'}, 'P127', 'Q7318']
SELECT DISTINCT ?w WHERE { ?w property:P127 resource:Q7318 . ?w rdf:type ontology:Q811430 }
Werwolf
Germany Werwolf belongs to Nazi Germany
Werwolf
action filter_type
action find_reverse
entity Nazi Germany
relation owned by
type construction
[{'concept': 'construction'}, 'owned by', 'Nazi Germany']
SELECT DISTINCT ?w WHERE { ?w property:owned_by resource:Nazi_Germany . ?w rdf:type ontology:construction }
[]