Question: Was An Education published in Denmark in a year other than 1989?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "An Education" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1989 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> "Denmark" .  }
Program:
function: Find
inputs: An Education
function: QueryAttrUnderCondition
dependencies: 0
inputs: publication date
place of publication
Denmark
function: VerifyYear
dependencies: 1
inputs: 1989
!=