Question: How many classes of instruments have Hornbostel-Sachs classification 422.22 or MCN code 8306.10.00?
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> "class of instruments" .  { ?e <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> "422.22" .  } UNION { ?e <MCN_code> ?pv . ?pv <pred:value> "8306.10.00" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Hornbostel-Sachs classification
422.22
function: FilterConcept
dependencies: 1
inputs: class of instruments
function: FindAll
function: FilterStr
dependencies: 3
inputs: MCN code
8306.10.00
function: FilterConcept
dependencies: 4
inputs: class of instruments
function: Or
dependencies: 2
5
function: Count
dependencies: 6