What is {position held} of {Charles XIV John of Sweden} that is {replaces} is {Charles XIII of Sweden} ?
How was Charles XIII of Sweden replaced by Charles XIV John of Sweden ?
In what position did Charles XIV John of Sweden replace Charles XIII of Sweden?
SELECT ?h WHERE { ?n property:replaces resource:Charles_XIII_of_Sweden . ?n property:position_held ?h . resource:Charles_XIV_John_of_Sweden property:position_held ?n }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q52927> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P39> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P1365> <http://wikidata.dbpedia.org/resource/Q52928>
} 

SELECT ?obj WHERE { wd:Q52927 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P1365 wd:Q52928 }