Question: The Grammy for Best Song Written for Visual Media was nominated to which work by John Mayer, whose CANTIC-ID is a10829738?
Choices:
Possessed
My Boss's Daughter
Say
Finding Neverland
The Big House
Do Not Go Gentle Into That Good Night
Need You Tonight
Superman Returns
Moby Dick
Horrible Bosses
Program:
function: Find
inputs: John Mayer
function: FilterStr
dependencies: 0
inputs: CANTIC-ID
a10829738
function: Find
inputs: Grammy Award for Best Song Written for Visual Media
function: QueryRelationQualifier
dependencies: 1
2
inputs: nominated for
for work
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "John Mayer" . ?e_1 <CANTIC-ID> ?pv . ?pv <pred:value> "a10829738" . ?e_2 <pred:name> "Grammy Award for Best Song Written for Visual Media" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Answer: Say