Question: How many entertainment properties were published prior to 2014 or in 1991?
Choices:
173
174
175
176
177
178
179
180
181
182
Answer: 179
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "entertainment" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2014 ) .  } UNION { ?e <publication_date> ?pv . ?pv <pred:year> 1991 .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2014
<
function: FilterConcept
dependencies: 1
inputs: entertainment
function: FindAll
function: FilterYear
dependencies: 3
inputs: publication date
1991
=
function: FilterConcept
dependencies: 4
inputs: entertainment
function: Or
dependencies: 2
5
function: Count
dependencies: 6