whose associate is john mcmaster and has predecessor as francis beattie ?
SELECT DISTINCT var_uri where brack_open var_uri dbo_associate dbr_John_McMaster_ attr_open mayor attr_close sep_dot var_uri dbo_predecessor dbr_Francis_Beattie_ attr_open Queensland_politician attr_close brack_close