Question: What is the number of Summer Olympic Games that were officially opened by Elizabeth II or have a date of occurrence prior to 1900?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Summer Olympic Games" .  { ?e <officially_opened_by> ?e_1 . ?e_1 <pred:name> "Elizabeth II" .  } UNION { ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1900 ) .  } }
Program:
function: Find
inputs: Elizabeth II
function: Relate
dependencies: 0
inputs: officially opened by
backward
function: FilterConcept
dependencies: 1
inputs: Summer Olympic Games
function: FindAll
function: FilterYear
dependencies: 3
inputs: point in time
1900
<
function: FilterConcept
dependencies: 4
inputs: Summer Olympic Games
function: Or
dependencies: 2
5
function: Count
dependencies: 6