whose associate is robert ramsay and has predecessor as james taylor ?
SELECT DISTINCT var_uri where brack_open var_uri dbo_associate dbr_Robert_Ramsay_ attr_open Queensland_politician attr_close sep_dot var_uri dbo_predecessor dbr_James_Taylor_ attr_open Queensland_politician attr_close brack_close