Question: How many Winter Olympic Games occurred before 1998 and were followed by the 1952 Winter Olympics?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Winter Olympic Games" . ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1998 ) . ?e_1 <follows> ?e . ?e_1 <pred:name> "1952 Winter Olympics" .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: point in time
1998
<
function: FilterConcept
dependencies: 1
inputs: Winter Olympic Games
function: Find
inputs: 1952 Winter Olympics
function: Relate
dependencies: 3
inputs: follows
forward
function: FilterConcept
dependencies: 4
inputs: Winter Olympic Games
function: And
dependencies: 2
5
function: Count
dependencies: 6
Answer: 1