Question: How many Summer Olympics were the 4th edition of the Summer Games or were held in the UK?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Summer Olympic Games" .  { ?e <edition_number> ?pv . ?pv <pred:value> "4" .  } UNION { ?e <country> ?e_1 . ?e_1 <pred:name> "United Kingdom" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: edition number
4
function: FilterConcept
dependencies: 1
inputs: Summer Olympic Games
function: Find
inputs: United Kingdom
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: Summer Olympic Games
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 3