whose associate is john hamilton and has predecessor as frederick cooper ?
SELECT DISTINCT var_uri where brack_open var_uri dbo_associate dbr_John_Hamilton_ attr_open Australian_politician attr_close sep_dot var_uri dbo_predecessor dbr_Frederick_Cooper_ attr_open politician attr_close brack_close