Question: Who was nominated for an Academy Award for Best Director for Great Expectations (whose script was written by Ronald Neame)?
Choices: Ruth Prawer Jhabvala
Rooney Mara
Hilary Swank
Tom Rolf
Mike Smithson
David A. Whittaker
David Lean
Eddie Albert
Walter Mirisch
Robert Preston
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Great Expectations" . ?e_1 <screenwriter> ?e_3 . ?e_3 <pred:name> "Ronald Neame" . ?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 ] <nominee> ?qpv .  }
Program:
function: Find
inputs: Ronald Neame
function: Relate
dependencies: 0
inputs: screenwriter
backward
function: Find
inputs: Great Expectations
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Director
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
nominee
Answer: David Lean