Question: Where was The Hangover (the one whose release region is Sweden) published on 2009-06-17 ?
Choices: Hungary
Austin
Central Park
Canada
Toronto International Film Festival
Kazakhstan
New York City
Bulgaria
Los Angeles
Spain
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:name> "The Hangover" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Sweden" .  ?e <publication_date> ?pv . ?pv <pred:date> "2009-06-17"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }
Program:
function: Find
inputs: Sweden
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: The Hangover
function: And
dependencies: 1
2
function: QueryAttrQualifier
dependencies: 3
inputs: publication date
2009-06-17
place of publication
Answer: Hungary