Question: Snoop Dogg got the MTV video music award for best rap video, which work got awarded?
Choices:
The Best Years of Our Lives
Steelyard Blues
Orion Shall Rise
A Foreign Affair
The Name of the Rose
Harry Potter and the Order of the Phoenix
Summer and Smoke
Doggy Dogg World
Can't Help Singing
Two Days, One Night
Answer: Doggy Dogg World
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Snoop Dogg" . ?e_2 <pred:name> "MTV Video Music Award for Best Rap Video" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: Snoop Dogg
function: Find
inputs: MTV Video Music Award for Best Rap Video
function: QueryRelationQualifier
dependencies: 0
1
inputs: award received
for work