Question: What is the title of Skyfall that was nominated for a Grammy Award for Best Song Written for Visual Media?
Choices:
A balfácán
Breakfast on Pluto
Rope
Bright Star
Blue Velvet
I'm Not There
Skyfall
Sunset Boulevard
ドラゴンボールZ 超サイヤ人だ孫悟空
Pocahontas
Program:
function: Find
inputs: Grammy Award for Best Song Written for Visual Media
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Skyfall
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: title
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Skyfall" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Grammy Award for Best Song Written for Visual Media" .  ?e <title> ?pv .  }
Answer: Skyfall