Question: How many popular musics began outside of 1976 and before 1997?
Choices: 109
110
111
112
113
114
115
116
117
118
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 != 1976 ) . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 < 1997 ) .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1976
!=
function: FilterConcept
dependencies: 1
inputs: popular music
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1997
<
function: FilterConcept
dependencies: 4
inputs: popular music
function: And
dependencies: 2
5
function: Count
dependencies: 6
Answer: 112