Question: For which work did Terry Pratchett win the Carnegie Medal?
Choices: Pacific Edge
Ghosts of Mississippi
Minority Report
Nebraska
Black Swan
Young Adult
Tess
Man of Iron
The Amazing Maurice and his Educated Rodents
Door to Door
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Carnegie Medal" . ?e_2 <pred:name> "Terry Pratchett" . ?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: Carnegie Medal
function: Find
inputs: Terry Pratchett
function: QueryRelationQualifier
dependencies: 0
1
inputs: winner
for work
Answer: The Amazing Maurice and his Educated Rodents