Question: Fred Zinnemann was in the cast of what film?
Choices:
Night at the Museum: Battle of the Smithsonian
Spider-Man 3
Pleasantville
All Quiet on the Western Front
Jack London
Thomas Jefferson
A Prairie Home Companion
Chaplin
Doctor Zhivago
Rebecca
Program:
function: Find
inputs: Fred Zinnemann
function: Relate
dependencies: 0
inputs: cast member
backward
function: FilterConcept
dependencies: 1
inputs: film
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Fred Zinnemann" .   }
Answer: All Quiet on the Western Front