Question: How many Summer Olympic Games held after 1948 or that follows 1904?
Choices:
8
9
10
11
12
13
14
15
16
17
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 > 1948 ) .  } UNION { ?e <follows> ?e_1 . ?e_1 <pred:name> "1904 Summer Olympics" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: point in time
1948
>
function: FilterConcept
dependencies: 1
inputs: Summer Olympic Games
function: Find
inputs: 1904 Summer Olympics
function: Relate
dependencies: 3
inputs: follows
backward
function: FilterConcept
dependencies: 4
inputs: Summer Olympic Games
function: Or
dependencies: 2
5
function: Count
dependencies: 6