Question: How many Summer Olympic Games have their point in time before 1976 or were in the country of Mexico?
Choices:
9
10
11
12
13
14
15
16
17
18
Answer: 17
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Summer Olympic Games" .  { ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1976 ) .  } UNION { ?e <country> ?e_1 . ?e_1 <pred:name> "Mexico" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: point in time
1976
<
function: FilterConcept
dependencies: 1
inputs: Summer Olympic Games
function: Find
inputs: Mexico
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: Summer Olympic Games
function: Or
dependencies: 2
5
function: Count
dependencies: 6