SHACL Shapes
https://meta.linked.archi/archimate4/viewpoint-shapes#
SHACL shapes for validating that architecture Views conform to their declared Viewpoints. Data-driven — reads viewpoint definitions from the loaded graph.
| Property | Constraint | Value | Severity | Message |
|---|---|---|---|---|
viewConformsToViewpoint |
minCount | 1 |
Warning |
SELECT $this ?element ?elementType WHERE {
$this arch:viewConformsToViewpoint ?vp .
$this arch:contains ?element .
?element rdf:type ?elementType .
?elementType rdfs:subClassOf* arch:Element .
FILTER NOT EXISTS {
?vp arch:includesConcept ?elementType .
}
FILTER NOT EXISTS {
?vp arch:includesConcept ?parentType .
?elementType rdfs:subClassOf+ ?parentType .
}
}