Question: How many classes of instruments have the Hornbostel-Sachs classification 422.212-71 or originate in Cuba (whose Human Development Index is 0.769)?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Hornbostel-Sachs classification
422.212-71
function: FilterConcept
dependencies: 1
inputs: class of instruments
function: Find
inputs: Cuba
function: FilterNum
dependencies: 3
inputs: Human Development Index
0.769
=
function: Relate
dependencies: 4
inputs: country of origin
backward
function: FilterConcept
dependencies: 5
inputs: class of instruments
function: Or
dependencies: 2
6
function: Count
dependencies: 7
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.212-71" .  } UNION { ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Cuba" . ?e_1 <Human_Development_Index> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "0.769"^^xsd:double .  } }
Answer: 5