Question: Who is the agent that discovered Richard Pryor at Berkeley?
Choices:
Todd McFarlane
Richard Branson
George Washington
William Henry Harrison
David Byrne
Colin Wilson
Nikola Tesla
Richard Gere
Max Fleischer
Sylvester Stallone
Program:
function: Find
inputs: Richard Pryor
function: Relate
dependencies: 0
inputs: residence
forward
function: Find
inputs: Berkeley
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: headquarters location
backward
function: FilterConcept
dependencies: 4
inputs: agent
function: Relate
dependencies: 5
inputs: found
backward
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 <found> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "agent" . ?e_1 <headquarters_location> ?e_2 . ?e_2 <pred:name> "Berkeley" . ?e_3 <residence> ?e_2 . ?e_3 <pred:name> "Richard Pryor" .   }
Answer: Todd McFarlane