Question: If we know there is a historical country connected to the history of Sweden  until 1721, was the year of its dissolution other than 1931?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "historical country" . ?e_1 <history_of_topic> ?e . ?e_1 <pred:name> "Sweden" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <history_of_topic> ; <pred:fact_t> ?e ] <end_time> ?qpv . ?qpv <pred:year> 1721 . ?e <dissolved,_abolished_or_demolished> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1931 ) .  }
Program:
function: Find
inputs: Sweden
function: Relate
dependencies: 0
inputs: history of topic
forward
function: QFilterYear
dependencies: 1
inputs: end time
1721
=
function: FilterConcept
dependencies: 2
inputs: historical country
function: QueryAttr
dependencies: 3
inputs: dissolved, abolished or demolished
function: VerifyYear
dependencies: 4
inputs: 1931
!=
Answer: yes