Question: Where was a visual artwork, whose narrative location is Portland (the one that is located in Portland metropolitan area), published on 28th June 1990 ?
Choices:
Germany
Kazakhstan
Cannes
Philippines
2005 Cannes Film Festival
Egypt
Greece
Johannesburg
Lebanon
Chile
Answer: Germany
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Portland" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> "Portland metropolitan area" .  ?e <publication_date> ?pv . ?pv <pred:date> "1990-06-28"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }
Program:
function: Find
inputs: Portland metropolitan area
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Portland
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: narrative location
backward
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: QueryAttrQualifier
dependencies: 5
inputs: publication date
1990-06-28
place of publication