Question: Who was the director of.photography of a movie that received  Academy Award for Best Actor (the winner of this statement is John Wayne)?
Choices:
K. Balachander
Robert L. Surtees
Robert Elswit
Tak Fujimoto
Lucien Ballard
Max Fleischer
Miyuki Sawashiro
Steve Jobs
Sol Polito
Sylvester Stallone
Answer: Lucien Ballard
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 Actor" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_3 ] <winner> ?qpv . ?qpv <pred:value> "John Wayne" .   }
Program:
function: Find
inputs: Academy Award for Best Actor
function: Relate
dependencies: 0
inputs: award received
backward
function: QFilterStr
dependencies: 1
inputs: winner
John Wayne
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