Simple Question (Direct)
Simple Question
Q895440
P161
Q502895
USER
Who starred in Bowfinger ?
(Q895440,P161,c(Q502895))
action filter_type
action find
entity Q895440
relation P161
type Q502895
['Q895440', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q895440 property:P161 ?i . ?i rdf:type ontology:Q502895 }
Bowfinger
action filter_type
action find
entity Bowfinger
relation cast member
type common name
['Bowfinger', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Bowfinger property:cast_member ?i . ?i rdf:type ontology:common_name }
[]
common name
Q16473 Q165219 Q43874
SYSTEM
Steve Martin, Robert Downey, Jr., Eddie Murphy
Q16473 Q224026 Q43874 Q165219 Q355133 Q2832463 Q77298 Q229134 Q705352
(Q895440,P161,c(Q502895))
action filter_type
action find
entity Q895440
relation P161
type Q502895
[ANSWERS] starred in Bowfinger
['Q895440', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q895440 property:P161 ?i . ?i rdf:type ontology:Q502895 }
Steve Martin Heather Graham Eddie Murphy Robert Downey, Jr. Jamie Kennedy Alejandro Patino Terence Stamp Christine Baranski Barry Newman
Steve Martin, Robert Downey, Jr. and Eddie Murphy starred in Bowfinger
Steve Martin Robert Downey, Jr. Eddie Murphy
action filter_type
action find
entity Bowfinger
relation cast member
type common name
['Bowfinger', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Bowfinger property:cast_member ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q895440
P58
Q502895
USER
Who wrote the screenplay for that work of art ?
(Q16473,P58,c(Q502895)) (Q165219,P58,c(Q502895)) (Q43874,P58,c(Q502895))
action filter_type
action find
entity Q895440
relation P58
type Q502895
['Q16473', 'P58', {'concept': 'Q502895'}] ['Q165219', 'P58', {'concept': 'Q502895'}] ['Q43874', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q895440 property:P58 ?n . ?n rdf:type ontology:Q502895 }
Bowfinger
action filter_type
action find
entity Bowfinger
relation screenwriter
type common name
['Steve Martin', 'screenwriter', {'concept': 'common name'}] ['Robert Downey, Jr.', 'screenwriter', {'concept': 'common name'}] ['Eddie Murphy', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Bowfinger property:screenwriter ?n . ?n rdf:type ontology:common_name }
[]
common name
Q16473
SYSTEM
Steve Martin
Q16473
(Q16473,P58,c(Q502895)) (Q165219,P58,c(Q502895)) (Q43874,P58,c(Q502895))
action filter_type
action find
entity Q895440
relation P58
type Q502895
[ANSWER] wrote the screenplay for that work of art
['Q16473', 'P58', {'concept': 'Q502895'}] ['Q165219', 'P58', {'concept': 'Q502895'}] ['Q43874', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q895440 property:P58 ?n . ?n rdf:type ontology:Q502895 }
Steve Martin
Steve Martin wrote the screenplay for that work of art
Steve Martin
action filter_type
action find
entity Bowfinger
relation screenwriter
type common name
['Steve Martin', 'screenwriter', {'concept': 'common name'}] ['Robert Downey, Jr.', 'screenwriter', {'concept': 'common name'}] ['Eddie Murphy', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Bowfinger property:screenwriter ?n . ?n rdf:type ontology:common_name }
[]