Question: about the television series that ended in 1967, does it have over 40 seasons?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <end_time> ?pv_1 . ?pv_1 <pred:year> 1967 . ?e <number_of_seasons> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "40"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: end time
1967
=
function: FilterConcept
dependencies: 1
inputs: television series
function: QueryAttr
dependencies: 2
inputs: number of seasons
function: VerifyNum
dependencies: 3
inputs: 40
>