Question: Is a visual artwork, which is a notable work of Mako, who died on 21st July 2006, longer than 2500 seconds?
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 <notable_work> ?e . ?e_1 <pred:name> "Mako" . ?e_1 <date_of_death> ?pv_1 . ?pv_1 <pred:date> "2006-07-21"^^xsd:date . ?e <duration> ?pv . ?pv <pred:unit> "second" . ?pv <pred:value> ?v . FILTER ( ?v > "2500"^^xsd:double ) .  }
Program:
function: Find
inputs: Mako
function: FilterDate
dependencies: 0
inputs: date of death
2006-07-21
=
function: Relate
dependencies: 1
inputs: notable work
forward
function: FilterConcept
dependencies: 2
inputs: visual artwork
function: QueryAttr
dependencies: 3
inputs: duration
function: VerifyNum
dependencies: 4
inputs: 2500 second
>