Question: Did the show Bad Teacher on CBS have 410 episodes?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Bad Teacher" . ?e <original_network> ?e_1 . ?e_1 <pred:name> "CBS" .  ?e <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "410"^^xsd:double ) .  }
Program:
function: Find
inputs: CBS
function: Relate
dependencies: 0
inputs: original network
backward
function: Find
inputs: Bad Teacher
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: number of episodes
function: VerifyNum
dependencies: 4
inputs: 410
!=