Who replaced Michal Korybut Wisniowiecki as the King of Poland?
SELECT ?value WHERE { wd:Q54041 p:P39 ?s . ?s ps:P39 wd:Q3273712 . ?s pq:P1365 ?value}
michał korybut wiśniowiecki: Q54041 king of poland: Q3273712