Question: How many albums were published before the year 1979 or not in the year 1976?
Choices:
24
25
26
27
28
29
30
31
32
33
Answer: 24
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "album" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1976 ) .  } UNION { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1979 ) .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
1976
!=
function: FilterConcept
dependencies: 1
inputs: album
function: FindAll
function: FilterYear
dependencies: 3
inputs: publication date
1979
<
function: FilterConcept
dependencies: 4
inputs: album
function: Or
dependencies: 2
5
function: Count
dependencies: 6