Question: How many saxophones have a 422.212-71 Hornbostel-Sachs classification or are the instrument used by Charlie Parker (who died in New York City)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 4
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "saxophone" .  { ?e <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> "422.212-71" .  } UNION { ?e_1 <instrument> ?e . ?e_1 <pred:name> "Charlie Parker" . ?e_1 <place_of_death> ?e_2 . ?e_2 <pred:name> "New York City" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Hornbostel-Sachs classification
422.212-71
function: FilterConcept
dependencies: 1
inputs: saxophone
function: Find
inputs: New York City
function: Relate
dependencies: 3
inputs: place of death
backward
function: Find
inputs: Charlie Parker
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: instrument
forward
function: FilterConcept
dependencies: 7
inputs: saxophone
function: Or
dependencies: 2
8
function: Count
dependencies: 9