Question: What is the number of Winter Olympic games with point in time other than 1988 and that comes before 2010 Winter Olympics
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 1
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 != 1988 ) . ?e_1 <follows> ?e . ?e_1 <pred:name> "2010 Winter Olympics" .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: point in time
1988
!=
function: FilterConcept
dependencies: 1
inputs: Winter Olympic Games
function: Find
inputs: 2010 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