Question: What is the title for Alice (the one that has Holland Taylor as a cast member)?
Choices:
Seven Pounds
Aberdeen
The Da Vinci Code
My Big Fat Greek Wedding
Alice
Radio
Quills
American Wedding
Heat
Fair Game
Program:
function: Find
inputs: Holland Taylor
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Alice
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: title
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Alice" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Holland Taylor" .  ?e <title> ?pv .  }
Answer: Alice