String resourceString = body.getParameter("resource");
String languageString = body.getParameter("language");
Resource resource = model.createResource(resourceString);
model.createStatement(resource, DC.language, languageString).remove();
Collection deletingProperties = new ArrayList();
StmtIterator properties = resource.listProperties();
while (properties.hasNext()) {
Statement current = properties.nextStatement();
RDFNode object = current.getObject();
if ((object instanceof Literal) && (languageString.equals(((Literal)object).getLanguage()))) {
deletingProperties.add(current);