Question: Does Traffic (the one whose title is Traffic) have a publication date not in 1978 (the place of publication of this statement is Canada)?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Traffic" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Traffic" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1978 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> "Canada" .  }
Program:
function: Find
inputs: Traffic
function: FilterStr
dependencies: 0
inputs: title
Traffic
function: QueryAttrUnderCondition
dependencies: 1
inputs: publication date
place of publication
Canada
function: VerifyYear
dependencies: 2
inputs: 1978
!=