Question: Guitarist Rob Thomas was the Grammy Song of the Year winner for which work?
Choices:
The Virgin Suicides
Happy, Texas
Sex, Lies, and Videotape
The Aviator
Blue Velvet
The Burning Bed
Smooth
The Concert
Austin Powers: The Spy Who Shagged Me
Julius Caesar
Program:
function: Find
inputs: guitar
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: Rob Thomas
function: And
dependencies: 1
2
function: Find
inputs: Grammy Award for Song of the Year
function: QueryRelationQualifier
dependencies: 3
4
inputs: award received
for work
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Rob Thomas" . ?e_3 <famous_people> ?e_1 . ?e_3 <pred:name> "guitar" . ?e_2 <pred:name> "Grammy Award for Song of the Year" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Answer: Smooth