Question: Did Chris Brown who was born on 1961-08-15 die before 2012?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:name> "Chris Brown" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1961-08-15"^^xsd:date . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2012 ) .  }
Program:
function: Find
inputs: Chris Brown
function: FilterDate
dependencies: 0
inputs: date of birth
1961-08-15
=
function: QueryAttr
dependencies: 1
inputs: date of death
function: VerifyYear
dependencies: 2
inputs: 2012
<
Answer: yes