Question: Does the sit-com The Office have a season count other than 25 ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "The Office" . ?e <genre> ?e_1 . ?e_1 <pred:name> "situation comedy" .  ?e <number_of_seasons> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "25"^^xsd:double ) .  }
Program:
function: Find
inputs: situation comedy
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: The Office
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: number of seasons
function: VerifyNum
dependencies: 4
inputs: 25
!=