What is the {cabinet} for {head of state} of {Jefferson Davis}
What is the cabinet whose head of state is Jefferson Davis?
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:cabinet . ?l property:head_of_state resource:Jefferson_Davis }
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/Q640506> } 
 select distinct ?sbj where { ?sbj wdt:P35 wd:Q162269 . ?sbj wdt:P31 wd:Q640506 } 
Cabinet of the Confederate States