Question: How many electronic music groups were established not in 1970 or after 1980 ?
Choices:
22
23
24
25
26
27
28
29
30
31
Answer: 26
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "electronic music" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1970 ) .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1980 ) .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1970
!=
function: FilterConcept
dependencies: 1
inputs: electronic music
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1980
>
function: FilterConcept
dependencies: 4
inputs: electronic music
function: Or
dependencies: 2
5
function: Count
dependencies: 6