Question: What is the title of the Batman composed by Nelson Riddle?
Choices:
I Love You, Man
Batman
Seven Brides for Seven Brothers
Drive
The Iron Lady
High Fidelity
An Ideal Husband
King Kong
Horrible Bosses
Midnight's Children
Program:
function: Find
inputs: Nelson Riddle
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: Batman
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: title
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Batman" . ?e <composer> ?e_1 . ?e_1 <pred:name> "Nelson Riddle" .  ?e <title> ?pv .  }
Answer: Batman