Question: What is the title of The Goodbye Girl (the one that has Patricia Heaton as a cast member)?
Choices: Sunshine
Tommy
Abismos de pasión
The Flintstones
Christoph Columbus
Guess Who's Coming to Dinner
Bruce Almighty
Jackson
Moonraker
The Goodbye Girl
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "The Goodbye Girl" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Patricia Heaton" .  ?e <title> ?pv .  }
Program:
function: Find
inputs: Patricia Heaton
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Goodbye Girl
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: title
Answer: The Goodbye Girl