Question: Does the television series that follows Babylon 5 have a number of episodes less than 830?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e_1 <followed_by> ?e . ?e_1 <pred:name> "Babylon 5" .  ?e <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "830"^^xsd:double ) .  }
Program:
function: Find
inputs: Babylon 5
function: Relate
dependencies: 0
inputs: followed by
forward
function: FilterConcept
dependencies: 1
inputs: television series
function: QueryAttr
dependencies: 2
inputs: number of episodes
function: VerifyNum
dependencies: 3
inputs: 830
<
Answer: yes