Question: Did John Wells, who worked in Washington, D.C., die prior to 1989?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Program:
function: Find
inputs: Washington, D.C.
function: Relate
dependencies: 0
inputs: work location
backward
function: Find
inputs: John Wells
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: date of death
function: VerifyYear
dependencies: 4
inputs: 1989
<
SPARQL: ASK { ?e <pred:name> "John Wells" . ?e <work_location> ?e_1 . ?e_1 <pred:name> "Washington, D.C." .  ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1989 ) .  }
Answer: yes