Question: Which work does film producer Mark Gordon was nominated for Academy Award for Best Picture?
Choices: Infernal Affairs
Saving Private Ryan
Since U Been Gone
War of the Worlds
House on Fire
Edward Scissorhands
Anaconda
Doo Wop
Gravity
Pearl Harbor
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Mark Gordon" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "film producer" . ?e_2 <pred:name> "Academy Award for Best Picture" . ?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: film producer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Mark Gordon
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Picture
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
for work
Answer: Saving Private Ryan