which office holder's predecessor is thomas macdonald-paterson and his associate is john ferguson ?
SELECT DISTINCT var_uri where brack_open var_uri dbo_predecessor dbr_Thomas_Macdonald-Paterson sep_dot var_uri dbo_associate dbr_John_Ferguson_ attr_open Australian_politician attr_close sep_dot var_uri a dbo_OfficeHolder brack_close