Question: What is the work that was awarded for Peter Fonda got nominated for Academy Award for Best Writing, Original Screenplay
Choices:
The Wings of the Dove
Indecent Proposal
The Collector
The Zenith Angle
You Are There
Easy Rider
The Moon and Sixpence
As Good as It Gets
The Accountant
Teenage Father
Answer: Easy Rider
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Peter Fonda" . ?e_2 <pred:name> "Academy Award for Best Writing, Original Screenplay" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: Peter Fonda
function: Find
inputs: Academy Award for Best Writing, Original Screenplay
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
for work