Question: How much music was founded either in 2000 or before 1998?
Choices:
142
143
144
145
146
147
148
149
150
151
Answer: 142
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "music" .  { ?e <inception> ?pv . ?pv <pred:year> 2000 .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1998 ) .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
2000
=
function: FilterConcept
dependencies: 1
inputs: music
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1998
<
function: FilterConcept
dependencies: 4
inputs: music
function: Or
dependencies: 2
5
function: Count
dependencies: 6