Linked.Archi ArchiMate 4.0 Architecture Principle Shapes
type: Ontology
imports: core#
imports: core-shapes#
license: http://creativecommons.org/licenses/by/4.0/
preferred namespace prefix: am4psh
creator: Kalin Maldzhanski
description: SHACL shapes encoding common enterprise architecture principles as executable constraints. Adapted from 3.2 principle shapes for ArchiMate 4.0 domain-based structure.
created: 2026-04-19
modified: 2026-04-29
publisher: Linked.Archi
publisher: linked.archi
status: draft
version IRI: 4.0#
version info: 4.0
declare:
  prefix: am4
  namespace: https://meta.linked.archi/archimate4/onto#
declare:
  prefix: arch
  namespace: https://meta.linked.archi/core#
declare:
  prefix: rdf
  namespace: http://www.w3.org/1999/02/22-rdf-syntax-ns#
declare:
  prefix: rdfs
  namespace: http://www.w3.org/2000/01/rdf-schema#

RedundancyAvoidanceShape
type: NodeShape
target class: Service
severity: Warning
sparql:
  prefixes: Linked.Archi ArchiMate 4.0 Architecture Principle Shapes
  message: Multiple components realize the same service — potential redundancy.
  select: SELECT $this (COUNT(DISTINCT ?comp) AS ?count) WHERE { ?comp am4:realizes $this . ?comp rdf:type/rdfs:subClassOf* am4:InternalActiveStructureElement . } GROUP BY $this HAVING (COUNT(DISTINCT ?comp) > 1)