Question: Is the screenwriter of Naked Lunch which was published on April 30, 1992 born in 1906?
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_1 <screenwriter> ?e . ?e_1 <pred:name> "Naked Lunch" . ?e_1 <publication_date> ?pv_1 . ?pv_1 <pred:date> "1992-04-30"^^xsd:date . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1906 ) .  }
Program:
function: Find
inputs: Naked Lunch
function: FilterDate
dependencies: 0
inputs: publication date
1992-04-30
=
function: Relate
dependencies: 1
inputs: screenwriter
forward
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: date of birth
function: VerifyYear
dependencies: 4
inputs: 1906
!=