Question: Who was director of photography on the film for which Lamar Trotti won an Academy Award for Best Writing, Original Screenplay?
Choices:
Barry Sonnenfeld
Roger Deakins
Milton R. Krasner
Conrad Hall
Leon Shamroy
Paul Gross
Robert L. Surtees
Tom Jones
John Seale
Max Fleischer
Answer: Leon Shamroy
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <director_of_photography> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "film" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Writing, Original Screenplay" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_3 ] <winner> ?qpv . ?qpv <pred:value> "Lamar Trotti" .   }
Program:
function: Find
inputs: Academy Award for Best Writing, Original Screenplay
function: Relate
dependencies: 0
inputs: award received
backward
function: QFilterStr
dependencies: 1
inputs: winner
Lamar Trotti
function: FilterConcept
dependencies: 2
inputs: film
function: Relate
dependencies: 3
inputs: director of photography
forward
function: FilterConcept
dependencies: 4
inputs: human
function: What
dependencies: 5