Question: How many woodwind instruments are the instrument used by Charlie Parker (the one that has the occupation of musician) or have the Hornbostel-Sachs classification of 423.121.11?
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> "woodwind instrument" .  { ?e_1 <instrument> ?e . ?e_1 <pred:name> "Charlie Parker" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "musician" .  } UNION { ?e <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> "423.121.11" .  } }
Program:
function: Find
inputs: musician
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Charlie Parker
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: instrument
forward
function: FilterConcept
dependencies: 4
inputs: woodwind instrument
function: FindAll
function: FilterStr
dependencies: 6
inputs: Hornbostel-Sachs classification
423.121.11
function: FilterConcept
dependencies: 7
inputs: woodwind instrument
function: Or
dependencies: 5
8
function: Count
dependencies: 9