Question: What is the relationship between Richard Hunt, who died of natural causes, and musician?
Choices:
owner of
country
place of publication
official residence
occupation
published in
has quality
set in period
professorship
currency
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Richard Hunt" . ?e_1 <manner_of_death> ?e_3 . ?e_3 <pred:name> "natural causes" . ?e_2 <pred:name> "musician" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: natural causes
function: Relate
dependencies: 0
inputs: manner of death
backward
function: Find
inputs: Richard Hunt
function: And
dependencies: 1
2
function: Find
inputs: musician
function: QueryRelation
dependencies: 3
4