Simple Question (Direct)
Simple Question
Q1476674
P106
Q12737077
USER
What does Jens Petermann do for a living ?
(Q1476674,P106,c(Q12737077))
action filter_type
action find
entity Q1476674
relation P106
type Q12737077
['Q1476674', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q1476674 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Jens Petermann
action filter_type
action find
entity Jens Petermann
relation occupation
type occupation
['Jens Petermann', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Jens_Petermann property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q1476674,P106,c(Q12737077))
action filter_type
action find
entity Q1476674
relation P106
type Q12737077
[ANSWER] Jens Petermann does for a living
['Q1476674', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q1476674 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
politician
Politician Jens Petermann does for a living
politician
action filter_type
action find
entity Jens Petermann
relation occupation
type occupation
['Jens Petermann', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Jens_Petermann property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q82955
P39
Q502895
USER
Who held the position of that occupation ?
(c(Q502895),P39,Q82955)
action filter_type
action find_reverse
entity Q82955
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q82955']
SELECT DISTINCT ?s WHERE { ?s property:P39 resource:Q82955 . ?s rdf:type ontology:Q502895 }
politician
action filter_type
action find_reverse
entity politician
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'politician']
SELECT DISTINCT ?s WHERE { ?s property:position_held resource:politician . ?s rdf:type ontology:common_name }
[]
common name
Q26215129
SYSTEM
Morteza Azari
Q26215129
(c(Q502895),P39,Q82955)
action filter_type
action find_reverse
entity Q82955
relation P39
type Q502895
[ANSWER] held the position of that occupation
[{'concept': 'Q502895'}, 'P39', 'Q82955']
SELECT DISTINCT ?s WHERE { ?s property:P39 resource:Q82955 . ?s rdf:type ontology:Q502895 }
Morteza Azari
Morteza Azari held the position of that occupation
Morteza Azari
action filter_type
action find_reverse
entity politician
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'politician']
SELECT DISTINCT ?s WHERE { ?s property:position_held resource:politician . ?s rdf:type ontology:common_name }
[]