Question: Which class of instruments is the instrument used by the human whose pseudonym is Jon Bon Jovi (in the class of stage name)?
Choices:
piano
guitar
djembe
goblet drum
harmonica
oboe
kazoo
Timbales
xylophone
celesta
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: pseudonym
Jon Bon Jovi
function: QFilterStr
dependencies: 1
inputs: instance of
stage name
function: FilterConcept
dependencies: 2
inputs: human
function: Relate
dependencies: 3
inputs: instrument
forward
function: FilterConcept
dependencies: 4
inputs: class of instruments
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "class of instruments" . ?e_1 <instrument> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <pseudonym> ?pv . ?pv <pred:value> "Jon Bon Jovi" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <pseudonym> ; <pred:fact_t> ?pv ] <instance_of> ?qpv . ?qpv <pred:value> "stage name" .   }
Answer: harmonica