Question: How many television series started before 1997?
Choices:
138
139
140
141
142
143
144
145
146
147
Answer: 139
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 < 1997 ) .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: start time
1997
<
function: FilterConcept
dependencies: 1
inputs: television series
function: Count
dependencies: 2