Question: Was War and Peace, scripted by Leo Tolstoy, released in Sweden prior to 2006?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Program:
function: Find
inputs: Leo Tolstoy
function: Relate
dependencies: 0
inputs: screenwriter
backward
function: Find
inputs: War and Peace
function: And
dependencies: 1
2
function: QueryAttrUnderCondition
dependencies: 3
inputs: publication date
place of publication
Sweden
function: VerifyYear
dependencies: 4
inputs: 2006
<
SPARQL: ASK { ?e <pred:name> "War and Peace" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> "Leo Tolstoy" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2006 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> "Sweden" .  }
Answer: yes