Question: How many guitars are used by Thora Birch as an instrument or have a Hornbostel-Sachs classification of 321.322-5?
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> "guitar" .  { ?e_1 <instrument> ?e . ?e_1 <pred:name> "Thora Birch" .  } UNION { ?e <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> "321.322-5" .  } }
Program:
function: Find
inputs: Thora Birch
function: Relate
dependencies: 0
inputs: instrument
forward
function: FilterConcept
dependencies: 1
inputs: guitar
function: FindAll
function: FilterStr
dependencies: 3
inputs: Hornbostel-Sachs classification
321.322-5
function: FilterConcept
dependencies: 4
inputs: guitar
function: Or
dependencies: 2
5
function: Count
dependencies: 6