Question: How many of the Winter Olympic Games either don't end in 1972 or don't start in 1980?
Choices:
7
8
9
10
11
12
13
14
15
16
Answer: 16
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Winter Olympic Games" .  { ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1972 ) .  } UNION { ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1980 ) .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: end time
1972
!=
function: FilterConcept
dependencies: 1
inputs: Winter Olympic Games
function: FindAll
function: FilterYear
dependencies: 3
inputs: start time
1980
!=
function: FilterConcept
dependencies: 4
inputs: Winter Olympic Games
function: Or
dependencies: 2
5
function: Count
dependencies: 6