Question: How many classes of instruments have a Hornbostel-Sachs classification of 423.233 or are a derivative work of electronic drum?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
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> "423.233" .  } UNION { ?e_1 <derivative_work> ?e . ?e_1 <pred:name> "electronic drum" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Hornbostel-Sachs classification
423.233
function: FilterConcept
dependencies: 1
inputs: class of instruments
function: Find
inputs: electronic drum
function: Relate
dependencies: 3
inputs: derivative work
forward
function: FilterConcept
dependencies: 4
inputs: class of instruments
function: Or
dependencies: 2
5
function: Count
dependencies: 6