Question: Is the publication date before the year 2007 in the release territory of Sweden for the film whose subtitle is Dómsdagur?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <subtitle> ?pv_1 . ?pv_1 <pred:value> "Dómsdagur" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2007 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> "Sweden" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: subtitle
Dómsdagur
function: FilterConcept
dependencies: 1
inputs: film
function: QueryAttrUnderCondition
dependencies: 2
inputs: publication date
place of publication
Sweden
function: VerifyYear
dependencies: 3
inputs: 2007
<
Answer: yes