Question: Which Best Alternative Music Album was a Grammy winner for Tom Waits?
Choices:
Bone Machine
Extremely Loud and Incredibly Close
Galápagos
13 Hours: The Secret Soldiers of Benghazi
Places in the Heart
Alexander
Bert Rigby, You're a Fool
The Turning
Ordinary People
The Emigrants
Answer: Bone Machine
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Grammy Award for Best Alternative Music Album" . ?e_2 <pred:name> "Tom Waits" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: Grammy Award for Best Alternative Music Album
function: Find
inputs: Tom Waits
function: QueryRelationQualifier
dependencies: 0
1
inputs: winner
for work