shacl2linkml and linkml2shacl #3621
mleist
started this conversation in
Show and tell
Replies: 1 comment
|
@mleist Thank you! Much appreciated that you are looking into roundtripable (it sounds?) isomorphic parity between SHACL and LinkML. How does your work relate to the current SHACL generator in LinkML. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I am working on semantic graphs of asset data, looking at both the (technical) CIM/CGMES data and semantically linked data that cannot easily be modelled in CIM.
An initial PoC has been produced.
In doing so, I aimed to achieve two objectives:
To map the complexity of SHACL descriptions across various aspects onto multiple LinkML descriptions.
I hope this reduces the sometimes considerable complexity.
To extend these various LinkML representations of SHACL constraints with constraints that apply to data not originating from the CIM context.
I then wanted to reassemble these LinkML snippets into a single large SHACL TTL.
I tried this out with a larger SHACL TTL from entso-e.
Apart from two minor details,
the original and shacl2linkml -> linkml2shacl are now isomorphically equivalent.
https://github.com/mleist/shacl-linkml-tools
Perhaps others might find this interesting too?
All reactions