Question: Who was nominated for the Academy Award for Best Film Editing for On Golden Pond (produced by Metro-Goldwyn-Mayer)?
Choices:
Mike Figgis
Don Sharpe
Cedric Gibbons
Ernest Lehman
Stephen Hunter Flick
Nick Park
Robert L. Wolfe
Harvey Keitel
Geoffrey S. Fletcher
Tom Myers
Answer: Robert L. Wolfe
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "On Golden Pond" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> "Metro-Goldwyn-Mayer" . ?e_2 <pred:name> "Academy Award for Best Film Editing" . ?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: Metro-Goldwyn-Mayer
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: On Golden Pond
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Film Editing
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
nominee