Question: Which human is a cast member of The Painted Veil (whose director of photography is William H. Daniels) and has a date of birth before 1964?
Choices:
Anthony Wong
Walter Brennan
David Brown
Federico Fellini
Clark Gable
Joe Pasternak
William Henry Harrison
Sylvester Stallone
Ernst Lubitsch
Eli Wallach
Answer: Walter Brennan
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> "The Painted Veil" . ?e_1 <director_of_photography> ?e_2 . ?e_2 <pred:name> "William H. Daniels" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1964 ) .  }
Program:
function: Find
inputs: William H. Daniels
function: Relate
dependencies: 0
inputs: director of photography
backward
function: Find
inputs: The Painted Veil
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: cast member
forward
function: FilterConcept
dependencies: 4
inputs: human
function: FindAll
function: FilterYear
dependencies: 6
inputs: date of birth
1964
<
function: FilterConcept
dependencies: 7
inputs: human
function: And
dependencies: 5
8
function: What
dependencies: 9