Question: How many electronic music types were either founded after 1978 or before 2000?
Choices:
27
28
29
30
31
32
33
34
35
36
Answer: 27
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 > 1978 ) .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2000 ) .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1978
>
function: FilterConcept
dependencies: 1
inputs: electronic music
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
2000
<
function: FilterConcept
dependencies: 4
inputs: electronic music
function: Or
dependencies: 2
5
function: Count
dependencies: 6