Question: For what work was Curtis Hanson nominated for an Academy Award for Best Writing, Adapted Screenplay?
Choices:
Hesitation Marks
Harry Potter and the Order of the Phoenix
L.A. Confidential
The Russians Are Coming, the Russians Are Coming
The Downward Spiral
WALL·E
The Last Battle
Hold Back the Dawn
Snow White and the Huntsman
Up
Answer: L.A. Confidential
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Curtis Hanson" . ?e_2 <pred:name> "Academy Award for Best Writing, Adapted 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: Curtis Hanson
function: Find
inputs: Academy Award for Best Writing, Adapted Screenplay
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
for work