Question: When was Henry V replaced by Lothair III as Holy Roman Emperor?
SPARQL (Wikidata): SELECT ?obj WHERE { wd:Q151707 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P1366 wd:Q77189 }