Question: Which work is Jimi Hendrix, the famous guitar player, present in playing kazoo instrument ?
Choices:
The Hound of the Baskervilles
Mr. Holmes
The Case of the Whitechapel Vampire
The Royal Scandal
Sherlock Holmes and the Leading Lady
Elementary
Sherlock Holmes
If 6 Was 9
The Iron Lady
Crosstown Traffic
Answer: Crosstown Traffic
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Jimi Hendrix" . ?e_3 <famous_people> ?e_1 . ?e_3 <pred:name> "guitar" . ?e_2 <pred:name> "kazoo" . ?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: guitar
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: Jimi Hendrix
function: And
dependencies: 1
2
function: Find
inputs: kazoo
function: QueryRelationQualifier
dependencies: 3
4
inputs: instrument
present in work