Question: How many string instruments are either a part of lute or have the Hornbostel-Sachs classification of 321.322-71?
Choices:
4
5
6
7
8
9
10
11
12
13
Answer: 4
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "string instrument" .  { ?e_1 <has_parts_of_the_class> ?e . ?e_1 <pred:name> "lute" .  } UNION { ?e <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> "321.322-71" .  } }
Program:
function: Find
inputs: lute
function: Relate
dependencies: 0
inputs: has parts of the class
forward
function: FilterConcept
dependencies: 1
inputs: string instrument
function: FindAll
function: FilterStr
dependencies: 3
inputs: Hornbostel-Sachs classification
321.322-71
function: FilterConcept
dependencies: 4
inputs: string instrument
function: Or
dependencies: 2
5
function: Count
dependencies: 6