Question: What work did Peter Stone (the one that received Academy Award for Best Writing, Original Screenplay) receive the Academy Award for Best Writing, Original Screenplay for?
Choices:
For Scent-imental Reasons
The Poseidon Adventure
Little Brother
Witness
A Wild Hare
Free Live Free
Bell, Book and Candle
Johnny Doughboy
King Kong
Father Goose
Answer: Father Goose
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Peter Stone" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Writing, Original Screenplay" . ?e_2 <pred:name> "Academy Award for Best Writing, Original Screenplay" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: Academy Award for Best Writing, Original Screenplay
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Peter Stone
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Writing, Original Screenplay
function: QueryRelationQualifier
dependencies: 3
4
inputs: award received
for work