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