Question: How many music genres created before 1965 or after 1975 ?
Choices:
35
36
37
38
39
40
41
42
43
44
Answer: 44
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "music genre" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1965 ) .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1975 ) .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1965
<
function: FilterConcept
dependencies: 1
inputs: music genre
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1975
>
function: FilterConcept
dependencies: 4
inputs: music genre
function: Or
dependencies: 2
5
function: Count
dependencies: 6