Question: How many forms of rock music were invented prior to 1981?
Choices: 28
29
30
31
32
33
34
35
36
37
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "rock music" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1981 ) .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1981
<
function: FilterConcept
dependencies: 1
inputs: rock music
function: Count
dependencies: 2
Answer: 30