Question: How many electronic musical instruments whose Hornbostel-Sachs classification is 54 or that is based on clavinet?
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> "electronic musical instrument" .  { ?e <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> "54" .  } UNION { ?e <based_on> ?e_1 . ?e_1 <pred:name> "clavinet" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Hornbostel-Sachs classification
54
function: FilterConcept
dependencies: 1
inputs: electronic musical instrument
function: Find
inputs: clavinet
function: Relate
dependencies: 3
inputs: based on
backward
function: FilterConcept
dependencies: 4
inputs: electronic musical instrument
function: Or
dependencies: 2
5
function: Count
dependencies: 6