Question: Was The Ten Commandments (which mainly depicts religion) published outside of 2013 in Stockholm?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "The Ten Commandments" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> "religion" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2013 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> "Stockholm" .  }
Program:
function: Find
inputs: religion
function: Relate
dependencies: 0
inputs: main subject
backward
function: Find
inputs: The Ten Commandments
function: And
dependencies: 1
2
function: QueryAttrUnderCondition
dependencies: 3
inputs: publication date
place of publication
Stockholm
function: VerifyYear
dependencies: 4
inputs: 2013
!=