Question: Who is the nominee nominated for an Academy Award for Best Cinematography for Morocco (the one that received National Film Registry)?
Choices:
Lee Garmes
Edith Head
Erik-Jan de Boer
Barry Thomas
Rinko Kikuchi
Jan A. P. Kaczmarek
Seamus McGarvey
Saar Klein
Michael Stringer
Paul Smith
Answer: Lee Garmes
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Morocco" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> "National Film Registry" . ?e_2 <pred:name> "Academy Award for Best Cinematography" . ?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: National Film Registry
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Morocco
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Cinematography
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
nominee