Question: What rock band was nominated for the Grammy Award that was nominated to Yoko Ono (the award-winning work of this statement is Delicate Sound of Thunder)?
Choices:
New Order
Queen
Marilyn Manson
Jethro Tull
Santana
Kings of Leon
Camel
Journey
Pink Floyd
Spın̈al Tap
Answer: Pink Floyd
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "rock band" . ?e <nominated_for> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "Grammy Award" . ?e_2 <nominated_for> ?e_1 . ?e_2 <pred:name> "Yoko Ono" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> "Delicate Sound of Thunder" .  }
Program:
function: Find
inputs: Yoko Ono
function: Relate
dependencies: 0
inputs: nominated for
forward
function: FilterConcept
dependencies: 1
inputs: Grammy Award
function: Relate
dependencies: 2
inputs: nominated for
backward
function: QFilterStr
dependencies: 3
inputs: for work
Delicate Sound of Thunder
function: FilterConcept
dependencies: 4
inputs: rock band
function: What
dependencies: 5