Refactoring of RDF repository.