Question: Was Slaughterhouse-Five (the one that was nominated for National Book Award for Fiction) not published in 1978?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Slaughterhouse-Five" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "National Book Award for Fiction" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1978 ) .  }
Program:
function: Find
inputs: National Book Award for Fiction
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Slaughterhouse-Five
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: publication date
function: VerifyYear
dependencies: 4
inputs: 1978
!=