Question: Kazoo player and acid rocker Jimi Hendrix appears in which work?
Choices:
The Royal Scandal
Mr. Holmes
The Iron Lady
Crosstown Traffic
Sherlock Holmes and the Deadly Necklace
Sherlock Holmes
The Hound of the Baskervilles
Sherlock Holmes: A Game of Shadows
Elementary
If 6 Was 9
Program:
function: Find
inputs: acid rock
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
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Jimi Hendrix" . ?e_3 <famous_people> ?e_1 . ?e_3 <pred:name> "acid rock" . ?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 .  }
Answer: Crosstown Traffic