SHACL Shapes
https://meta.linked.archi/zachman/shapes#
SHACL validation shapes for viewpoints classified using the Zachman Framework taxonomy. Validates that viewpoints using Zachman cell classification are consistent with their aspect and perspective declarations.
PREFIX zach: <https://meta.linked.archi/zachman/onto#>
PREFIX zachtax: <https://meta.linked.archi/zachman/tax#>
PREFIX arch: <https://meta.linked.archi/core#>
SELECT $this ?cell ?aspect ?cellAspect
WHERE {
$this zach:classifiedByCell ?cell .
$this arch:viewpointCoversAspect ?aspect .
?cell zach:hasAspect ?cellAspect .
FILTER (?aspect != ?cellAspect)
}
PREFIX zach: <https://meta.linked.archi/zachman/onto#>
PREFIX zachtax: <https://meta.linked.archi/zachman/tax#>
PREFIX arch: <https://meta.linked.archi/core#>
SELECT $this ?cell ?perspective ?cellPerspective
WHERE {
$this zach:classifiedByCell ?cell .
$this arch:viewpointAddressesPerspective ?perspective .
?cell zach:hasPerspective ?cellPerspective .
FILTER (?perspective != ?cellPerspective)
}
PREFIX zach: <https://meta.linked.archi/zachman/onto#>
PREFIX zachtax: <https://meta.linked.archi/zachman/tax#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
SELECT $this ?cell
WHERE {
$this zach:classifiedByCell ?cell .
FILTER NOT EXISTS { ?cell skos:broader zachtax:Cell }
}