Question: Was John Mahoney (the one whose date of death is 2011-04-05) born after 1946?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Program:
function: Find
inputs: John Mahoney
function: FilterDate
dependencies: 0
inputs: date of death
2011-04-05
=
function: QueryAttr
dependencies: 1
inputs: date of birth
function: VerifyYear
dependencies: 2
inputs: 1946
>
SPARQL: ASK { ?e <pred:name> "John Mahoney" . ?e <date_of_death> ?pv_1 . ?pv_1 <pred:date> "2011-04-05"^^xsd:date . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1946 ) .  }
Answer: yes