Question: How many classes of instruments are the orchestration of The Sorcerer's Apprentice (whose instrumentation is oboe)?
Choices:
9
10
11
12
13
14
15
16
17
18
Answer: 10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "class of instruments" . ?e_1 <instrumentation> ?e . ?e_1 <pred:name> "The Sorcerer's Apprentice" . ?e_1 <instrumentation> ?e_2 . ?e_2 <pred:name> "oboe" .   }
Program:
function: Find
inputs: oboe
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: class of instruments
function: Count
dependencies: 5