Question: Does Die Hard, publicly released on 1988-07-15, clock in at under 700 minutes ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Die Hard" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1988-07-15"^^xsd:date . ?e <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> ?v . FILTER ( ?v < "700"^^xsd:double ) .  }
Program:
function: Find
inputs: Die Hard
function: FilterDate
dependencies: 0
inputs: publication date
1988-07-15
=
function: QueryAttr
dependencies: 1
inputs: duration
function: VerifyNum
dependencies: 2
inputs: 700 minute
<