Question: How many Summer Olympic Games either took place in Los Angeles or had the edition number of 1?
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 <location> ?e_1 . ?e_1 <pred:name> "Los Angeles" .  } UNION { ?e <edition_number> ?pv . ?pv <pred:value> "1" .  } }
Program:
function: Find
inputs: Los Angeles
function: Relate
dependencies: 0
inputs: location
backward
function: FilterConcept
dependencies: 1
inputs: Summer Olympic Games
function: FindAll
function: FilterStr
dependencies: 3
inputs: edition number
1
function: FilterConcept
dependencies: 4
inputs: Summer Olympic Games
function: Or
dependencies: 2
5
function: Count
dependencies: 6