Question: Did Jim Brown (the one whose date of birth is 1860-12-12) die before 1991?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Jim Brown" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1860-12-12"^^xsd:date . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1991 ) .  }
Program:
function: Find
inputs: Jim Brown
function: FilterDate
dependencies: 0
inputs: date of birth
1860-12-12
=
function: QueryAttr
dependencies: 1
inputs: date of death
function: VerifyYear
dependencies: 2
inputs: 1991
<