Simple Question (Direct)
Simple Question
Q751329
P178
Q28640
USER
Who produced The Sims 2: Pets ?
(Q751329,P178,c(Q28640))
action filter_type
action find
entity Q751329
relation P178
type Q28640
['Q751329', 'P178', {'concept': 'Q28640'}]
SELECT DISTINCT ?i WHERE { resource:Q751329 property:P178 ?i . ?i rdf:type ontology:Q28640 }
The Sims 2: Pets
action filter_type
action find
entity The Sims 2: Pets
relation developer
type profession
['The Sims 2: Pets', 'developer', {'concept': 'profession'}]
SELECT DISTINCT ?i WHERE { resource:The_Sims_2:_Pets property:developer ?i . ?i rdf:type ontology:profession }
[]
profession
Q220317
SYSTEM
Maxis
Q220317
(Q751329,P178,c(Q28640))
action filter_type
action find
entity Q751329
relation P178
type Q28640
As [ANSWER] produced The Sims 2: Pets
['Q751329', 'P178', {'concept': 'Q28640'}]
SELECT DISTINCT ?i WHERE { resource:Q751329 property:P178 ?i . ?i rdf:type ontology:Q28640 }
Maxis
As Maxis produced The Sims 2: Pets
Maxis
action filter_type
action find
entity The Sims 2: Pets
relation developer
type profession
['The Sims 2: Pets', 'developer', {'concept': 'profession'}]
SELECT DISTINCT ?i WHERE { resource:The_Sims_2:_Pets property:developer ?i . ?i rdf:type ontology:profession }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q220317
P108
Q502895
USER
Who works for that profession ?
(c(Q502895),P108,Q220317)
action filter_type
action find_reverse
entity Q220317
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q220317']
SELECT DISTINCT ?l WHERE { ?l property:P108 resource:Q220317 . ?l rdf:type ontology:Q502895 }
Maxis
action filter_type
action find_reverse
entity Maxis
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Maxis']
SELECT DISTINCT ?l WHERE { ?l property:employer resource:Maxis . ?l rdf:type ontology:common_name }
[]
common name
Q917565 Q5982400
SYSTEM
Leonard Boyarsky, Lucy Bradshaw
Q917565 Q5982400
(c(Q502895),P108,Q220317)
action filter_type
action find_reverse
entity Q220317
relation P108
type Q502895
[ANSWERS] work for that profession
[{'concept': 'Q502895'}, 'P108', 'Q220317']
SELECT DISTINCT ?l WHERE { ?l property:P108 resource:Q220317 . ?l rdf:type ontology:Q502895 }
Leonard Boyarsky Lucy Bradshaw
Leonard Boyarsky and Lucy Bradshaw work for that profession
Leonard Boyarsky Lucy Bradshaw
action filter_type
action find_reverse
entity Maxis
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Maxis']
SELECT DISTINCT ?l WHERE { ?l property:employer resource:Maxis . ?l rdf:type ontology:common_name }
[]