Question: What is the title of Hamlet (the one that has Patrick Stewart as a cast member)?
Choices: New Year's Eve
Alice in Wonderland
The Town
Being There
DodgeBall: A True Underdog Story
The Fly
Flight
The Prestige
Hamlet
Spartacus
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Hamlet" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Patrick Stewart" .  ?e <title> ?pv .  }
Program:
function: Find
inputs: Patrick Stewart
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Hamlet
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: title
Answer: Hamlet