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
Is it this behaviour related to a filter in a low-level osp-core-function which is parsing the JSON-LD for an owl:NamedIndivudual containing the http://www.osp-core.com/cuds-namespace and hence disregards any custom IRI without this namespace?
Is there any breaking change planned for osp v.4.0.0 related to the serialisation of CUDS ? Do you think there is an opportunity to fix this issue on an upcoming release between >v3.7.0 and <v4.0.0?
The text was updated successfully, but these errors were encountered:
Hi @MBueschelberger. Yes, I think _deserialize_cuds_object is possibly tapping into the same code that imports the CUDS from rdf, which converts custom IRIs to an UID and adds a triple with the predicate owl:sameAs to connect the two, but the "default one" is the UID. This comes from a time where a custom IRI was not supported. I think it's time to remove this behavior and just use the custom IRI. I will categorize this as a bug, which means that it must be solved within the v3 branch.
@MBueschelberger Can you install OSP-core from PR #759 and see if it solves your problem? If yes, then I will mark it as ready for review so that @pablo-de-andres or @yoavnash can have a look at it.
@kysrpex, I am currently running this example for building a dcat2:Resource-CUDS with a custom IRI.
When I do a
pretty_print
, everything is instanciated as expected:However, when I use the
post
-function to serialize to a REST API and use a_deserialize_cuds_object
on the payload, the custom IRIs were disregarded:Is it this behaviour related to a filter in a low-level osp-core-function which is parsing the JSON-LD for an
owl:NamedIndivudual
containing thehttp://www.osp-core.com/cuds
-namespace and hence disregards any custom IRI without this namespace?Is there any breaking change planned for osp
v.4.0.0
related to the serialisation of CUDS ? Do you think there is an opportunity to fix this issue on an upcoming release between >v3.7.0
and <v4.0.0
?The text was updated successfully, but these errors were encountered: