Linked.Archi

Zachman Framework SHACL Shapes

SHACL Shapes

https://meta.linked.archi/zachman/shapes#

v0.1.0 zachsh: Kalin Maldzhanski Linked.Archi Modified: 2026-05-18 License

SHACL validation shapes for artifacts classified using the Zachman Framework taxonomy. Validates that artifacts using Zachman classification have at least one perspective (row) and one interrogative (column), and warns about potential inconsistencies between cell-level and axis-level classification.

Contents

ArtifactWithInterrogativeShape

PropertyConstraintValueSeverityMessage
viewpointFromPerspective minCount 1 Warning

ArtifactWithPerspectiveShape

PropertyConstraintValueSeverityMessage
viewpointCoversAspect minCount 1 Warning

CellClassificationConsistencyShape

SPARQL constraint: Artifact is classified by cell {?cell} but has a perspective {?perspective} that does not match the cell's perspective {?cellPerspective}. Warning
            PREFIX zach: <https://meta.linked.archi/zachman#>
            PREFIX arch: <https://meta.linked.archi/core#>
            SELECT $this ?cell ?perspective ?cellPerspective
            WHERE {
                $this arch:classifiedByFrameworkCell ?cell .
                $this arch:viewpointFromPerspective ?perspective .
                ?cell zach:hasPerspective ?cellPerspective .
                FILTER (?perspective != ?cellPerspective)
            }
        
SPARQL constraint: Artifact is classified by cell {?cell} but has an interrogative {?aspect} that does not match the cell's interrogative {?cellInterrogative}. Warning
            PREFIX zach: <https://meta.linked.archi/zachman#>
            PREFIX arch: <https://meta.linked.archi/core#>
            SELECT $this ?cell ?aspect ?cellInterrogative
            WHERE {
                $this arch:classifiedByFrameworkCell ?cell .
                $this arch:viewpointCoversAspect ?aspect .
                ?cell zach:hasInterrogative ?cellInterrogative .
                FILTER (?aspect != ?cellInterrogative)
            }
        

ValidCellShape

PropertyConstraintValueSeverityMessage
classifiedByFrameworkCell class Concept Violation
SPARQL constraint: arch:classifiedByFrameworkCell value {?cell} is not a narrower concept of zach:ZachmanCell. Violation
            PREFIX zach: <https://meta.linked.archi/zachman#>
            PREFIX arch: <https://meta.linked.archi/core#>
            PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
            SELECT $this ?cell
            WHERE {
                $this arch:classifiedByFrameworkCell ?cell .
                FILTER NOT EXISTS { ?cell skos:broader zach:ZachmanCell }
            }
        

ValidInterrogativeShape

PropertyConstraintValueSeverityMessage
viewpointCoversAspect in 582e96c425afd942 Warning

ValidPerspectiveShape

PropertyConstraintValueSeverityMessage
viewpointFromPerspective in 582e96c425afd949 Violation