Question: Which work is awarded the Academy Award for Best Director for which Christopher Nolan (who is the director of The Dark Knight Rises) was nominated?
Choices:
Bolero
The Brothers Karamazov
Dunkirk
Harry Potter and the Deathly Hallows – Part 1
Mr. Show with Bob and David
Paris, Texas
Happy
The Virgin Suicides
Profiles in Courage
Alice Doesn't Live Here Anymore
Program:
function: Find
inputs: The Dark Knight Rises
function: Relate
dependencies: 0
inputs: director
forward
function: Find
inputs: Christopher Nolan
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Director
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
for work
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Christopher Nolan" . ?e_3 <director> ?e_1 . ?e_3 <pred:name> "The Dark Knight Rises" . ?e_2 <pred:name> "Academy Award for Best Director" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Answer: Dunkirk