Question: What does the blue rock musician Jim Morrison and maraca have in common?
Choices:
contains settlement
home port
head of government
item operated
doctoral student
art director
manufacturer
production company
instrument
use
Program:
function: Find
inputs: blues rock
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: Jim Morrison
function: And
dependencies: 1
2
function: Find
inputs: maraca
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Jim Morrison" . ?e_3 <famous_people> ?e_1 . ?e_3 <pred:name> "blues rock" . ?e_2 <pred:name> "maraca" . ?e_1 ?p ?e_2 .  }
Answer: instrument