Question: What's James Cameron ((the one whose date of death is 2006-06-11) born before 1834?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:name> "James Cameron" . ?e <date_of_death> ?pv_1 . ?pv_1 <pred:date> "2006-06-11"^^xsd:date . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1834 ) .  }
Program:
function: Find
inputs: James Cameron
function: FilterDate
dependencies: 0
inputs: date of death
2006-06-11
=
function: QueryAttr
dependencies: 1
inputs: date of birth
function: VerifyYear
dependencies: 2
inputs: 1834
<