What is the {royal or noble rank} for {office held by head of state} of {Ottoman Empire}
Name the title given to the Ottoman Empire's ruler.
What title was given to the ruler of the Ottoman Empire?
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:noble_title . resource:Ottoman_Empire property:office_held_by_head_of_state ?p }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q12560> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1906> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?obj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q355567> } 
 select distinct ?obj where { wd:Q12560 wdt:P1906 ?obj . ?obj wdt:P31 wd:Q355567 } 
sultan of the Ottoman Empire