Question: Is the number of seasons for the television series with number of episodes 7316 not equal to 40 ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "7316"^^xsd:double . ?e <number_of_seasons> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "40"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: number of episodes
7316
=
function: FilterConcept
dependencies: 1
inputs: television series
function: QueryAttr
dependencies: 2
inputs: number of seasons
function: VerifyNum
dependencies: 3
inputs: 40
!=