Question: Where was Red Dragon (the one whose narrative location is St. Louis) published in 2002-10-25?
Choices:
Vietnam
Northern America
Kingdom of the Netherlands
Denmark
Chicago
Switzerland
Rättvik
Westwood
Bolivia
Japan
Program:
function: Find
inputs: St. Louis
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Red Dragon
function: And
dependencies: 1
2
function: QueryAttrQualifier
dependencies: 3
inputs: publication date
2002-10-25
place of publication
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:name> "Red Dragon" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "St. Louis" .  ?e <publication_date> ?pv . ?pv <pred:date> "2002-10-25"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }
Answer: Denmark