Question: Which human is father of the human that is executive producer of Planet of the Apes (whose narrative location is Washington, D.C.)?
Choices:
Darryl F. Zanuck
Richard Gere
Max Fleischer
William Henry Harrison
John Mills
Jason Robards
Dharmendra
Nancy Cartwright
Sylvester Stallone
Siobhan Finneran
Program:
function: Find
inputs: Washington, D.C.
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Planet of the Apes
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: executive producer
forward
function: FilterConcept
dependencies: 4
inputs: human
function: Relate
dependencies: 5
inputs: father
forward
function: FilterConcept
dependencies: 6
inputs: human
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <father> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_2 <executive_producer> ?e_1 . ?e_2 <pred:name> "Planet of the Apes" . ?e_2 <narrative_location> ?e_3 . ?e_3 <pred:name> "Washington, D.C." .   }
Answer: Darryl F. Zanuck