Question: Terry Pratchett was a James Tiptree, Jr. Award nominee for which work?
Choices: Monstrous Regiment
Plenty
Give 'em Hell
Back to the Future
Pirates of the Caribbean: At World's End
Knocked Up
Two and a Half Men
Passengers
Amar Deep
On Deadly Ground
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Terry Pratchett" . ?e_2 <pred:name> "James Tiptree, Jr. Award" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: Terry Pratchett
function: Find
inputs: James Tiptree, Jr. Award
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
for work
Answer: Monstrous Regiment