Question: How many plucked sound instruments were included into the instrumentation of The Sorcerer's Apprentice (the one whose instrumentation is bass clarinet), or, they report 786.419 as their Dewey Decimal Classification ?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "plucked string instrument" .  { ?e_1 <instrumentation> ?e . ?e_1 <pred:name> "The Sorcerer's Apprentice" . ?e_1 <instrumentation> ?e_2 . ?e_2 <pred:name> "bass clarinet" .  } UNION { ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> "786.419" .  } }
Program:
function: Find
inputs: bass clarinet
function: Relate
dependencies: 0
inputs: instrumentation
backward
function: Find
inputs: The Sorcerer's Apprentice
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: instrumentation
forward
function: FilterConcept
dependencies: 4
inputs: plucked string instrument
function: FindAll
function: FilterStr
dependencies: 6
inputs: Dewey Decimal Classification
786.419
function: FilterConcept
dependencies: 7
inputs: plucked string instrument
function: Or
dependencies: 5
8
function: Count
dependencies: 9