Question: Did Robert Ryan—who passed away due to natural causes—die later than 1980?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Program:
function: Find
inputs: natural causes
function: Relate
dependencies: 0
inputs: manner of death
backward
function: Find
inputs: Robert Ryan
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: date of death
function: VerifyYear
dependencies: 4
inputs: 1890
>
SPARQL: ASK { ?e <pred:name> "Robert Ryan" . ?e <manner_of_death> ?e_1 . ?e_1 <pred:name> "natural causes" .  ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1890 ) .  }
Answer: yes