Question: How many Summer Olympics were in Spain or began in a year other than 1964?
Choices:
21
22
23
24
25
26
27
28
29
30
Program:
function: Find
inputs: Spain
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: Summer Olympic Games
function: FindAll
function: FilterYear
dependencies: 3
inputs: start time
1964
!=
function: FilterConcept
dependencies: 4
inputs: Summer Olympic Games
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Summer Olympic Games" .  { ?e <country> ?e_1 . ?e_1 <pred:name> "Spain" .  } UNION { ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1964 ) .  } }
Answer: 26