Question: What is the title of Taxi (the one that has Judd Hirsch as a cast member)?
Choices:
Nickelodeon
Lincoln
A Civil Action
Pinocchio
魔女の宅急便
Taxi
हीरोज़
American Dad!
Das Leben ist schön
Stranger than Fiction
Program:
function: Find
inputs: Judd Hirsch
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Taxi
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: title
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Taxi" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Judd Hirsch" .  ?e <title> ?pv .  }
Answer: Taxi