Question: Is a visual artwork, published in Sweden on 25th Dec 1976, not 10 week long ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1976-12-25"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv_1 ] <place_of_publication> ?qpv . ?qpv <pred:value> "Sweden" . ?e <duration> ?pv . ?pv <pred:unit> "week" . ?pv <pred:value> ?v . FILTER ( ?v != "10"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterDate
dependencies: 0
inputs: publication date
1976-12-25
=
function: QFilterStr
dependencies: 1
inputs: place of publication
Sweden
function: FilterConcept
dependencies: 2
inputs: visual artwork
function: QueryAttr
dependencies: 3
inputs: duration
function: VerifyNum
dependencies: 4
inputs: 10 week
!=