Question: What is the animated film has Tom Hanks as a cast member?
Choices:
Extremely Loud and Incredibly Close
Who Framed Roger Rabbit
The Polar Express
Apollo 13
The Lion King
A Christmas Carol
Heavy Metal
Angels & Demons
Chrono Crusade
Cast Away
Program:
function: Find
inputs: Tom Hanks
function: Relate
dependencies: 0
inputs: cast member
backward
function: FilterConcept
dependencies: 1
inputs: animated film
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated film" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Tom Hanks" .   }
Answer: The Polar Express