Question: Is the release date of Men in Black (whose length is 19 minutes) prior to the year 2002?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Men in Black" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "19"^^xsd:double . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2002 ) .  }
Program:
function: Find
inputs: Men in Black
function: FilterNum
dependencies: 0
inputs: duration
19 minute
=
function: QueryAttr
dependencies: 1
inputs: publication date
function: VerifyYear
dependencies: 2
inputs: 2002
<