who is the replaced by John Hancock has position held as Governor of Massachusetts ?
SELECT ?value WHERE { wd:Q272774 p:P39 ?s . ?s ps:P39 wd:Q887117 . ?s pq:P1366 ?value}
john hancock: Q272774 governor of massachusetts: Q887117