Question: For which work was Frank Herbert (the one that is involved in the conflict World War II) awarded the Nebula Award for Best Novel?
Choices:
Dune
Time Considered as a Helix of Semi-Precious Stones
Rashomon
The Lives of a Bengal Lancer
Murder, She Wrote
Khubsoorat
Jeffty Is Five
The Hurricane
Annie
Hatfields & McCoys
Answer: Dune
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Frank Herbert" . ?e_1 <conflict> ?e_3 . ?e_3 <pred:name> "World War II" . ?e_2 <pred:name> "Nebula Award for Best 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: World War II
function: Relate
dependencies: 0
inputs: conflict
backward
function: Find
inputs: Frank Herbert
function: And
dependencies: 1
2
function: Find
inputs: Nebula Award for Best Novel
function: QueryRelationQualifier
dependencies: 3
4
inputs: award received
for work