Question: How many Winter Olympic Games show 18th edition or come after 1972 Winter Olympics ?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Winter Olympic Games" .  { ?e <edition_number> ?pv . ?pv <pred:value> "18" .  } UNION { ?e_1 <followed_by> ?e . ?e_1 <pred:name> "1972 Winter Olympics" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: edition number
18
function: FilterConcept
dependencies: 1
inputs: Winter Olympic Games
function: Find
inputs: 1972 Winter Olympics
function: Relate
dependencies: 3
inputs: followed by
forward
function: FilterConcept
dependencies: 4
inputs: Winter Olympic Games
function: Or
dependencies: 2
5
function: Count
dependencies: 6