Question: Is the number of episodes of the television series whose end time is on 2004-05-16 less than 890 ?
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 <end_time> ?pv_1 . ?pv_1 <pred:date> "2004-05-16"^^xsd:date . ?e <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "890"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterDate
dependencies: 0
inputs: end time
2004-05-16
=
function: FilterConcept
dependencies: 1
inputs: television series
function: QueryAttr
dependencies: 2
inputs: number of episodes
function: VerifyNum
dependencies: 3
inputs: 890
<