Question: How many bands were established later than 1981 or prior to 1993?
Choices:
127
128
129
130
131
132
133
134
135
136
Answer: 130
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "band" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1981 ) .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1993 ) .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1981
>
function: FilterConcept
dependencies: 1
inputs: band
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1993
<
function: FilterConcept
dependencies: 4
inputs: band
function: Or
dependencies: 2
5
function: Count
dependencies: 6