which office holder's predecessor is john walsh and his associate is frederick cooper ?
SELECT DISTINCT var_uri where brack_open var_uri dbo_predecessor dbr_John_Walsh_ attr_open Australian_politician attr_close sep_dot var_uri dbo_associate dbr_Frederick_Cooper_ attr_open politician attr_close sep_dot var_uri a dbo_OfficeHolder brack_close