Question: What is the connection between John Locke (the one that plays the instrument piano) to natural causes?
Choices:
place of origin (Switzerland)
director
military rank
filmography
practiced by
screenwriter
family
manner of death
office held by head of government
airline hub
Answer: manner of death
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Locke" . ?e_1 <instrument> ?e_3 . ?e_3 <pred:name> "piano" . ?e_2 <pred:name> "natural causes" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: piano
function: Relate
dependencies: 0
inputs: instrument
backward
function: Find
inputs: John Locke
function: And
dependencies: 1
2
function: Find
inputs: natural causes
function: QueryRelation
dependencies: 3
4