Question: Tell me the work that was awarded for Alan J. Pakula was nominated for Academy Award for Best Director.
Choices:
Sin City
Fast & Furious 6
All the President's Men
Ray of Light
Les Misérables
The New Land
Our Lady of Darkness
Hotline Bling
Kid A
Quizás
Answer: All the President's Men
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Alan J. Pakula" . ?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 .  }
Program:
function: Find
inputs: Alan J. Pakula
function: Find
inputs: Academy Award for Best Director
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
for work