Question: How many film awards were created prior to 1988 or in any year but 1951?
Choices:
9
10
11
12
13
14
15
16
17
18
Answer: 11
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film award" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1988 ) .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1951 ) .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1988
<
function: FilterConcept
dependencies: 1
inputs: film award
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1951
!=
function: FilterConcept
dependencies: 4
inputs: film award
function: Or
dependencies: 2
5
function: Count
dependencies: 6