Question: How many punk rocks are started prior 1979 or not started in 1988?
Choices:
19
20
21
22
23
24
25
26
27
28
Answer: 19
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "punk rock" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1979 ) .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1988 ) .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1979
<
function: FilterConcept
dependencies: 1
inputs: punk rock
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1988
!=
function: FilterConcept
dependencies: 4
inputs: punk rock
function: Or
dependencies: 2
5
function: Count
dependencies: 6