Question: What is the number of television films whose ending date is not in the year 1979?
Choices:
5
6
7
8
9
10
11
12
13
14
Answer: 8
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television film" . ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1979 ) .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: end time
1979
!=
function: FilterConcept
dependencies: 1
inputs: television film
function: Count
dependencies: 2