Question: Who was nominated for an Academy Award for Best Film Editing for Hello, Dolly! (whose production company is 20th Century Fox)?
Choices:
Harry Stradling
John Gielgud
James Richard
William H. Reynolds
Margaret Avery
Henry Ginsberg
Anna B. Sheppard
Francis Ford Coppola
Lionel Couch
Gérard Depardieu
Answer: William H. Reynolds
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Hello, Dolly!" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> "20th Century Fox" . ?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: 20th Century Fox
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Hello, Dolly!
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Film Editing
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
nominee