Who replaced Michal Korybut Wisniowiecki as the King of Poland?
SELECT ?value WHERE { wd:/Michał Korybut Wiśniowiecki/ p:/position held/ ?s . ?s ps:/position held/ wd:/King of Poland/ . ?s pq:/replaces/ ?value}