Question: How many plucked string instruments do we know whose Dewey Decimal Classification is 786.419 or whose whose Hornbostel-Sachs classification is 314.122-6-8?
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> "plucked string instrument" .  { ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> "786.419" .  } UNION { ?e <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> "314.122-6-8" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Dewey Decimal Classification
786.419
function: FilterConcept
dependencies: 1
inputs: plucked string instrument
function: FindAll
function: FilterStr
dependencies: 3
inputs: Hornbostel-Sachs classification
314.122-6-8
function: FilterConcept
dependencies: 4
inputs: plucked string instrument
function: Or
dependencies: 2
5
function: Count
dependencies: 6