Question: What is the title of The Bodyguard (the one whose composer is Alan Silvestri)?
Choices:
Alexander
The Terminal
The Invention of Lying
Jurassic Park
The Interpreter
The Bodyguard
Harlow
Law & Order
Шерлок Холмс
Burn After Reading
Program:
function: Find
inputs: Alan Silvestri
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: The Bodyguard
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: title
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "The Bodyguard" . ?e <composer> ?e_1 . ?e_1 <pred:name> "Alan Silvestri" .  ?e <title> ?pv .  }
Answer: The Bodyguard