Question: For which work was  Connie Willis awarded the John W. Campbell Memorial Award for Best Science Fiction Novel?
Choices:
Appropriate Adult
Collected Stories of William Faulkner
Under Fire
Birds Anonymous
Carrion Comfort
You Don't Know Jack
Lincoln's Dreams
Court and Spark
Devdas
Everyman
Answer: Lincoln's Dreams
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Connie Willis" . ?e_2 <pred:name> "John W. Campbell Memorial Award for Best Science Fiction Novel" . ?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: Connie Willis
function: Find
inputs: John W. Campbell Memorial Award for Best Science Fiction Novel
function: QueryRelationQualifier
dependencies: 0
1
inputs: award received
for work