Question: What literary award has the official website http://www.locusmag.com/SFAwards/Db/Locus.html and was received by Dan Simmons in the year 2004?
Choices:
Locus Award for Best Science Fiction Novel
Philip K. Dick Award
Nebula Award for Best Novella
Kate Greenaway Medal
National Book Award for Poetry
Nebula Award for Best Novelette
Neustadt International Prize for Literature
Newbery Medal
International IMPAC Dublin Literary Award
Prometheus Award
Answer: Locus Award for Best Science Fiction Novel
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "literary award" . ?e <official_website> ?pv . ?pv <pred:value> "http://www.locusmag.com/SFAwards/Db/Locus.html" . ?e_1 <award_received> ?e . ?e_1 <pred:name> "Dan Simmons" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e ] <point_in_time> ?qpv . ?qpv <pred:year> 2004 .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.locusmag.com/SFAwards/Db/Locus.html
function: FilterConcept
dependencies: 1
inputs: literary award
function: Find
inputs: Dan Simmons
function: Relate
dependencies: 3
inputs: award received
forward
function: QFilterYear
dependencies: 4
inputs: point in time
2004
=
function: FilterConcept
dependencies: 5
inputs: literary award
function: And
dependencies: 2
6
function: What
dependencies: 7