Question: Who was nominated for an Academy Award for Best Cinematography for their work on Algiers, a United Artists production?
Choices:
Doane Harrison
Jay Boekelheide
Fred Hynes
Paul Smith
Elliot Scott
Cecil B. DeMille
James Wong Howe
Mario Puzo
George Lucas
Mary Zophres
Answer: James Wong Howe
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Algiers" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> "United Artists" . ?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: United Artists
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Algiers
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Cinematography
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
nominee