Question: What is the number of Winter Olympic Games that have an end time prior to 1968 or that 1980 Winter Olympics comes after
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 <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1968 ) .  } UNION { ?e_1 <follows> ?e . ?e_1 <pred:name> "1980 Winter Olympics" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: end time
1968
<
function: FilterConcept
dependencies: 1
inputs: Winter Olympic Games
function: Find
inputs: 1980 Winter Olympics
function: Relate
dependencies: 3
inputs: follows
forward
function: FilterConcept
dependencies: 4
inputs: Winter Olympic Games
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 5