Question: what is the number of musical instruments that have the Hornbostel-Sachs classification is 111.242.111 or is that separate from zither?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "musical instrument" .  { ?e <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> "111.242.111" .  } UNION { ?e <different_from> ?e_1 . ?e_1 <pred:name> "zither" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Hornbostel-Sachs classification
111.242.111
function: FilterConcept
dependencies: 1
inputs: musical instrument
function: Find
inputs: zither
function: Relate
dependencies: 3
inputs: different from
backward
function: FilterConcept
dependencies: 4
inputs: musical instrument
function: Or
dependencies: 2
5
function: Count
dependencies: 6