Question: What country does the state, which is the main subject of Ashanti (the one whose title is Ashanti), that was dissolved, abolished, or demolished on 18th December 1865,  belong to ?
Choices:
Poland
Indonesia
Costa Rica
Russian Empire
Thailand
Czech Republic
Socialist Federal Republic of Yugoslavia
Singapore
Kingdom of Italy
United States of America
Answer: United States of America
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state" . ?e_1 <main_subject> ?e . ?e_1 <pred:name> "Ashanti" . ?e_1 <title> ?pv_1 . ?pv_1 <pred:value> "Ashanti" . ?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 .  }
Program:
function: Find
inputs: Ashanti
function: FilterStr
dependencies: 0
inputs: title
Ashanti
function: Relate
dependencies: 1
inputs: main subject
forward
function: FilterConcept
dependencies: 2
inputs: state
function: QueryAttrQualifier
dependencies: 3
inputs: dissolved, abolished or demolished
1865-12-18
country