Question: John Mayer who has the record label Columbia Records was nominated for a Grammy Award for Best Song Written for Visual Media for which work?
Choices:
Say
10 Rillington Place
Building a Building
Harvey
Georgia
Cries and Whispers
2001: A Space Odyssey
The Crucible
Zooropa
Showgirls
Program:
function: Find
inputs: Columbia Records
function: Relate
dependencies: 0
inputs: record label
backward
function: Find
inputs: John Mayer
function: And
dependencies: 1
2
function: Find
inputs: Grammy Award for Best Song Written for Visual Media
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
for work
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "John Mayer" . ?e_1 <record_label> ?e_3 . ?e_3 <pred:name> "Columbia Records" . ?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