Question: What is the title f The Three Musketeers (the one whose director is Joseph Barbera)?
Choices: House, M.D.
Das Leben der Anderen
Meet the Parents
The English Patient
On the Waterfront
The Three Musketeers
Marmaduke
The Alamo
बॉबी
Stewie Griffin: The Untold Story
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "The Three Musketeers" . ?e <director> ?e_1 . ?e_1 <pred:name> "Joseph Barbera" .  ?e <title> ?pv .  }
Program:
function: Find
inputs: Joseph Barbera
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: The Three Musketeers
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: title
Answer: The Three Musketeers