Simple Question (Direct)
Simple Question
Q4760573
P106
Q12737077
USER
Which occupation has Andy Dahmani as his/her 's career ?
(Q4760573,P106,c(Q12737077))
action filter_type
action find
entity Q4760573
relation P106
type Q12737077
['Q4760573', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q4760573 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Andy Dahmani
action filter_type
action find
entity Andy Dahmani
relation occupation
type occupation
['Andy Dahmani', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Andy_Dahmani property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q4760573,P106,c(Q12737077))
action filter_type
action find
entity Q4760573
relation P106
type Q12737077
As [ANSWER] has Andy Dahmani as his/her 's career
['Q4760573', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q4760573 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
association football player
As association football player has Andy Dahmani as his/her 's career
association football player
action filter_type
action find
entity Andy Dahmani
relation occupation
type occupation
['Andy Dahmani', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Andy_Dahmani property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q937857
P800
Q502895
USER
Whose notable work was that occupation ?
(c(Q502895),P800,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q937857']
SELECT DISTINCT ?x WHERE { ?x property:P800 resource:Q937857 . ?x rdf:type ontology:Q502895 }
association football player
action filter_type
action find_reverse
entity association football player
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'association football player']
SELECT DISTINCT ?x WHERE { ?x property:notable_work resource:association_football_player . ?x rdf:type ontology:common_name }
[]
common name
Q23047441
SYSTEM
Hugh Morgan-Owen
Q23047441
(c(Q502895),P800,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P800
type Q502895
[ANSWER] was that occupation
[{'concept': 'Q502895'}, 'P800', 'Q937857']
SELECT DISTINCT ?x WHERE { ?x property:P800 resource:Q937857 . ?x rdf:type ontology:Q502895 }
Hugh Morgan-Owen
Hugh Morgan-Owen was that occupation
Hugh Morgan-Owen
action filter_type
action find_reverse
entity association football player
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'association football player']
SELECT DISTINCT ?x WHERE { ?x property:notable_work resource:association_football_player . ?x rdf:type ontology:common_name }
[]