Question: What person, born before 1951, is the director of photography of Crossroads (whose composer is Ry Cooder)?
Choices:
Max Fleischer
William Henry Harrison
Richard Gere
Don Knotts
Joseph Ruttenberg
David Byrne
John Bailey
Sylvester Stallone
Michael Ballhaus
Tom Johnson
Answer: John Bailey
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1951 ) . ?e_1 <director_of_photography> ?e . ?e_1 <pred:name> "Crossroads" . ?e_1 <composer> ?e_2 . ?e_2 <pred:name> "Ry Cooder" .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: date of birth
1951
<
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: Ry Cooder
function: Relate
dependencies: 3
inputs: composer
backward
function: Find
inputs: Crossroads
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: director of photography
forward
function: FilterConcept
dependencies: 7
inputs: human
function: And
dependencies: 2
8
function: What
dependencies: 9