Which position was held by Archibald Primrose, 5th Earl of Rosebery who replaced John Wodehouse, 1st Earl of Kimberley?
SELECT ?obj WHERE { wd:Q244620 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P1365 wd:Q335342 }
archibald primrose, 5th earl of rosebery: Q244620 john wodehouse, 1st earl of kimberley: Q335342