Question: Who won the Locus Award for Best First Novel for Contact (the one that uses the language English)?
Choices:
Edward Saxon
Dave Elsey
Bob Odenkirk
B. B. King
Elisabeth Moss
Carl Sagan
Estelle Parsons
Emily Watson
Danny Lee
John DeCuir
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: Contact
function: And
dependencies: 1
2
function: Find
inputs: Locus Award for Best First Novel
function: QueryRelationQualifier
dependencies: 3
4
inputs: award received
winner
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Contact" . ?e_1 <language_of_work_or_name> ?e_3 . ?e_3 <pred:name> "English" . ?e_2 <pred:name> "Locus Award for Best First Novel" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <winner> ?qpv .  }
Answer: Carl Sagan