Version 8.7.2¶
Patch release: SHACL shapes on an imported class become OCL again. Backend only; no editor, metamodel API or generator changes.
Highlights¶
Imported SHACL constraints are no longer dropped when converting to OCL. When a class is itself the SHACL node shape (
:Person a sh:NodeShape ; sh:targetClass :Person ; sh:property ...), itssh:propertyedges start at the class rather than at aKGNodeConstraintwrapper. The RDF projection treated everysh:propertyedge whose source lacked a"shacl"tag as the importer’s OWL-restriction bookkeeping and skipped it, so an imported Knowledge Graph converted to a class diagram without its invariants. Only aKGNodeConstraintcan be that bookkeeping, so the projection now skips the edge only for one, the same test the RDF exporter already applies.