Question: Does Hercules, released 1958-01-01, clock in at 3.2 years ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:name> "Hercules" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1958-01-01"^^xsd:date . ?e <duration> ?pv . ?pv <pred:unit> "year" . ?pv <pred:value> "3.2"^^xsd:double .  }
Program:
function: Find
inputs: Hercules
function: FilterDate
dependencies: 0
inputs: publication date
1958-01-01
=
function: QueryAttr
dependencies: 1
inputs: duration
function: VerifyNum
dependencies: 2
inputs: 3.2 year
=