Question: How does the head of Canada, Victoria, relate to natural causes?
Choices:
board member
given name
basin country
manner of death
geography of topic
production designer
tributary
takes place in fictional universe
head of government
significant event
Program:
function: Find
inputs: Canada
function: Relate
dependencies: 0
inputs: head of state
forward
function: Find
inputs: Victoria
function: And
dependencies: 1
2
function: Find
inputs: natural causes
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Victoria" . ?e_3 <head_of_state> ?e_1 . ?e_3 <pred:name> "Canada" . ?e_2 <pred:name> "natural causes" . ?e_1 ?p ?e_2 .  }
Answer: manner of death