Question: How many string instruments have Hornbostel-Sachs number 321.322-71 or are in the pianist occupational field?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "string instrument" .  { ?e <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> "321.322-71" .  } UNION { ?e_1 <field_of_this_occupation> ?e . ?e_1 <pred:name> "pianist" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Hornbostel-Sachs classification
321.322-71
function: FilterConcept
dependencies: 1
inputs: string instrument
function: Find
inputs: pianist
function: Relate
dependencies: 3
inputs: field of this occupation
forward
function: FilterConcept
dependencies: 4
inputs: string instrument
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 4