Question: For which work was Samuel R. Delany awarded the Nebula Award for Best Short Story?
Choices:
The Years of the City
A Beautiful Mind
Mom
World War Z
The Seven Little Foys
Aye, and Gomorrah
Right Now
Dr. Ehrlich's Magic Bullet
Brooklyn Bridge
Prem Nagar
Answer: Aye, and Gomorrah
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Nebula Award for Best Short Story" . ?e_2 <pred:name> "Samuel R. Delany" . ?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: Nebula Award for Best Short Story
function: Find
inputs: Samuel R. Delany
function: QueryRelationQualifier
dependencies: 0
1
inputs: winner
for work