Question: How many keyboard instruments are there whose Hornbostel-Sachs classification is 412.132 or whose vertical depth is different from 50 centimeters ?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Hornbostel-Sachs classification
412.132
function: FilterConcept
dependencies: 1
inputs: keyboard instrument
function: FindAll
function: FilterNum
dependencies: 3
inputs: vertical depth
50 centimetre
!=
function: FilterConcept
dependencies: 4
inputs: keyboard instrument
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "keyboard instrument" .  { ?e <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> "412.132" .  } UNION { ?e <vertical_depth> ?pv . ?pv <pred:unit> "centimetre" . ?pv <pred:value> ?v . FILTER ( ?v != "50"^^xsd:double ) .  } }
Answer: 3