Question: What is the publication region of the visual artwork whose narrative location is Naples (where the population is 989789) and release date is 2004-10-21?
Choices: New York
Poland
Latvia
Park City
Germany
New Zealand
Finland
South Korea
Montreal World Film Festival
Italy
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Naples" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "989789"^^xsd:double . ?e <publication_date> ?pv . ?pv <pred:date> "2004-10-21"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }
Program:
function: Find
inputs: Naples
function: FilterNum
dependencies: 0
inputs: population
989789
=
function: Relate
dependencies: 1
inputs: narrative location
backward
function: FilterConcept
dependencies: 2
inputs: visual artwork
function: QueryAttrQualifier
dependencies: 3
inputs: publication date
2004-10-21
place of publication
Answer: Germany