Question: Which guitar with 321.322-5 as its Hornbostel-Sachs classification is used by classical guitar player John Williams?
Choices:
pedal steel guitar
classical guitar
acoustic guitar
Heart
twelve-string guitar
Cammell Laird
baritone guitar
30 Days of Night
Michel Legrand
electric guitar
Answer: classical guitar
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "guitar" . ?e_1 <instrument> ?e . ?e_1 <pred:name> "John Williams" . ?e_1 <instrument> ?e_2 . ?e_2 <pred:name> "classical guitar" .  ?e <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> "321.322-5" .  }
Program:
function: Find
inputs: classical guitar
function: Relate
dependencies: 0
inputs: instrument
backward
function: Find
inputs: John Williams
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: instrument
forward
function: FilterConcept
dependencies: 4
inputs: guitar
function: FindAll
function: FilterStr
dependencies: 6
inputs: Hornbostel-Sachs classification
321.322-5
function: FilterConcept
dependencies: 7
inputs: guitar
function: And
dependencies: 5
8
function: What
dependencies: 9