Question: How is the sitar related to guitarist John Paul Jones ?
Choices:
famous people
military conflicts
statistical leader
studied by
dedicated to
source of material
sidekick of
league
head of government
film regional debut venue
Program:
function: Find
inputs: sitar
function: Find
inputs: guitarist
function: Relate
dependencies: 1
inputs: occupation
backward
function: Find
inputs: John Paul Jones
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "sitar" . ?e_2 <pred:name> "John Paul Jones" . ?e_2 <occupation> ?e_3 . ?e_3 <pred:name> "guitarist" . ?e_1 ?p ?e_2 .  }
Answer: famous people