Closed RiittaA closed 1 year ago
Thank you, Rita, for the observation. We have relaxed the rule to allow for both cases.
When generating SHACL shapes, it is a good practice to create a node shape for each UML class and, within it a property shape for each UML attribute and UML Connector of that class. If the property shapes are defined within the node shapes (rather than freestanding), then we mirror the structure depicted in the UML diagrams. Doing so is intuitive for the readers, the resulting constraint definitions are organically integrated, and the maintenance costs are decreased. However, sometimes it may be useful to define the property shapes as stand alone, therefore reusable.
See https://semiceu.github.io/style-guide/public-review/gc-data-shape-conventions.html#sec:dsc-r4