Question: Was The Green Mile (the one whose genre is suspense), not published in 1997?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "The Green Mile" . ?e <genre> ?e_1 . ?e_1 <pred:name> "suspense" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1997 ) .  }
Program:
function: Find
inputs: suspense
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: The Green Mile
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: publication date
function: VerifyYear
dependencies: 4
inputs: 1997
!=