Question: How many Summer Olympics took place prior to 1928 or came after the 1988 Games of the Summer Olympics?
Choices: 4
5
6
7
8
9
10
11
12
13
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Summer Olympic Games" .  { ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1928 ) .  } UNION { ?e_1 <followed_by> ?e . ?e_1 <pred:name> "1988 Summer Olympics" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: point in time
1928
<
function: FilterConcept
dependencies: 1
inputs: Summer Olympic Games
function: Find
inputs: 1988 Summer Olympics
function: Relate
dependencies: 3
inputs: followed by
forward
function: FilterConcept
dependencies: 4
inputs: Summer Olympic Games
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 8