Question: Is the person who is a Peruvian citizen, is their date of death prior to 2005?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <country_of_citizenship> ?e_1 . ?e_1 <pred:name> "Peru" .  ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2005 ) .  }
Program:
function: Find
inputs: Peru
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: FilterConcept
dependencies: 1
inputs: human
function: QueryAttr
dependencies: 2
inputs: date of death
function: VerifyYear
dependencies: 3
inputs: 2005
<
Answer: yes