Question: Was The Shipping News, featuring a story set in Newfoundland, published more recently than 1987 ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Program:
function: Find
inputs: Newfoundland
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: The Shipping News
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: publication date
function: VerifyYear
dependencies: 4
inputs: 1987
>
SPARQL: ASK { ?e <pred:name> "The Shipping News" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Newfoundland" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1987 ) .  }
Answer: yes