Question: How many different categories of instruments are involved in The Sorcerer's Apprentice, which features cornet instrumentation?
Choices:
8
9
10
11
12
13
14
15
16
17
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> "cornet" .   }
Program:
function: Find
inputs: cornet
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