Question: What is the link between Jimi Hendrix whose genre is blues rock and kazoo?
Choices:
part of
instrument
is a list of
film distribute region
officially opened by
academic degree
published in
parent astronomical body
office held by head of state
connects with
Answer: instrument
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Jimi Hendrix" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "blues rock" . ?e_2 <pred:name> "kazoo" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: blues rock
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Jimi Hendrix
function: And
dependencies: 1
2
function: Find
inputs: kazoo
function: QueryRelation
dependencies: 3
4