What is the {historical country} for {head of state} of {Jefferson Davis}
[]
Jefferson Davis was head of state of which historical country?
SELECT DISTINCT ?n WHERE { ?n property:head_of_state resource:Jefferson_Davis . ?n rdf:type ontology:historical_country }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P35> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q162269> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q3024240> } 
 select distinct ?sbj where { ?sbj wdt:P35 wd:Q162269 . ?sbj wdt:P31 wd:Q3024240 } 
Confederate States of America