Question: What country holds the state whose dissolution date is after the year 1804 (this statement's country is the United States of America) and date it is dissolved, abolished or demolished is 1865-12-18?
Choices:
Socialist Federal Republic of Yugoslavia
United States of America
Orange Free State
Kingdom of the Netherlands
South Korea
Peru
Venezuela
Scotland
Nazi Germany
Bhutan
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: dissolved, abolished or demolished
1804
>
function: QFilterStr
dependencies: 1
inputs: country
United States of America
function: FilterConcept
dependencies: 2
inputs: state
function: QueryAttrQualifier
dependencies: 3
inputs: dissolved, abolished or demolished
1865-12-18
country
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state" . ?e <dissolved,_abolished_or_demolished> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 > 1804 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <dissolved,_abolished_or_demolished> ; <pred:fact_t> ?pv_1 ] <country> ?qpv_1 . ?qpv_1 <pred:value> "United States of America" . ?e <dissolved,_abolished_or_demolished> ?pv . ?pv <pred:date> "1865-12-18"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <dissolved,_abolished_or_demolished> ; <pred:fact_t> ?pv ] <country> ?qpv .  }
Answer: United States of America