Question: Which work is Jimi Hendrix (the one that is famous for blues rock) present in where he plays the instrument glockenspiel?
Choices: The Hound of the Baskervilles
Mr. Holmes
The Royal Scandal
Incident at Victoria Falls
The Iron Lady
Sherlock Holmes and the Deadly Necklace
If 6 Was 9
Crosstown Traffic
Sherlock Holmes: A Game of Shadows
Elementary
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Jimi Hendrix" . ?e_3 <famous_people> ?e_1 . ?e_3 <pred:name> "blues rock" . ?e_2 <pred:name> "glockenspiel" . ?e_1 <instrument> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <instrument> ; <pred:fact_t> ?e_2 ] <present_in_work> ?qpv .  }
Program:
function: Find
inputs: blues rock
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: Jimi Hendrix
function: And
dependencies: 1
2
function: Find
inputs: glockenspiel
function: QueryRelationQualifier
dependencies: 3
4
inputs: instrument
present in work
Answer: If 6 Was 9