Question: How many forms of popular music were invented prior to 1977?
Choices: 39
40
41
42
43
44
45
46
47
48
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "popular music" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1977 ) .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1977
<
function: FilterConcept
dependencies: 1
inputs: popular music
function: Count
dependencies: 2
Answer: 40