Question: Is the duration of a visual artwork, based on The Reader (the one published on 1st Jan 1995), different from 6.1 months ?
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_1 <derivative_work> ?e . ?e_1 <pred:name> "The Reader" . ?e_1 <publication_date> ?pv_1 . ?pv_1 <pred:date> "1995-01-01"^^xsd:date . ?e <duration> ?pv . ?pv <pred:unit> "month" . ?pv <pred:value> ?v . FILTER ( ?v != "6.1"^^xsd:double ) .  }
Program:
function: Find
inputs: The Reader
function: FilterDate
dependencies: 0
inputs: publication date
1995-01-01
=
function: Relate
dependencies: 1
inputs: derivative work
forward
function: FilterConcept
dependencies: 2
inputs: visual artwork
function: QueryAttr
dependencies: 3
inputs: duration
function: VerifyNum
dependencies: 4
inputs: 6.1 month
!=