Question: What is the number of sounds whose beginning date is prior to the year 2000?
Choices:
135
136
137
138
139
140
141
142
143
144
Answer: 144
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sound" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2000 ) .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
2000
<
function: FilterConcept
dependencies: 1
inputs: sound
function: Count
dependencies: 2