Question: How many Winter Olympic Games have been held in Japan or in Aachen, which has a postal code of 52080?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Winter Olympic Games" .  { ?e <country> ?e_1 . ?e_1 <pred:name> "Japan" .  } UNION { ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Aachen" . ?e_1 <postal_code> ?pv . ?pv <pred:value> "52080" .  } }
Program:
function: Find
inputs: Japan
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: Winter Olympic Games
function: Find
inputs: Aachen
function: FilterStr
dependencies: 3
inputs: postal code
52080
function: Relate
dependencies: 4
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 5
inputs: Winter Olympic Games
function: Or
dependencies: 2
6
function: Count
dependencies: 7