Question: Does the silent film entilted The Scarlet Letter have a duration of 10 weeks?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "silent film" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "The Scarlet Letter" . ?e <duration> ?pv . ?pv <pred:unit> "week" . ?pv <pred:value> ?v . FILTER ( ?v != "10"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
The Scarlet Letter
function: FilterConcept
dependencies: 1
inputs: silent film
function: QueryAttr
dependencies: 2
inputs: duration
function: VerifyNum
dependencies: 3
inputs: 10 week
!=
Answer: no