Question: Ben Elton won a Martin Beck Award for which work?
Choices: It's a Wonderful Life
33
Nova
Dead Famous
Nine
The English Patient
How to Make an American Quilt
The Awakening
Life Support
An Affair to Remember
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Martin Beck Award" . ?e_2 <pred:name> "Ben Elton" . ?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: Martin Beck Award
function: Find
inputs: Ben Elton
function: QueryRelationQualifier
dependencies: 0
1
inputs: winner
for work
Answer: Dead Famous