Question: What is the titel of The Three Musketeers (the one that has Lon Chaney Jr. as a cast member)?
Choices:
The Last King of Scotland
The Three Musketeers
The Mission
Sin City
Last Action Hero
Annie Hall
Sayonara
Breaking Away
Mrs Henderson Presents
ब्रदर्स
Program:
function: Find
inputs: Lon Chaney Jr.
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Three Musketeers
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: title
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "The Three Musketeers" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Lon Chaney Jr." .  ?e <title> ?pv .  }
Answer: The Three Musketeers