Question: Was Sunshine, set in Sydney, released in Sweden sometime other than 2006?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Sunshine" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Sydney" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2006 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> "Sweden" .  }
Program:
function: Find
inputs: Sydney
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Sunshine
function: And
dependencies: 1
2
function: QueryAttrUnderCondition
dependencies: 3
inputs: publication date
place of publication
Sweden
function: VerifyYear
dependencies: 4
inputs: 2006
!=