In what position was Frederick John Robinson, 1st Viscount Goderich replaced by Arthur Wellesley, 1st Duke of Wellington?
SELECT ?obj WHERE { wd:Q312591 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P1366 wd:Q131691 }
f. j. robinson, 1st viscount goderich: Q312591 arthur wellesley, 1st duke of wellington: Q131691