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
Describe the bug
When ingesting a shacl shape which is identified with a relative URI (instead of a blank node) then the shacl shape is identified in the LDES using a file:// scheme.
To Reproduce
Steps to reproduce the behavior:
Seed the LDES server with the following definition:
Expected behavior
The shacl shape should be identified by: <http://localhost:9003/touristattractions>/shape instead of <file:///touristattractions/shape>.
The text was updated successfully, but these errors were encountered:
A little investigation shows that every relative URI, without setting an @base first, receives a file:// scheme. In fact, this is how the Jena model is parsed and then parsed back to a string:
Because of the way eventstreams and views are handled in the server, the file:// scheme is just ignored. To be more detailed, this happens because of the .getLocalName() calls that happen to retrieve the collection or view name. However, this is not the case for shacl shapes, as they stay RDF/Jena models in the code base and in the db. Further investigation on how to fix this issue needs to happen
Describe the bug
When ingesting a shacl shape which is identified with a relative URI (instead of a blank node) then the shacl shape is identified in the LDES using a
file://
scheme.To Reproduce
Steps to reproduce the behavior:
Seed the LDES server with the following definition:
and notice that the shape is incorrectly named:
Expected behavior
The shacl shape should be identified by:
<http://localhost:9003/touristattractions>/shape
instead of<file:///touristattractions/shape>
.The text was updated successfully, but these errors were encountered: