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