Question: What is the title of Iron Man 2 (the one whose genre is hard rock)?
Choices:
Since You Went Away
Indiana Jones and the Kingdom of the Crystal Skull
The Civil War
Iron Man 2
Chaplin
Versailles
Python
The Mummy: Tomb of the Dragon Emperor
Battle Creek
Jonah Hex
Answer: Iron Man 2
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Iron Man 2" . ?e <genre> ?e_1 . ?e_1 <pred:name> "hard rock" .  ?e <title> ?pv .  }
Program:
function: Find
inputs: hard rock
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Iron Man 2
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: title