Question: What is the relationship between Robert Shaw (the one that has the occupation of pianist) and natural causes?
Choices:
nominated for
student
spouse
this taxon is source of
killed by
subject has role
conflict
manner of death
destination point
depicts
Answer: manner of death
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Robert Shaw" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "pianist" . ?e_2 <pred:name> "natural causes" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: pianist
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Robert Shaw
function: And
dependencies: 1
2
function: Find
inputs: natural causes
function: QueryRelation
dependencies: 3
4