Question: How many sports use Olympia (from Helsingborgs IF) or have Tag:sport=toboggan as their OSM tag or key?
Choices:
2
3
4
5
6
7
8
9
10
11
Program:
function: Find
inputs: Helsingborgs IF
function: Relate
dependencies: 0
inputs: occupant
backward
function: Find
inputs: Olympia
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: use
forward
function: FilterConcept
dependencies: 4
inputs: type of sport
function: FindAll
function: FilterStr
dependencies: 6
inputs: OSM tag or key
Tag:sport=toboggan
function: FilterConcept
dependencies: 7
inputs: type of sport
function: Or
dependencies: 5
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "type of sport" .  { ?e_1 <use> ?e . ?e_1 <pred:name> "Olympia" . ?e_1 <occupant> ?e_2 . ?e_2 <pred:name> "Helsingborgs IF" .  } UNION { ?e <OSM_tag_or_key> ?pv . ?pv <pred:value> "Tag:sport=toboggan" .  } }
Answer: 2