Question: Was The Nutty Professor (the one whose duration is 75 minute) published before 2010?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "The Nutty Professor" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "75"^^xsd:double . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2010 ) .  }
Program:
function: Find
inputs: The Nutty Professor
function: FilterNum
dependencies: 0
inputs: duration
75 minute
=
function: QueryAttr
dependencies: 1
inputs: publication date
function: VerifyYear
dependencies: 2
inputs: 2010
<