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