What position did Stanisław Koniecpolski held where he was replaced by Mikołaj Potock?
SELECT ?obj WHERE { wd:/Stanisław Koniecpolski/ p:/position held/ ?s . ?s ps:/position held/ ?obj . ?s pq:/replaced by/ wd:/Mikołaj Potocki/ }