Question: What number of record labels were founded before 1996?
Choices:
112
113
114
115
116
117
118
119
120
121
Answer: 117
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "record label" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1996 ) .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1996
<
function: FilterConcept
dependencies: 1
inputs: record label
function: Count
dependencies: 2