When did Edward Brooke finish his position as Massachusetts' Attorney General?
SELECT ?value WHERE { wd:Q3276635 p:P39 ?s . ?s ps:P39 wd:Q3406492 . ?s pq:P582 ?value}
edward brooke: Q3276635 massachusetts attorney general: Q3406492