Skip to content

Commit 121240d

Browse files
committed
GH-5040 add the old rdf:type when using legacy vocabulary
1 parent 33880dd commit 121240d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

core/repository/api/src/main/java/org/eclipse/rdf4j/repository/config/RepositoryConfig.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ private void exportLegacy(Model model, Resource repositoryNode) {
156156
model.setNamespace(RDFS.NS);
157157
model.setNamespace(XSD.NS);
158158
model.setNamespace("rep", RepositoryConfigSchema.NAMESPACE);
159+
model.add(repositoryNode, RDF.TYPE, RepositoryConfigSchema.REPOSITORY);
159160

160161
if (id != null) {
161162
model.add(repositoryNode, RepositoryConfigSchema.REPOSITORYID, literal(id));

0 commit comments

Comments
 (0)