Question: A movie titled Algiers was nominated for Academy Award for Best Cinematography, but who's the nominee of it?
Choices:
Fredric M. Frank
James Wong Howe
James Agee
Paul Webster
Dody Dorn
Tony Bill
Raphael Bretton
Teresa Wright
John Osborne
Darla K. Anderson
Answer: James Wong Howe
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Algiers" . ?e_1 <title> ?pv . ?pv <pred:value> "Algiers" . ?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: Algiers
function: FilterStr
dependencies: 0
inputs: title
Algiers
function: Find
inputs: Academy Award for Best Cinematography
function: QueryRelationQualifier
dependencies: 1
2
inputs: nominated for
nominee