Question: What work is awarded the Nebula Award for Best Novella that was received by Harlan Ellison?
Choices:
Affliction
Dave
Victor Victoria
Peyton Place
The Patriot
A Boy and His Dog
The Impossible
In Bruges
The Opposite of Sex
Young Winston
Answer: A Boy and His Dog
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Harlan Ellison" . ?e_2 <pred:name> "Nebula Award for Best Novella" . ?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: Harlan Ellison
function: Find
inputs: Nebula Award for Best Novella
function: QueryRelationQualifier
dependencies: 0
1
inputs: award received
for work