Question: Was the Johnny Carson who died on 2009-04-01 born in a year other than 1986 ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Johnny Carson" . ?e <date_of_death> ?pv_1 . ?pv_1 <pred:date> "2009-04-01"^^xsd:date . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1986 ) .  }
Program:
function: Find
inputs: Johnny Carson
function: FilterDate
dependencies: 0
inputs: date of death
2009-04-01
=
function: QueryAttr
dependencies: 1
inputs: date of birth
function: VerifyYear
dependencies: 2
inputs: 1986
!=