- From: Niels Vandekeybus <niels@vandekeybus.eu>
- Date: Tue, 4 Feb 2025 14:16:41 +0100
- To: "tomasz@t-code.pl" <tomasz@t-code.pl>
- Cc: "public-shacl@w3.org" <public-shacl@w3.org>
Received on Tuesday, 4 February 2025 13:16:58 UTC
Thanks for the quick answer! I'll check it out. On Tue, Feb 4, 2025 at 1:42 PM tomasz@t-code.pl <tomasz@t-code.pl> wrote: > Hello Niels > > I have implemented the SHACL-SPARQL direction in > https://www.npmjs.com/package/clownface-shacl-path > More recently, I implemented a SPARQL Property Paths parser using antl4r: > https://www.npmjs.com/package/sparql-path-parser > > IIRC, there is no conversion back to SHACL Property Path triples (JS > representation is used) but that would be easy to add. > > Best, > Tom > > From: Niels Vandekeybus <niels@vandekeybus.eu> > Date: Tuesday, 4 February 2025 at 13:30 > To: public-shacl@w3.org <public-shacl@w3.org> > Subject: library to convert shacl property paths to sparql property paths > > Hi everyone, > > I hope this is the right channel to ask. For a project I need to convert > shacl property paths to sparql property paths (and back). I was wondering > if anyone knows of a library to do this? For my use case javascript would > be ideal. If none exists I could write my own (the spec explains the > conversion quite well), but I'm a bit surprised this doesn't exist yet. > Hoping for some pointers that I missed :). > > Kind regards, > > Niels >
Received on Tuesday, 4 February 2025 13:16:58 UTC