Question: What is the name of the nominee of the Academy Award for Best Writing, Adapted Screenplay for Atonement (the one that was nominated for Academy Award for Best Cinematography)?
Choices:
Stephen Rosenbaum
Lorraine Bracco
John Dighton
Thomas Causey
Wendell Mayes
David Bretherton
Red Buttons
Richard Curtis
Christopher Hampton
David Warren
Program:
function: Find
inputs: Academy Award for Best Cinematography
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Atonement
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Writing, Adapted Screenplay
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
nominee
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Atonement" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Cinematography" . ?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 ] <nominee> ?qpv .  }
Answer: Christopher Hampton