Question: What is the relation between the songwriter Ray Charles and natural causes?
Choices:
diaspora
broadcast by
sexual orientation
practiced by
legal form
godparent
signatory
archives at
manner of death
shares border with
Answer: manner of death
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Ray Charles" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "songwriter" . ?e_2 <pred:name> "natural causes" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: songwriter
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Ray Charles
function: And
dependencies: 1
2
function: Find
inputs: natural causes
function: QueryRelation
dependencies: 3
4