Question: What is the connection between Appalachian dulcimer to Brian Jones (the one that died from drowning)?
Choices:
owner of
has immediate cause
doctoral student
signatory
mouth of the watercourse
famous people
partially contains
author
home port
location of final assembly
Program:
function: Find
inputs: Appalachian dulcimer
function: Find
inputs: drowning
function: Relate
dependencies: 1
inputs: cause of death
backward
function: Find
inputs: Brian Jones
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Appalachian dulcimer" . ?e_2 <pred:name> "Brian Jones" . ?e_2 <cause_of_death> ?e_3 . ?e_3 <pred:name> "drowning" . ?e_1 ?p ?e_2 .  }
Answer: famous people