Question: What is the number of record labels started before 1943 or after 2000?
Choices:
17
18
19
20
21
22
23
24
25
26
Answer: 18
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "record label" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1943 ) .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2000 ) .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1943
<
function: FilterConcept
dependencies: 1
inputs: record label
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
2000
>
function: FilterConcept
dependencies: 4
inputs: record label
function: Or
dependencies: 2
5
function: Count
dependencies: 6