Question: Was The Fighter, by producer Mark Wahlberg, released in Germany in a year other than 2012 ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "The Fighter" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Mark Wahlberg" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2012 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> "Germany" .  }
Program:
function: Find
inputs: Mark Wahlberg
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: The Fighter
function: And
dependencies: 1
2
function: QueryAttrUnderCondition
dependencies: 3
inputs: publication date
place of publication
Germany
function: VerifyYear
dependencies: 4
inputs: 2012
!=