Question: A Grammy nomination for Best Hard Rock Performance went to which work by Kiss, a Rock and Roll Hall of Fame recipient?
Choices:
Shining Through
Freddy Got Fingered
Gas Food Lodging
Psycho Circus
Dr. Strangelove
The Philadelphia Story
Heavy Weather
The Florida Project
Valentine's Day
Dynamite
Answer: Psycho Circus
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Kiss" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> "Rock and Roll Hall of Fame" . ?e_2 <pred:name> "Grammy Award for Best Hard Rock Performance" . ?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: Rock and Roll Hall of Fame
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Kiss
function: And
dependencies: 1
2
function: Find
inputs: Grammy Award for Best Hard Rock Performance
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
for work