Question: How is sax-player Sting related to the role of bassist?
Choices:
language used
part of
geographic distribution
occupation
military conflicts
facet of
headquarters location
grants
publisher
military rank
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Sting" . ?e_1 <instrument> ?e_3 . ?e_3 <pred:name> "saxophone" . ?e_2 <pred:name> "bassist" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: saxophone
function: Relate
dependencies: 0
inputs: instrument
backward
function: Find
inputs: Sting
function: And
dependencies: 1
2
function: Find
inputs: bassist
function: QueryRelation
dependencies: 3
4