Question: How many string instruments were the instrumentation of The Sorcerer's Apprentice (the one whose title is L'Apprenti sorcier) or have a Hornbostel-Sachs classification of 322?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "string instrument" .  { ?e_1 <instrumentation> ?e . ?e_1 <pred:name> "The Sorcerer's Apprentice" . ?e_1 <title> ?pv . ?pv <pred:value> "L'Apprenti sorcier" .  } UNION { ?e <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> "322" .  } }
Program:
function: Find
inputs: The Sorcerer's Apprentice
function: FilterStr
dependencies: 0
inputs: title
L'Apprenti sorcier
function: Relate
dependencies: 1
inputs: instrumentation
forward
function: FilterConcept
dependencies: 2
inputs: string instrument
function: FindAll
function: FilterStr
dependencies: 4
inputs: Hornbostel-Sachs classification
322
function: FilterConcept
dependencies: 5
inputs: string instrument
function: Or
dependencies: 3
6
function: Count
dependencies: 7