Question: Which person directed Up (the one that has David Schwimmer as a cast member)?
Choices: Sylvester Stallone
Max Fleischer
Jon Avnet
William Henry Harrison
Jennifer Lawrence
David Nutter
Pete Docter
Hal Mohr
Phil Alden Robinson
Mikael Salomon
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <director> ?e . ?e_1 <pred:name> "Up" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "David Schwimmer" .   }
Program:
function: Find
inputs: David Schwimmer
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Up
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: director
forward
function: FilterConcept
dependencies: 4
inputs: human
function: What
dependencies: 5
Answer: Jon Avnet