RDFLib / pySHACL

A Python validator for SHACL
Apache License 2.0
252 stars 65 forks source link

The long-await standalone SHACL Rule Expander mode #260

Closed ashleysommer closed 1 month ago

ashleysommer commented 1 month ago

🎉 This is by far the most common feature request for PySHACL 🎉

This adds an alternative operating mode, as first described in the discussion in #60

Rather than validating the DataGraph against a Shapes and Constraints, this mode will run only the SHACL Functions and SHACL Rules as defined in the SHACL-AF spec.

When combining this mode with the recently added Shapes Selection and Focus-node targeting options, this allows running selected expansion runs on selected nodes, enabling some very powerful procedural SHACL workflows.


This PR is pretty big.