Question: Did Doc Watson, born 30th January 1885, die after 1930?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Program:
function: Find
inputs: Doc Watson
function: FilterDate
dependencies: 0
inputs: date of birth
1885-01-30
=
function: QueryAttr
dependencies: 1
inputs: date of death
function: VerifyYear
dependencies: 2
inputs: 1930
>
SPARQL: ASK { ?e <pred:name> "Doc Watson" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1885-01-30"^^xsd:date . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1930 ) .  }
Answer: yes