From 8adc93874a20a7c86bbf58dbcf37d7a77fdd76b5 Mon Sep 17 00:00:00 2001 From: Susanne Kunis Date: Thu, 12 Dec 2024 11:34:29 +0100 Subject: [PATCH] using of rocrate context for that properties results in an invalid rocrate --- src/omero_rdf/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/omero_rdf/__init__.py b/src/omero_rdf/__init__.py index 00052eb..59cf9a1 100644 --- a/src/omero_rdf/__init__.py +++ b/src/omero_rdf/__init__.py @@ -250,13 +250,13 @@ def serialize_graph(self): { "@id": "./", "@type": "Dataset", - "rocrate:license": "https://creativecommons.org/licenses/by/4.0/", + "license": "https://creativecommons.org/licenses/by/4.0/", }, { "@id": "ro-crate-metadata.json", "@type": "CreativeWork", - "rocrate:conformsTo": {"@id": "https://w3id.org/ro/crate/1.1"}, - "rocrate:about": {"@id": "./"}, + "conformsTo": {"@id": "https://w3id.org/ro/crate/1.1"}, + "about": {"@id": "./"}, }, ] return json.dumps(j, indent=4)