Question: How many video games were released prior to 2001 or later than 2003?
Choices:
163
164
165
166
167
168
169
170
171
172
Answer: 164
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "video game" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2001 ) .  } UNION { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2003 ) .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2001
<
function: FilterConcept
dependencies: 1
inputs: video game
function: FindAll
function: FilterYear
dependencies: 3
inputs: publication date
2003
>
function: FilterConcept
dependencies: 4
inputs: video game
function: Or
dependencies: 2
5
function: Count
dependencies: 6