Question: Is Sherlock's number of seasons different from 0?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Sherlock" . ?e <number_of_seasons> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "0"^^xsd:double ) .  }
Program:
function: Find
inputs: Sherlock
function: QueryAttr
dependencies: 0
inputs: number of seasons
function: VerifyNum
dependencies: 1
inputs: 0
!=