Question: Is duration of a movie, directed by Alan Hale, more or less than 100 minutes?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <director> ?e_1 . ?e_1 <pred:name> "Alan Hale" .  ?e <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> ?v . FILTER ( ?v != "100"^^xsd:double ) .  }
Program:
function: Find
inputs: Alan Hale
function: Relate
dependencies: 0
inputs: director
backward
function: FilterConcept
dependencies: 1
inputs: film
function: QueryAttr
dependencies: 2
inputs: duration
function: VerifyNum
dependencies: 3
inputs: 100 minute
!=