which office holder's predecessor is john douglas and his associate is patrick o'sullivan ?
SELECT DISTINCT var_uri where brack_open var_uri dbo_predecessor dbr_John_Douglas_ attr_open Queensland_politician attr_close sep_dot var_uri dbo_associate dbr_Patrick_O'Sullivan_ attr_open Queensland_politician attr_close sep_dot var_uri a dbo_OfficeHolder brack_close