Question: How many animated series did not end in 2017?
Choices:
16
17
18
19
20
21
22
23
24
25
Answer: 16
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated series" . ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2017 ) .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: end time
2017
!=
function: FilterConcept
dependencies: 1
inputs: animated series
function: Count
dependencies: 2