Question: Which human wins the Nebula Award for Best Novel (the award-winning work of this statement is Paladin of Souls)?
Choices:
Greg Bear
Sylvester Stallone
Ursula K. Le Guin
Arthur C. Clarke
Richard Gere
Lois McMaster Bujold
Isaac Asimov
Frederik Pohl
William Henry Harrison
Neil Gaiman
Program:
function: Find
inputs: Nebula Award for Best Novel
function: Relate
dependencies: 0
inputs: winner
forward
function: QFilterStr
dependencies: 1
inputs: for work
Paladin of Souls
function: FilterConcept
dependencies: 2
inputs: human
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <winner> ?e . ?e_1 <pred:name> "Nebula Award for Best Novel" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e ] <for_work> ?qpv . ?qpv <pred:value> "Paladin of Souls" .  }
Answer: Lois McMaster Bujold