Turning domain knowledge into testable constraints: how shapes are formulated so that findings remain traceable for domain users.
Domain knowledge becomes executable
Most of a grid operator's quality rules already exist – as a convention, as a checklist, as the experience of individual people. SHACL offers a way to express them as shapes and run them against the data graph. “We always check that manually” turns into a constraint that runs automatically on every data release.
For this to hold up in daily work, a shape has to deliver more than “invalid”. Target class, affected attribute, expected value range and a comprehensible message are part of the rule. A finding that points to a concrete CIM object and is phrased in the language of the department gets corrected – an abstract constraint violation gets ignored.
It also pays to version shapes and separate them by severity. Not every deviation should block an export; some are advisories that are documented and monitored.