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