Question: For Hurt Locker was it published other than 2008 (the publication place of this statement is Hungary)
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "The Hurt Locker" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2008 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> "Hungary" .  }
Program:
function: Find
inputs: The Hurt Locker
function: QueryAttrUnderCondition
dependencies: 0
inputs: publication date
place of publication
Hungary
function: VerifyYear
dependencies: 1
inputs: 2008
!=