Question: Is the length of the visual artwork that is based on The Firm (whose publication date is in the year 1991) under 11.3 hours?
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 <based_on> ?e_1 . ?e_1 <pred:name> "The Firm" . ?e_1 <publication_date> ?pv_1 . ?pv_1 <pred:year> 1991 . ?e <duration> ?pv . ?pv <pred:unit> "hour" . ?pv <pred:value> ?v . FILTER ( ?v < "11.3"^^xsd:double ) .  }
Program:
function: Find
inputs: The Firm
function: FilterYear
dependencies: 0
inputs: publication date
1991
=
function: Relate
dependencies: 1
inputs: based on
backward
function: FilterConcept
dependencies: 2
inputs: visual artwork
function: QueryAttr
dependencies: 3
inputs: duration
function: VerifyNum
dependencies: 4
inputs: 11.3 hour
<