Question: How is bass guitarist Jim O'Rourke related to the profession of guitarist?
Choices:
location of discovery
voice actor
has effect
office contested
home venue
discoverer or inventor
instrument
occupation
fictional universe described in
honorific suffix
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Jim O'Rourke" . ?e_1 <instrument> ?e_3 . ?e_3 <pred:name> "bass guitar" . ?e_2 <pred:name> "guitarist" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: bass guitar
function: Relate
dependencies: 0
inputs: instrument
backward
function: Find
inputs: Jim O'Rourke
function: And
dependencies: 1
2
function: Find
inputs: guitarist
function: QueryRelation
dependencies: 3
4