Question: Was The Last King of Scotland not published in 1970 (the place of publication of this statement is Germany)?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "The Last King of Scotland" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1970 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> "Germany" .  }
Program:
function: Find
inputs: The Last King of Scotland
function: QueryAttrUnderCondition
dependencies: 0
inputs: publication date
place of publication
Germany
function: VerifyYear
dependencies: 1
inputs: 1970
!=