Question: Did the person with the native name Peter Lawford die in a year other than 2009?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <name_in_native_language> ?pv_1 . ?pv_1 <pred:value> "Peter Lawford" . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2009 ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: name in native language
Peter Lawford
function: FilterConcept
dependencies: 1
inputs: human
function: QueryAttr
dependencies: 2
inputs: date of death
function: VerifyYear
dependencies: 3
inputs: 2009
!=