Question: Which screenwriter served as director of photography on How the West Was Won?
Choices:
Freddie Francis
Kareem Abdul-Jabbar
Quentin Tarantino
Robert Rodriguez
Cecil B. DeMille
Charles Lang
William H. Daniels
Chris Elliott
Milton R. Krasner
Joseph LaShelle
Program:
function: Find
inputs: screenwriter
function: Relate
dependencies: 0
inputs: occupation
backward
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: How the West Was Won
function: Relate
dependencies: 3
inputs: director of photography
forward
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <occupation> ?e_1 . ?e_1 <pred:name> "screenwriter" .  ?e_2 <director_of_photography> ?e . ?e_2 <pred:name> "How the West Was Won" .  }
Answer: Charles Lang