Question: I'm looking to find out if the duration is not equal to 1.2 years for a movie called The Spy Who Came in from the Cold.
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "The Spy Who Came in from the Cold" . ?e <duration> ?pv . ?pv <pred:unit> "year" . ?pv <pred:value> ?v . FILTER ( ?v != "1.2"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
The Spy Who Came in from the Cold
function: FilterConcept
dependencies: 1
inputs: film
function: QueryAttr
dependencies: 2
inputs: duration
function: VerifyNum
dependencies: 3
inputs: 1.2 year
!=