Question: Which person is the producer of Evolution (the one that has Seann William Scott as a cast member)?
Choices:
William Henry Harrison
Ivan Reitman
Chris Weitz
Jack Benny
Richard Gere
Kevin Smith
Max Fleischer
Johnny Knoxville
Sylvester Stallone
Richard Pryor
Program:
function: Find
inputs: Seann William Scott
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Evolution
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> "Evolution" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Seann William Scott" .   }
Answer: Ivan Reitman