Question: Tell me the person who directed A Man For All Seasons, the one with Orson Welles in its cast.
Choices: Richard Gere
Mike Nichols
Fred Zinnemann
Charlton Heston
Tim Rice
Sylvester Stallone
Max Fleischer
John Huston
Bryan Forbes
Larry Miller
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <director> ?e . ?e_1 <pred:name> "A Man for All Seasons" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Orson Welles" .   }
Program:
function: Find
inputs: Orson Welles
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: A Man for All Seasons
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: director
forward
function: FilterConcept
dependencies: 4
inputs: human
function: What
dependencies: 5
Answer: Fred Zinnemann