Question: What was the position of Archduke Charles, Duke of Teschen, when he was replaced by Philipp, Prince of Schwarzenberg?
Paraphrase: When Archduke Charles, Duke of Teschen, was replaced by Philipp, Prince of Schwarzenberg, what was his role?
SPARQL (Wikidata): SELECT ?obj WHERE { wd:Q84201 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P1366 wd:Q163755 }