Question: What position is held by the head of state of Ottoman Empire?
Paraphrase: The head of state of Ottoman Empire holds which position.
SPARQL (Wikidata):  select distinct ?obj where { wd:Q12560 wdt:P1906 ?obj . ?obj wdt:P31 wd:Q4164871 } 
Answer: sultan of the Ottoman Empire