Question: How many Winter Olympics took place in Switzerland or opened in a year other than 1980?
Choices:
10
11
12
13
14
15
16
17
18
19
Answer: 15
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Winter Olympic Games" .  { ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1980 ) .  } UNION { ?e <country> ?e_1 . ?e_1 <pred:name> "Switzerland" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: start time
1980
!=
function: FilterConcept
dependencies: 1
inputs: Winter Olympic Games
function: Find
inputs: Switzerland
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: Winter Olympic Games
function: Or
dependencies: 2
5
function: Count
dependencies: 6