mjhoffmeister / Hydra.NET

MIT License
4 stars 2 forks source link

SHACL Support #8

Closed mjhoffmeister closed 3 years ago

mjhoffmeister commented 3 years ago

@lambdakris - I created Hydra.NET#7 to add Shapes Constraint Language (SHACL) support. My motivation is to provide a mechanism for specifying allowed values for properties. I've been eyeing SHACL for a while, and decided to pull the trigger since we're on the cusp of it being added to the Hydra spec as an extension.

While it's still being worked out spec-wise, it seems fairly safe to assume that sh:NodeShape will be allowed as a type for supported classes (see this comment,) so that's how I've implemented it. See the updated README and code for more details, and let me know what you think if you get the time.

mjhoffmeister commented 3 years ago

There's some work I want to do on entry points, so I'm going to go ahead and complete the PR. We can create new PRs to address any issues or enhancements regarding NodeShapes and supported classes.