Question: Who directed the movie, Revolutionary Road?
Choices:
William James
Sam Mendes
John Wayne
Terry Gilliam
Stephen Chow
Lawrence Kasdan
Costa-Gavras
Adolph Deutsch
Harold Ramis
Martin Mull
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Revolutionary Road
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: Relate
dependencies: 2
inputs: director
forward
function: FilterConcept
dependencies: 3
inputs: human
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <director> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "visual artwork" . ?e_1 <title> ?pv . ?pv <pred:value> "Revolutionary Road" .   }
Answer: Sam Mendes