Question: Does the animated series that ended on 1989-12-02 have less than 60 seasons?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "animated series" . ?e <end_time> ?pv_1 . ?pv_1 <pred:date> "1989-12-02"^^xsd:date . ?e <number_of_seasons> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "60"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterDate
dependencies: 0
inputs: end time
1989-12-02
=
function: FilterConcept
dependencies: 1
inputs: animated series
function: QueryAttr
dependencies: 2
inputs: number of seasons
function: VerifyNum
dependencies: 3
inputs: 60
<