Question: How many string instruments are used by harpsichordists or have a Hornbostel-Sachs classification of 322?
Choices: 1
2
3
4
5
6
7
8
9
10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "string instrument" .  { ?e_1 <uses> ?e . ?e_1 <pred:name> "harpsichordist" .  } UNION { ?e <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> "322" .  } }
Program:
function: Find
inputs: harpsichordist
function: Relate
dependencies: 0
inputs: uses
forward
function: FilterConcept
dependencies: 1
inputs: string instrument
function: FindAll
function: FilterStr
dependencies: 3
inputs: Hornbostel-Sachs classification
322
function: FilterConcept
dependencies: 4
inputs: string instrument
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2