Question: What is the relationship between Peter Graves (the one that is the citizen of United Kingdom) and natural causes?
Choices:
grants
continent
permanent resident of
parent club
manner of death
terminus
located in time zone
based on
country for sport
copyright representative
Answer: manner of death
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Peter Graves" . ?e_1 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> "United Kingdom" . ?e_2 <pred:name> "natural causes" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: Peter Graves
function: And
dependencies: 1
2
function: Find
inputs: natural causes
function: QueryRelation
dependencies: 3
4