Question: Is the publication date of The Merry Widow (run time 110 minutes) 2002?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "The Merry Widow" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "110"^^xsd:double . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2002 ) .  }
Program:
function: Find
inputs: The Merry Widow
function: FilterNum
dependencies: 0
inputs: duration
110 minute
=
function: QueryAttr
dependencies: 1
inputs: publication date
function: VerifyYear
dependencies: 2
inputs: 2002
!=