Simple Question (Direct)
Simple Question
Q8019914
P106
Q151885
USER
What is the profession of William Walker ?
(Q8019914,P106,c(Q151885))
action filter_type
action find
entity Q8019914
relation P106
type Q151885
['Q8019914', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?b WHERE { resource:Q8019914 property:P106 ?b . ?b rdf:type ontology:Q151885 }
William Walker
action filter_type
action find
entity William Walker
relation occupation
type concept
['William Walker', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?b WHERE { resource:William_Walker property:occupation ?b . ?b rdf:type ontology:concept }
[]
concept
Q15627169
SYSTEM
trade unionist
Q15627169
(Q8019914,P106,c(Q151885))
action filter_type
action find
entity Q8019914
relation P106
type Q151885
The profession of William Walker is a [ANSWER]
['Q8019914', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?b WHERE { resource:Q8019914 property:P106 ?b . ?b rdf:type ontology:Q151885 }
trade unionist
The profession of William Walker is a trade unionist
trade unionist
action filter_type
action find
entity William Walker
relation occupation
type concept
['William Walker', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?b WHERE { resource:William_Walker property:occupation ?b . ?b rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15627169
P39
Q502895
USER
Which person held the position of that concept ?
(c(Q502895),P39,Q15627169)
action filter_type
action find_reverse
entity Q15627169
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q15627169']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . ?l property:P39 resource:Q15627169 }
trade unionist
action filter_type
action find_reverse
entity trade unionist
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'trade unionist']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . ?l property:position_held resource:trade_unionist }
[]
common name
Q17497034
SYSTEM
Paul-Henri Ravel
Q17497034
(c(Q502895),P39,Q15627169)
action filter_type
action find_reverse
entity Q15627169
relation P39
type Q502895
[ANSWER] held the position of that concept
[{'concept': 'Q502895'}, 'P39', 'Q15627169']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . ?l property:P39 resource:Q15627169 }
Paul-Henri Ravel
Paul-Henri Ravel held the position of that concept
Paul-Henri Ravel
action filter_type
action find_reverse
entity trade unionist
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'trade unionist']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . ?l property:position_held resource:trade_unionist }
[]