function to delete part of entity from RQL. Tested. bug#061901 key pb when download file from s3