Question: Is the duration of Earth (the one whose publication date is 2007-01-01) greater than 80 minute ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Earth" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2007-01-01"^^xsd:date . ?e <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> ?v . FILTER ( ?v > "80"^^xsd:double ) .  }
Program:
function: Find
inputs: Earth
function: FilterDate
dependencies: 0
inputs: publication date
2007-01-01
=
function: QueryAttr
dependencies: 1
inputs: duration
function: VerifyNum
dependencies: 2
inputs: 80 minute
>