What is the {position} for {office held by head of state} of {Kingdom of Mercia}
What is the most elevated position within the Kingdom of Mercia ?
What is the highest position in the Kingdom of Mercia ?
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:position . resource:Kingdom_of_Mercia property:office_held_by_head_of_state ?y }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q105092> . ?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/Q4164871> } 
 select distinct ?obj where { wd:Q105092 wdt:P1906 ?obj . ?obj wdt:P31 wd:Q4164871 } 
King of Mercia