Question: Who is the head of country (or state)?
Paraphrase: Who is the head of nation (or state)?
SPARQL (Wikidata):  select distinct ?sbj where { ?sbj wdt:P35 wd:Q22686 . ?sbj wdt:P31 wd:Q6256 }