Question: Did the TV series, comprised of 141 episodes, end after 1945?
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 <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "141"^^xsd:double . ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1945 ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: number of episodes
141
=
function: FilterConcept
dependencies: 1
inputs: television series
function: QueryAttr
dependencies: 2
inputs: end time
function: VerifyYear
dependencies: 3
inputs: 1945
>