Question: How many Summer Olympic Games end after 1956 or follow the 1928 Summer Olympics?
Choices:
15
16
17
18
19
20
21
22
23
24
Answer: 15
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Summer Olympic Games" .  { ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1956 ) .  } UNION { ?e <follows> ?e_1 . ?e_1 <pred:name> "1928 Summer Olympics" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: end time
1956
>
function: FilterConcept
dependencies: 1
inputs: Summer Olympic Games
function: Find
inputs: 1928 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