Question: What is the number of literary awards whose beginning date is prior to 1967 or after 1968?
Choices:
26
27
28
29
30
31
32
33
34
35
Answer: 31
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "literary award" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1967 ) .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1968 ) .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1967
<
function: FilterConcept
dependencies: 1
inputs: literary award
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1968
>
function: FilterConcept
dependencies: 4
inputs: literary award
function: Or
dependencies: 2
5
function: Count
dependencies: 6