Refactoring of RDF resource models.