Question: What is the relationship between James Stewart (the one that has the occupation of mathematician) and natural causes?
Choices:
exclave of
partially contains
military rank
director/manager
registered with
office contested
relative
geography of topic
manner of death
diplomatic relation
Program:
function: Find
inputs: mathematician
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: James Stewart
function: And
dependencies: 1
2
function: Find
inputs: natural causes
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "James Stewart" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "mathematician" . ?e_2 <pred:name> "natural causes" . ?e_1 ?p ?e_2 .  }
Answer: manner of death