Question: What number of saxophones have a Hornbostel-Sachs classification that equals 422.212-71 or are played by Tom Scott, who gained notoriety for his baritone sax skill?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 4
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "saxophone" .  { ?e <famous_people> ?e_1 . ?e_1 <pred:name> "Tom Scott" . ?e_2 <famous_people> ?e_1 . ?e_2 <pred:name> "baritone saxophone" .  } UNION { ?e <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> "422.212-71" .  } }
Program:
function: Find
inputs: baritone saxophone
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: Tom Scott
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: famous people
backward
function: FilterConcept
dependencies: 4
inputs: saxophone
function: FindAll
function: FilterStr
dependencies: 6
inputs: Hornbostel-Sachs classification
422.212-71
function: FilterConcept
dependencies: 7
inputs: saxophone
function: Or
dependencies: 5
8
function: Count
dependencies: 9