Question: Who was the nominee nominated for the Academy Award for Best Cinematography for Julia (the one that was nominated for Academy Award for Best Costume Design)?
Choices:
Ron Nyswaner
Steven Brill
Christopher McQuarrie
Paul Thomas Anderson
Dave Grusin
Charles M. Wilborn
Paul Pattison
Douglas Slocombe
Eddie Murphy
Michael Seirton
Answer: Douglas Slocombe
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Julia" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Costume Design" . ?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: Academy Award for Best Costume Design
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Julia
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Cinematography
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
nominee