Question: What number of TV series started before 1999?
Choices:
152
153
154
155
156
157
158
159
160
161
Answer: 155
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1999 ) .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: start time
1999
<
function: FilterConcept
dependencies: 1
inputs: television series
function: Count
dependencies: 2