Question: What person is the producer of The Gift (whose script is written by Joel Edgerton)?
Choices:
Rahul Dev Burman
Jim Belushi
Simon Cowell
Sylvester Stallone
Max Fleischer
Joel Edgerton
Tara Reid
Judi Dench
William Henry Harrison
David Byrne
Program:
function: Find
inputs: Joel Edgerton
function: Relate
dependencies: 0
inputs: screenwriter
backward
function: Find
inputs: The Gift
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: producer
forward
function: FilterConcept
dependencies: 4
inputs: human
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <producer> ?e . ?e_1 <pred:name> "The Gift" . ?e_1 <screenwriter> ?e_2 . ?e_2 <pred:name> "Joel Edgerton" .   }
Answer: Joel Edgerton