Question: How many professions have an OSM tag or key of Tag:shop=hairdresser or an SBC-2010 occupation code of 610405?
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> "profession" .  { ?e <OSM_tag_or_key> ?pv . ?pv <pred:value> "Tag:shop=hairdresser" .  } UNION { ?e <SBC-2010_occupation_code> ?pv . ?pv <pred:value> "610405" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: OSM tag or key
Tag:shop=hairdresser
function: FilterConcept
dependencies: 1
inputs: profession
function: FindAll
function: FilterStr
dependencies: 3
inputs: SBC-2010 occupation code
610405
function: FilterConcept
dependencies: 4
inputs: profession
function: Or
dependencies: 2
5
function: Count
dependencies: 6