You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here, the "sdPublisher" property that is supposed to link to the entity shown above has the value PASTA_ELN.
This behavior makes it impossible to reliably use dereference on values, because links to contextual entities might be broken.
From https://www.researchobject.org/ro-crate/specification/1.1/appendix/jsonld#describing-entities-in-json-ld I interpret that adding "#" in front of local identifiers is recommended, but not mandatory, so I don't see the necessity of automatically prepending it and possibly breaking internal references. (But I might be mistaken. In this case I would be thankful for pointing me to the respective requirement in the specification.)
The text was updated successfully, but these errors were encountered:
While working with the same example data as in #202 I noticed that ro-crate-py automatically prepends "#" to the
@id
s of contextual entities.E.g. the
@id
of:is automatically translated to
#PASTA-ELN
.Unfortunately this translation is not applied to linking properties, e.g.:
Here, the "sdPublisher" property that is supposed to link to the entity shown above has the value
PASTA_ELN
.This behavior makes it impossible to reliably use
dereference
on values, because links to contextual entities might be broken.From https://www.researchobject.org/ro-crate/specification/1.1/appendix/jsonld#describing-entities-in-json-ld I interpret that adding "#" in front of local identifiers is recommended, but not mandatory, so I don't see the necessity of automatically prepending it and possibly breaking internal references. (But I might be mistaken. In this case I would be thankful for pointing me to the respective requirement in the specification.)
The text was updated successfully, but these errors were encountered: