Question: For which work was Taylor Swift nominated for the Grammy Award for Album of the Year?
Choices:
The Soong Sisters
Tommy
Who Killed Cock Robin?
The Bridge on the River Kwai
City Slickers II: The Legend of Curly's Gold
Red
Casablanca
The Late Show
Lou Grant
The Hangover
Answer: Red
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Taylor Swift" . ?e_2 <pred:name> "Grammy Award for Album of the Year" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: Taylor Swift
function: Find
inputs: Grammy Award for Album of the Year
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
for work