Question: Is the date of death of William Gibson (whose date of birth is 1815-01-01) before 2015 ?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:name> "William Gibson" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1815-01-01"^^xsd:date . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2015 ) .  }
Program:
function: Find
inputs: William Gibson
function: FilterDate
dependencies: 0
inputs: date of birth
1815-01-01
=
function: QueryAttr
dependencies: 1
inputs: date of death
function: VerifyYear
dependencies: 2
inputs: 2015
<
Answer: yes