@linked.archi/la-gram-git 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/NOTICE +2 -0
- package/README.md +214 -2
- package/assets/arch-decision/arch-decision-metamodel.ttl +44 -0
- package/assets/arch-decision/arch-decision-onto.ttl +1566 -0
- package/assets/arch-decision/arch-decision-shapes.ttl +582 -0
- package/assets/arch-decision/arch-decision-tax.ttl +129 -0
- package/assets/arch-processes/arch-processes-metamodel.ttl +42 -0
- package/assets/arch-processes/arch-processes-tax.ttl +136 -0
- package/assets/arch-processes/archProcesses-shapes.ttl +189 -0
- package/assets/arch-processes/archProcesses.ttl +953 -0
- package/assets/archimate3/archimate3.2-element-shapes.ttl +379 -0
- package/assets/archimate3/archimate3.2-metamodel.ttl +205 -0
- package/assets/archimate3/archimate3.2-notation.ttl +1503 -0
- package/assets/archimate3/archimate3.2-onto.ttl +1579 -0
- package/assets/archimate3/archimate3.2-presentation-contexts.ttl +90 -0
- package/assets/archimate3/archimate3.2-principle-shapes.ttl +923 -0
- package/assets/archimate3/archimate3.2-questions.ttl +1125 -0
- package/assets/archimate3/archimate3.2-reference-data.ttl +74 -0
- package/assets/archimate3/archimate3.2-relationship-shapes.ttl +30956 -0
- package/assets/archimate3/archimate3.2-relationship-tables.ttl +5992 -0
- package/assets/archimate3/archimate3.2-tax.ttl +724 -0
- package/assets/archimate3/archimate3.2-viewpoint-shapes.ttl +59 -0
- package/assets/archimate3/archimate3.2-viewpoints.ttl +793 -0
- package/assets/archimate3/icons/and-junction.svg +3 -0
- package/assets/archimate3/icons/application-collaboration.svg +22 -0
- package/assets/archimate3/icons/application-component.svg +18 -0
- package/assets/archimate3/icons/application-event.svg +15 -0
- package/assets/archimate3/icons/application-function.svg +14 -0
- package/assets/archimate3/icons/application-interaction.svg +17 -0
- package/assets/archimate3/icons/application-interface.svg +16 -0
- package/assets/archimate3/icons/application-process.svg +14 -0
- package/assets/archimate3/icons/application-service.svg +14 -0
- package/assets/archimate3/icons/artifact.svg +16 -0
- package/assets/archimate3/icons/assessment.svg +17 -0
- package/assets/archimate3/icons/business-actor.svg +22 -0
- package/assets/archimate3/icons/business-collaboration.svg +21 -0
- package/assets/archimate3/icons/business-event.svg +15 -0
- package/assets/archimate3/icons/business-function.svg +14 -0
- package/assets/archimate3/icons/business-interaction.svg +18 -0
- package/assets/archimate3/icons/business-interface.svg +16 -0
- package/assets/archimate3/icons/business-object.svg +14 -0
- package/assets/archimate3/icons/business-process.svg +15 -0
- package/assets/archimate3/icons/business-role.svg +16 -0
- package/assets/archimate3/icons/business-service.svg +14 -0
- package/assets/archimate3/icons/capability.svg +40 -0
- package/assets/archimate3/icons/communication-network.svg +18 -0
- package/assets/archimate3/icons/constraint.svg +18 -0
- package/assets/archimate3/icons/contract.svg +13 -0
- package/assets/archimate3/icons/course-of-action.svg +20 -0
- package/assets/archimate3/icons/data-object.svg +14 -0
- package/assets/archimate3/icons/deliverable.svg +11 -0
- package/assets/archimate3/icons/device.svg +18 -0
- package/assets/archimate3/icons/distribution-network.svg +19 -0
- package/assets/archimate3/icons/driver.svg +24 -0
- package/assets/archimate3/icons/equipment.svg +31 -0
- package/assets/archimate3/icons/facility.svg +16 -0
- package/assets/archimate3/icons/gap.svg +22 -0
- package/assets/archimate3/icons/glyphs/activity.svg +3 -0
- package/assets/archimate3/icons/glyphs/actor.svg +14 -0
- package/assets/archimate3/icons/glyphs/application-component.svg +12 -0
- package/assets/archimate3/icons/glyphs/artifact.svg +9 -0
- package/assets/archimate3/icons/glyphs/assessment.svg +9 -0
- package/assets/archimate3/icons/glyphs/capability.svg +32 -0
- package/assets/archimate3/icons/glyphs/cloud-gear.svg +3 -0
- package/assets/archimate3/icons/glyphs/collaboration.svg +15 -0
- package/assets/archimate3/icons/glyphs/communication-network.svg +12 -0
- package/assets/archimate3/icons/glyphs/constraint.svg +10 -0
- package/assets/archimate3/icons/glyphs/contract.svg +5 -0
- package/assets/archimate3/icons/glyphs/course-of-action.svg +12 -0
- package/assets/archimate3/icons/glyphs/data-object.svg +4 -0
- package/assets/archimate3/icons/glyphs/deliverable.svg +3 -0
- package/assets/archimate3/icons/glyphs/device.svg +10 -0
- package/assets/archimate3/icons/glyphs/distribution-network.svg +11 -0
- package/assets/archimate3/icons/glyphs/driver.svg +16 -0
- package/assets/archimate3/icons/glyphs/equipment.svg +22 -0
- package/assets/archimate3/icons/glyphs/event.svg +6 -0
- package/assets/archimate3/icons/glyphs/facility.svg +7 -0
- package/assets/archimate3/icons/glyphs/function.svg +6 -0
- package/assets/archimate3/icons/glyphs/gap.svg +14 -0
- package/assets/archimate3/icons/glyphs/goal.svg +10 -0
- package/assets/archimate3/icons/glyphs/grouping.svg +4 -0
- package/assets/archimate3/icons/glyphs/interaction.svg +10 -0
- package/assets/archimate3/icons/glyphs/interface.svg +8 -0
- package/assets/archimate3/icons/glyphs/location.svg +6 -0
- package/assets/archimate3/icons/glyphs/material.svg +12 -0
- package/assets/archimate3/icons/glyphs/meaning.svg +3 -0
- package/assets/archimate3/icons/glyphs/node.svg +8 -0
- package/assets/archimate3/icons/glyphs/object.svg +4 -0
- package/assets/archimate3/icons/glyphs/outcome.svg +16 -0
- package/assets/archimate3/icons/glyphs/path.svg +10 -0
- package/assets/archimate3/icons/glyphs/person-silhouette.svg +3 -0
- package/assets/archimate3/icons/glyphs/plateau.svg +8 -0
- package/assets/archimate3/icons/glyphs/principle.svg +12 -0
- package/assets/archimate3/icons/glyphs/process.svg +6 -0
- package/assets/archimate3/icons/glyphs/product.svg +4 -0
- package/assets/archimate3/icons/glyphs/representation.svg +4 -0
- package/assets/archimate3/icons/glyphs/requirement.svg +6 -0
- package/assets/archimate3/icons/glyphs/resource.svg +14 -0
- package/assets/archimate3/icons/glyphs/role.svg +6 -0
- package/assets/archimate3/icons/glyphs/service.svg +6 -0
- package/assets/archimate3/icons/glyphs/stakeholder.svg +6 -0
- package/assets/archimate3/icons/glyphs/system-software.svg +14 -0
- package/assets/archimate3/icons/glyphs/value-stream.svg +3 -0
- package/assets/archimate3/icons/glyphs/value.svg +3 -0
- package/assets/archimate3/icons/glyphs/work-package.svg +4 -0
- package/assets/archimate3/icons/goal.svg +18 -0
- package/assets/archimate3/icons/grouping.svg +12 -0
- package/assets/archimate3/icons/implementation-event.svg +15 -0
- package/assets/archimate3/icons/location.svg +14 -0
- package/assets/archimate3/icons/material.svg +21 -0
- package/assets/archimate3/icons/meaning.svg +11 -0
- package/assets/archimate3/icons/node.svg +14 -0
- package/assets/archimate3/icons/or-junction.svg +3 -0
- package/assets/archimate3/icons/outcome.svg +25 -0
- package/assets/archimate3/icons/path.svg +18 -0
- package/assets/archimate3/icons/plateau.svg +16 -0
- package/assets/archimate3/icons/principle.svg +21 -0
- package/assets/archimate3/icons/product.svg +12 -0
- package/assets/archimate3/icons/representation.svg +12 -0
- package/assets/archimate3/icons/requirement.svg +14 -0
- package/assets/archimate3/icons/resource.svg +23 -0
- package/assets/archimate3/icons/stakeholder.svg +15 -0
- package/assets/archimate3/icons/system-software.svg +22 -0
- package/assets/archimate3/icons/technology-collaboration.svg +22 -0
- package/assets/archimate3/icons/technology-event.svg +15 -0
- package/assets/archimate3/icons/technology-function.svg +14 -0
- package/assets/archimate3/icons/technology-interaction.svg +18 -0
- package/assets/archimate3/icons/technology-interface.svg +16 -0
- package/assets/archimate3/icons/technology-process.svg +14 -0
- package/assets/archimate3/icons/technology-service.svg +14 -0
- package/assets/archimate3/icons/value-stream.svg +11 -0
- package/assets/archimate3/icons/value.svg +11 -0
- package/assets/archimate3/icons/work-package.svg +12 -0
- package/assets/archimate4/archimate4-element-shapes.ttl +404 -0
- package/assets/archimate4/archimate4-metamodel.ttl +179 -0
- package/assets/archimate4/archimate4-notation.ttl +1147 -0
- package/assets/archimate4/archimate4-onto.ttl +1559 -0
- package/assets/archimate4/archimate4-presentation-contexts.ttl +60 -0
- package/assets/archimate4/archimate4-principle-shapes.ttl +893 -0
- package/assets/archimate4/archimate4-questions.ttl +1224 -0
- package/assets/archimate4/archimate4-reference-data.ttl +56 -0
- package/assets/archimate4/archimate4-relationship-shapes.ttl +16920 -0
- package/assets/archimate4/archimate4-relationship-tables.ttl +3200 -0
- package/assets/archimate4/archimate4-tax.ttl +749 -0
- package/assets/archimate4/archimate4-viewpoint-shapes.ttl +55 -0
- package/assets/archimate4/archimate4-viewpoints.ttl +777 -0
- package/assets/archimate4/icons/and-junction.svg +3 -0
- package/assets/archimate4/icons/application-component.svg +18 -0
- package/assets/archimate4/icons/application-interface.svg +16 -0
- package/assets/archimate4/icons/artifact.svg +16 -0
- package/assets/archimate4/icons/assessment.svg +17 -0
- package/assets/archimate4/icons/business-actor.svg +22 -0
- package/assets/archimate4/icons/business-interface.svg +16 -0
- package/assets/archimate4/icons/business-object.svg +14 -0
- package/assets/archimate4/icons/capability.svg +40 -0
- package/assets/archimate4/icons/collaboration.svg +21 -0
- package/assets/archimate4/icons/communication-network.svg +18 -0
- package/assets/archimate4/icons/course-of-action.svg +20 -0
- package/assets/archimate4/icons/data-object.svg +14 -0
- package/assets/archimate4/icons/deliverable.svg +11 -0
- package/assets/archimate4/icons/device.svg +18 -0
- package/assets/archimate4/icons/distribution-network.svg +19 -0
- package/assets/archimate4/icons/driver.svg +24 -0
- package/assets/archimate4/icons/equipment.svg +31 -0
- package/assets/archimate4/icons/event.svg +15 -0
- package/assets/archimate4/icons/facility.svg +16 -0
- package/assets/archimate4/icons/function.svg +13 -0
- package/assets/archimate4/icons/glyphs/activity.svg +3 -0
- package/assets/archimate4/icons/glyphs/actor.svg +14 -0
- package/assets/archimate4/icons/glyphs/application-component.svg +12 -0
- package/assets/archimate4/icons/glyphs/artifact.svg +9 -0
- package/assets/archimate4/icons/glyphs/assessment.svg +9 -0
- package/assets/archimate4/icons/glyphs/capability.svg +32 -0
- package/assets/archimate4/icons/glyphs/cloud-gear.svg +3 -0
- package/assets/archimate4/icons/glyphs/collaboration.svg +15 -0
- package/assets/archimate4/icons/glyphs/communication-network.svg +12 -0
- package/assets/archimate4/icons/glyphs/constraint.svg +10 -0
- package/assets/archimate4/icons/glyphs/contract.svg +5 -0
- package/assets/archimate4/icons/glyphs/course-of-action.svg +12 -0
- package/assets/archimate4/icons/glyphs/data-object.svg +4 -0
- package/assets/archimate4/icons/glyphs/deliverable.svg +3 -0
- package/assets/archimate4/icons/glyphs/device.svg +10 -0
- package/assets/archimate4/icons/glyphs/distribution-network.svg +11 -0
- package/assets/archimate4/icons/glyphs/driver.svg +16 -0
- package/assets/archimate4/icons/glyphs/equipment.svg +22 -0
- package/assets/archimate4/icons/glyphs/event.svg +6 -0
- package/assets/archimate4/icons/glyphs/facility.svg +7 -0
- package/assets/archimate4/icons/glyphs/function.svg +6 -0
- package/assets/archimate4/icons/glyphs/gap.svg +14 -0
- package/assets/archimate4/icons/glyphs/goal.svg +10 -0
- package/assets/archimate4/icons/glyphs/grouping.svg +4 -0
- package/assets/archimate4/icons/glyphs/interaction.svg +10 -0
- package/assets/archimate4/icons/glyphs/interface.svg +8 -0
- package/assets/archimate4/icons/glyphs/location.svg +6 -0
- package/assets/archimate4/icons/glyphs/material.svg +12 -0
- package/assets/archimate4/icons/glyphs/meaning.svg +3 -0
- package/assets/archimate4/icons/glyphs/node.svg +8 -0
- package/assets/archimate4/icons/glyphs/object.svg +4 -0
- package/assets/archimate4/icons/glyphs/outcome.svg +16 -0
- package/assets/archimate4/icons/glyphs/path.svg +10 -0
- package/assets/archimate4/icons/glyphs/person-silhouette.svg +3 -0
- package/assets/archimate4/icons/glyphs/plateau.svg +8 -0
- package/assets/archimate4/icons/glyphs/principle.svg +12 -0
- package/assets/archimate4/icons/glyphs/process.svg +6 -0
- package/assets/archimate4/icons/glyphs/product.svg +4 -0
- package/assets/archimate4/icons/glyphs/representation.svg +4 -0
- package/assets/archimate4/icons/glyphs/requirement.svg +6 -0
- package/assets/archimate4/icons/glyphs/resource.svg +14 -0
- package/assets/archimate4/icons/glyphs/role.svg +6 -0
- package/assets/archimate4/icons/glyphs/service.svg +6 -0
- package/assets/archimate4/icons/glyphs/stakeholder.svg +6 -0
- package/assets/archimate4/icons/glyphs/system-software.svg +14 -0
- package/assets/archimate4/icons/glyphs/value-stream.svg +3 -0
- package/assets/archimate4/icons/glyphs/value.svg +3 -0
- package/assets/archimate4/icons/glyphs/work-package.svg +4 -0
- package/assets/archimate4/icons/goal.svg +18 -0
- package/assets/archimate4/icons/grouping.svg +12 -0
- package/assets/archimate4/icons/location.svg +14 -0
- package/assets/archimate4/icons/material.svg +21 -0
- package/assets/archimate4/icons/meaning.svg +11 -0
- package/assets/archimate4/icons/node.svg +14 -0
- package/assets/archimate4/icons/or-junction.svg +3 -0
- package/assets/archimate4/icons/outcome.svg +25 -0
- package/assets/archimate4/icons/path.svg +18 -0
- package/assets/archimate4/icons/plateau.svg +16 -0
- package/assets/archimate4/icons/principle.svg +21 -0
- package/assets/archimate4/icons/process.svg +15 -0
- package/assets/archimate4/icons/product.svg +12 -0
- package/assets/archimate4/icons/requirement.svg +14 -0
- package/assets/archimate4/icons/resource.svg +23 -0
- package/assets/archimate4/icons/role.svg +16 -0
- package/assets/archimate4/icons/service.svg +13 -0
- package/assets/archimate4/icons/stakeholder.svg +15 -0
- package/assets/archimate4/icons/system-software.svg +22 -0
- package/assets/archimate4/icons/technology-interface.svg +16 -0
- package/assets/archimate4/icons/value-stream.svg +11 -0
- package/assets/archimate4/icons/value.svg +11 -0
- package/assets/archimate4/icons/work-package.svg +12 -0
- package/assets/basic/basic-metamodel.ttl +100 -0
- package/assets/basic/basic-notation-bubble.ttl +175 -0
- package/assets/basic/basic-notation.ttl +172 -0
- package/assets/basic/basic-onto.ttl +171 -0
- package/assets/basic/basic-presentation-contexts.ttl +70 -0
- package/assets/basic/basic-tax.ttl +130 -0
- package/assets/basic/icons/aggregation.svg +7 -0
- package/assets/basic/icons/association.svg +6 -0
- package/assets/basic/icons/element.svg +5 -0
- package/assets/basic/icons/glyphs/aggregation.svg +6 -0
- package/assets/basic/icons/glyphs/association.svg +5 -0
- package/assets/basic/icons/glyphs/element.svg +5 -0
- package/assets/basic/icons/glyphs/relationship.svg +5 -0
- package/assets/basic/icons/relationship.svg +7 -0
- package/assets/basic/notation-bubble/icons/aggregation.svg +7 -0
- package/assets/basic/notation-bubble/icons/association.svg +6 -0
- package/assets/basic/notation-bubble/icons/element.svg +5 -0
- package/assets/basic/notation-bubble/icons/glyphs/aggregation.svg +6 -0
- package/assets/basic/notation-bubble/icons/glyphs/association.svg +5 -0
- package/assets/basic/notation-bubble/icons/glyphs/element.svg +5 -0
- package/assets/basic/notation-bubble/icons/glyphs/relationship.svg +5 -0
- package/assets/basic/notation-bubble/icons/relationship.svg +7 -0
- package/assets/catalog.ttl +7302 -0
- package/assets/core/core-notation.ttl +131 -0
- package/assets/core/core-onto.ttl +2811 -0
- package/assets/core/core-questions.ttl +957 -0
- package/assets/core/core-shapes.ttl +915 -0
- package/assets/core/core-vis-onto.ttl +1408 -0
- package/assets/core/core-vis-shapes.ttl +840 -0
- package/assets/core-vis/markers/circle-dot.svg +3 -0
- package/assets/core-vis/markers/closed-arrowhead.svg +3 -0
- package/assets/core-vis/markers/filled-diamond.svg +3 -0
- package/assets/core-vis/markers/half-arrowhead.svg +3 -0
- package/assets/core-vis/markers/hollow-arrowhead.svg +3 -0
- package/assets/core-vis/markers/hollow-diamond.svg +3 -0
- package/assets/core-vis/markers/open-arrowhead.svg +3 -0
- package/ci/README.md +126 -0
- package/ci/github/la-gram-git.yml +30 -0
- package/ci/gitlab/la-gram-git.gitlab-ci.yml +20 -0
- package/dist/637.js +51 -0
- package/dist/637.js.map +1 -0
- package/dist/la-gram-git.js +22936 -0
- package/dist/la-gram-git.js.map +1 -0
- package/package.json +31 -4
|
@@ -0,0 +1,923 @@
|
|
|
1
|
+
@prefix owl: <http://www.w3.org/2002/07/owl#> .
|
|
2
|
+
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
|
|
3
|
+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
|
4
|
+
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
|
|
5
|
+
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
|
|
6
|
+
@prefix dcterms: <http://purl.org/dc/terms/> .
|
|
7
|
+
@prefix bibo: <http://purl.org/ontology/bibo/> .
|
|
8
|
+
@prefix vann: <http://purl.org/vocab/vann/> .
|
|
9
|
+
@prefix cc: <http://creativecommons.org/ns#> .
|
|
10
|
+
@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
11
|
+
|
|
12
|
+
@prefix arch: <https://meta.linked.archi/core#> .
|
|
13
|
+
@prefix am: <https://meta.linked.archi/archimate3/onto#> .
|
|
14
|
+
@prefix : <https://meta.linked.archi/archimate3/principle-shapes#> .
|
|
15
|
+
|
|
16
|
+
<https://meta.linked.archi/archimate3/principle-shapes#>
|
|
17
|
+
rdf:type owl:Ontology ;
|
|
18
|
+
owl:imports <https://meta.linked.archi/core#>,
|
|
19
|
+
<https://meta.linked.archi/core-shapes#> ;
|
|
20
|
+
cc:license "http://creativecommons.org/licenses/by/4.0/" ;
|
|
21
|
+
vann:preferredNamespaceUri "https://meta.linked.archi/archimate3/principle-shapes#" ;
|
|
22
|
+
vann:preferredNamespacePrefix "ampsh" ;
|
|
23
|
+
dcterms:title "Linked.Archi Architecture Principle Shapes"@en ;
|
|
24
|
+
dcterms:description '''SHACL shapes encoding common enterprise architecture principles
|
|
25
|
+
and best practices as executable constraints. These shapes validate architecture models
|
|
26
|
+
against governance patterns such as redundancy avoidance, single authoritative source,
|
|
27
|
+
separation of concerns, stewardship, and technology standardization.
|
|
28
|
+
|
|
29
|
+
Inspired by the ontology-based EA principle validation approach described in:
|
|
30
|
+
Montecchiari, D.; Hinkelmann, K. (2026) "Ontology-Based Validation of Enterprise
|
|
31
|
+
Architecture Principles", Applied Sciences, 16(7):3352.
|
|
32
|
+
|
|
33
|
+
These shapes are designed to be loaded alongside the standard ArchiMate element and
|
|
34
|
+
relationship shapes. They operate on instance data (architecture models) and detect
|
|
35
|
+
violations of common governance principles. All shapes use sh:severity sh:Warning
|
|
36
|
+
by default — organizations should promote specific shapes to sh:Violation based on
|
|
37
|
+
their governance policies.
|
|
38
|
+
|
|
39
|
+
Usage:
|
|
40
|
+
./validate.sh --shacl archimate-principles
|
|
41
|
+
|
|
42
|
+
Or load manually alongside other shapes:
|
|
43
|
+
core-shapes.ttl + archimate3.2-principle-shapes.ttl + your-model-data.ttl
|
|
44
|
+
'''@en ;
|
|
45
|
+
dcterms:created "2022-11-14"^^xsd:date ;
|
|
46
|
+
skos:historyNote '''2026-11-30: BusinessProcessOwnershipShape looks first for what is assigned to
|
|
47
|
+
the process, then at its type — the same findings, without testing the type of every active structure element
|
|
48
|
+
for each process.
|
|
49
|
+
|
|
50
|
+
2026-11-29: SinglePointOfFailureShape looks at technology, as ArchiMate
|
|
51
|
+
4.0's does — a business, application or technology service provided by one node, device or system
|
|
52
|
+
software — and no longer at one application component realizing a business service.
|
|
53
|
+
RedundantFunctionRealizationShape is removed: several
|
|
54
|
+
applications serving a business function is normal use, and
|
|
55
|
+
BusinessFunctionRedundantApplicationRealizationShape reports the redundancy. SingleBusinessObjectOwnerShape
|
|
56
|
+
counts writers, as SingleDataWriterShape does. DataObjectStewardshipShape no longer accepts a component
|
|
57
|
+
realizing a data object, which the relationship tables do not permit. TechnologyServingBusinessDirectlyShape
|
|
58
|
+
covers devices and system software, leaving business processes to
|
|
59
|
+
BusinessProcessDirectTechnologyDependencyShape. ApplicationComponentWithoutServiceShape accepts a service
|
|
60
|
+
realized through the component's behaviour or exposed by its interface; CriticalNodeSingleDeploymentShape
|
|
61
|
+
counts devices as hosts; CapabilityWithoutGoalShape accepts influence and no longer a goal serving a
|
|
62
|
+
capability, which the relationship tables do not permit. CompositionMultipleParentWarning gains a label and
|
|
63
|
+
a definition.
|
|
64
|
+
|
|
65
|
+
2026-11-06: OrphanedElementShape written with MINUS rather than
|
|
66
|
+
FILTER NOT EXISTS — the same results, without testing every element against every other one; and
|
|
67
|
+
targeted at ArchiMate 3.2's elements and junctions rather than arch:Element, so that it judges no other
|
|
68
|
+
notation's elements and, with ArchiMate 4.0 loaded too, does not report an element twice.'''@en ;
|
|
69
|
+
dcterms:modified "2026-11-30"^^xsd:date ;
|
|
70
|
+
dcterms:publisher "Linked.Archi"@en, <https://linked.archi> ;
|
|
71
|
+
bibo:status "draft" ;
|
|
72
|
+
owl:versionIRI <https://meta.linked.archi/archimate3/principle-shapes/0.1.0#> ;
|
|
73
|
+
owl:versionInfo "0.1.0"@en ;
|
|
74
|
+
rdfs:seeAlso <https://www.mdpi.com/2076-3417/16/7/3352> ;
|
|
75
|
+
sh:declare [
|
|
76
|
+
sh:prefix "am" ;
|
|
77
|
+
sh:namespace "https://meta.linked.archi/archimate3/onto#"^^xsd:anyURI ;
|
|
78
|
+
] , [
|
|
79
|
+
sh:prefix "arch" ;
|
|
80
|
+
sh:namespace "https://meta.linked.archi/core#"^^xsd:anyURI ;
|
|
81
|
+
] , [
|
|
82
|
+
sh:prefix "rdf" ;
|
|
83
|
+
sh:namespace "http://www.w3.org/1999/02/22-rdf-syntax-ns#"^^xsd:anyURI ;
|
|
84
|
+
] , [
|
|
85
|
+
sh:prefix "rdfs" ;
|
|
86
|
+
sh:namespace "http://www.w3.org/2000/01/rdf-schema#"^^xsd:anyURI ;
|
|
87
|
+
] , [
|
|
88
|
+
sh:prefix "skos" ;
|
|
89
|
+
sh:namespace "http://www.w3.org/2004/02/skos/core#"^^xsd:anyURI ;
|
|
90
|
+
] ;
|
|
91
|
+
dcterms:creator "Kalin Maldzhanski"^^xsd:string .
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
#################################################################
|
|
95
|
+
#
|
|
96
|
+
# CATEGORY 1: REDUNDANCY AVOIDANCE
|
|
97
|
+
#
|
|
98
|
+
# Principle: Avoid redundant application support for the same
|
|
99
|
+
# business capability or process. Multiple applications serving
|
|
100
|
+
# the same process for the same purpose indicate duplication
|
|
101
|
+
# that increases cost and complexity.
|
|
102
|
+
#
|
|
103
|
+
# Reference: Montecchiari & Hinkelmann (2026), Section 5.6,
|
|
104
|
+
# Listing 3 — "RedundancyAvoidanceShape"
|
|
105
|
+
#
|
|
106
|
+
#################################################################
|
|
107
|
+
|
|
108
|
+
:RedundantApplicationServingShape
|
|
109
|
+
a sh:NodeShape ;
|
|
110
|
+
sh:targetClass am:BusinessProcess ;
|
|
111
|
+
sh:severity sh:Warning ;
|
|
112
|
+
skos:prefLabel "Redundant Application Serving"@en ;
|
|
113
|
+
skos:definition
|
|
114
|
+
'''Detects business processes served by more than one application
|
|
115
|
+
component. Multiple applications serving the same process may
|
|
116
|
+
indicate redundancy that should be consolidated or justified.'''@en ;
|
|
117
|
+
sh:sparql [
|
|
118
|
+
sh:prefixes <https://meta.linked.archi/archimate3/principle-shapes#> ;
|
|
119
|
+
sh:message "Business process {$this} is served by multiple application components ({?app1} and {?app2}), indicating potential redundancy."@en ;
|
|
120
|
+
sh:select """
|
|
121
|
+
SELECT $this ?app1 ?app2
|
|
122
|
+
WHERE {
|
|
123
|
+
$this a am:BusinessProcess .
|
|
124
|
+
?app1 a am:ApplicationComponent ;
|
|
125
|
+
am:serves $this .
|
|
126
|
+
?app2 a am:ApplicationComponent ;
|
|
127
|
+
am:serves $this .
|
|
128
|
+
FILTER(STR(?app1) < STR(?app2))
|
|
129
|
+
}
|
|
130
|
+
""" ;
|
|
131
|
+
] ;
|
|
132
|
+
.
|
|
133
|
+
|
|
134
|
+
:RedundantApplicationRealizingServiceShape
|
|
135
|
+
a sh:NodeShape ;
|
|
136
|
+
sh:targetClass am:ApplicationService ;
|
|
137
|
+
sh:severity sh:Warning ;
|
|
138
|
+
skos:prefLabel "Redundant Application Realizing Service"@en ;
|
|
139
|
+
skos:definition
|
|
140
|
+
'''Detects application services realized by more than one
|
|
141
|
+
application component. Multiple components realizing the same
|
|
142
|
+
service may indicate duplication in the application landscape.'''@en ;
|
|
143
|
+
sh:sparql [
|
|
144
|
+
sh:prefixes <https://meta.linked.archi/archimate3/principle-shapes#> ;
|
|
145
|
+
sh:message "Application service {$this} is realized by multiple application components ({?app1} and {?app2})."@en ;
|
|
146
|
+
sh:select """
|
|
147
|
+
SELECT $this ?app1 ?app2
|
|
148
|
+
WHERE {
|
|
149
|
+
$this a am:ApplicationService .
|
|
150
|
+
?app1 a am:ApplicationComponent ;
|
|
151
|
+
am:realizes $this .
|
|
152
|
+
?app2 a am:ApplicationComponent ;
|
|
153
|
+
am:realizes $this .
|
|
154
|
+
FILTER(STR(?app1) < STR(?app2))
|
|
155
|
+
}
|
|
156
|
+
""" ;
|
|
157
|
+
] ;
|
|
158
|
+
.
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
#################################################################
|
|
162
|
+
#
|
|
163
|
+
# CATEGORY 2: SINGLE AUTHORITATIVE SOURCE
|
|
164
|
+
#
|
|
165
|
+
# Principle: Each data object should be owned/updated by exactly
|
|
166
|
+
# one application component. Multiple writers to the same data
|
|
167
|
+
# create consistency risks and governance gaps.
|
|
168
|
+
#
|
|
169
|
+
# Reference: Montecchiari & Hinkelmann (2026), Section 6.3–6.4,
|
|
170
|
+
# Table 1 — "Single authoritative update source for data objects"
|
|
171
|
+
#
|
|
172
|
+
#################################################################
|
|
173
|
+
|
|
174
|
+
:SingleDataWriterShape
|
|
175
|
+
a sh:NodeShape ;
|
|
176
|
+
sh:targetClass am:DataObject ;
|
|
177
|
+
sh:severity sh:Warning ;
|
|
178
|
+
skos:prefLabel "Single Authoritative Data Writer"@en ;
|
|
179
|
+
skos:definition
|
|
180
|
+
'''Detects data objects accessed with write by more than one
|
|
181
|
+
application component. Each data object should have a single
|
|
182
|
+
authoritative source of updates to ensure consistency.'''@en ;
|
|
183
|
+
sh:sparql [
|
|
184
|
+
sh:prefixes <https://meta.linked.archi/archimate3/principle-shapes#> ;
|
|
185
|
+
sh:message "Data object {$this} is written by multiple application components ({?app1} and {?app2}). Designate a single authoritative source."@en ;
|
|
186
|
+
sh:select """
|
|
187
|
+
SELECT DISTINCT $this ?app1 ?app2
|
|
188
|
+
WHERE {
|
|
189
|
+
$this a am:DataObject .
|
|
190
|
+
# A writer: write or read/write access, or an access not stated to be a read.
|
|
191
|
+
?app1 a am:ApplicationComponent .
|
|
192
|
+
{
|
|
193
|
+
?app1 am:accesses $this .
|
|
194
|
+
FILTER NOT EXISTS { ?read1 a am:ReadAccess ; arch:source ?app1 ; arch:target $this . }
|
|
195
|
+
} UNION {
|
|
196
|
+
?write1 a ?kind1 ; arch:source ?app1 ; arch:target $this .
|
|
197
|
+
FILTER(?kind1 IN (am:WriteAccess, am:ReadWriteAccess))
|
|
198
|
+
}
|
|
199
|
+
?app2 a am:ApplicationComponent .
|
|
200
|
+
{
|
|
201
|
+
?app2 am:accesses $this .
|
|
202
|
+
FILTER NOT EXISTS { ?read2 a am:ReadAccess ; arch:source ?app2 ; arch:target $this . }
|
|
203
|
+
} UNION {
|
|
204
|
+
?write2 a ?kind2 ; arch:source ?app2 ; arch:target $this .
|
|
205
|
+
FILTER(?kind2 IN (am:WriteAccess, am:ReadWriteAccess))
|
|
206
|
+
}
|
|
207
|
+
FILTER(STR(?app1) < STR(?app2))
|
|
208
|
+
}
|
|
209
|
+
""" ;
|
|
210
|
+
] ;
|
|
211
|
+
.
|
|
212
|
+
|
|
213
|
+
:SingleBusinessObjectOwnerShape
|
|
214
|
+
a sh:NodeShape ;
|
|
215
|
+
sh:targetClass am:BusinessObject ;
|
|
216
|
+
sh:severity sh:Warning ;
|
|
217
|
+
skos:prefLabel "Single Business Object Writer"@en ;
|
|
218
|
+
skos:definition
|
|
219
|
+
'''Detects business objects written by more than one application
|
|
220
|
+
component. Shared updates without a single authoritative writer
|
|
221
|
+
create governance ambiguity; components that only read a business
|
|
222
|
+
object share it without blurring who owns it.'''@en ;
|
|
223
|
+
skos:scopeNote
|
|
224
|
+
'''A writer as SingleDataWriterShape counts one: write or read/write access,
|
|
225
|
+
or an access not stated to be a read. The relationship tables permit an
|
|
226
|
+
application component only to access a business object, so what it writes
|
|
227
|
+
is the only sign of ownership.'''@en ;
|
|
228
|
+
sh:sparql [
|
|
229
|
+
sh:prefixes <https://meta.linked.archi/archimate3/principle-shapes#> ;
|
|
230
|
+
sh:message "Business object {$this} is written by multiple application components ({?app1} and {?app2}). Clarify ownership."@en ;
|
|
231
|
+
sh:select """
|
|
232
|
+
SELECT DISTINCT $this ?app1 ?app2
|
|
233
|
+
WHERE {
|
|
234
|
+
$this a am:BusinessObject .
|
|
235
|
+
# A writer: write or read/write access, or an access not stated to be a read.
|
|
236
|
+
?app1 a am:ApplicationComponent .
|
|
237
|
+
{
|
|
238
|
+
?app1 am:accesses $this .
|
|
239
|
+
FILTER NOT EXISTS { ?read1 a am:ReadAccess ; arch:source ?app1 ; arch:target $this . }
|
|
240
|
+
} UNION {
|
|
241
|
+
?write1 a ?kind1 ; arch:source ?app1 ; arch:target $this .
|
|
242
|
+
FILTER(?kind1 IN (am:WriteAccess, am:ReadWriteAccess))
|
|
243
|
+
}
|
|
244
|
+
?app2 a am:ApplicationComponent .
|
|
245
|
+
{
|
|
246
|
+
?app2 am:accesses $this .
|
|
247
|
+
FILTER NOT EXISTS { ?read2 a am:ReadAccess ; arch:source ?app2 ; arch:target $this . }
|
|
248
|
+
} UNION {
|
|
249
|
+
?write2 a ?kind2 ; arch:source ?app2 ; arch:target $this .
|
|
250
|
+
FILTER(?kind2 IN (am:WriteAccess, am:ReadWriteAccess))
|
|
251
|
+
}
|
|
252
|
+
FILTER(STR(?app1) < STR(?app2))
|
|
253
|
+
}
|
|
254
|
+
""" ;
|
|
255
|
+
] ;
|
|
256
|
+
.
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
#################################################################
|
|
260
|
+
#
|
|
261
|
+
# CATEGORY 3: STEWARDSHIP AND GOVERNANCE
|
|
262
|
+
#
|
|
263
|
+
# Principle: Critical architecture elements must have assigned
|
|
264
|
+
# ownership and governance. Unowned elements create accountability
|
|
265
|
+
# gaps.
|
|
266
|
+
#
|
|
267
|
+
# Reference: Montecchiari & Hinkelmann (2026), Section 6.2 —
|
|
268
|
+
# "MDM governance for critical business objects"
|
|
269
|
+
#
|
|
270
|
+
#################################################################
|
|
271
|
+
|
|
272
|
+
:ApplicationComponentOwnershipShape
|
|
273
|
+
a sh:NodeShape ;
|
|
274
|
+
sh:targetClass am:ApplicationComponent ;
|
|
275
|
+
sh:severity sh:Warning ;
|
|
276
|
+
skos:prefLabel "Application Component Ownership"@en ;
|
|
277
|
+
skos:definition
|
|
278
|
+
'''Every application component should have a business actor or
|
|
279
|
+
role that owns it, associated with the component.'''@en ;
|
|
280
|
+
skos:scopeNote
|
|
281
|
+
'''ArchiMate has no ownership relationship, and its relationship
|
|
282
|
+
tables do not let a business actor or role be assigned to an
|
|
283
|
+
application component; an association between the two, in
|
|
284
|
+
either direction, is read as ownership.'''@en ;
|
|
285
|
+
sh:sparql [
|
|
286
|
+
sh:prefixes <https://meta.linked.archi/archimate3/principle-shapes#> ;
|
|
287
|
+
sh:message "Application component {$this} has no business actor or role associated with it as its owner."@en ;
|
|
288
|
+
sh:select """
|
|
289
|
+
SELECT $this
|
|
290
|
+
WHERE {
|
|
291
|
+
$this a am:ApplicationComponent .
|
|
292
|
+
FILTER NOT EXISTS {
|
|
293
|
+
{ ?owner am:associatedWith $this . } UNION { $this am:associatedWith ?owner . }
|
|
294
|
+
{ ?owner a am:BusinessActor . } UNION { ?owner a am:BusinessRole . }
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
""" ;
|
|
298
|
+
] ;
|
|
299
|
+
.
|
|
300
|
+
|
|
301
|
+
:BusinessProcessOwnershipShape
|
|
302
|
+
a sh:NodeShape ;
|
|
303
|
+
sh:targetClass am:BusinessProcess ;
|
|
304
|
+
sh:severity sh:Warning ;
|
|
305
|
+
skos:prefLabel "Business Process Ownership"@en ;
|
|
306
|
+
skos:definition
|
|
307
|
+
'''Every business process should be assigned to at least one
|
|
308
|
+
business role or actor that is responsible for it.'''@en ;
|
|
309
|
+
sh:sparql [
|
|
310
|
+
sh:prefixes <https://meta.linked.archi/archimate3/principle-shapes#> ;
|
|
311
|
+
sh:message "Business process {$this} has no assigned business role or actor."@en ;
|
|
312
|
+
sh:select """
|
|
313
|
+
SELECT $this
|
|
314
|
+
WHERE {
|
|
315
|
+
$this a am:BusinessProcess .
|
|
316
|
+
FILTER NOT EXISTS {
|
|
317
|
+
?role am:assignedTo $this .
|
|
318
|
+
?role rdf:type/rdfs:subClassOf* am:ActiveStructureElement .
|
|
319
|
+
?role rdf:type/rdfs:subClassOf* am:BusinessLayerElement .
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
""" ;
|
|
323
|
+
] ;
|
|
324
|
+
.
|
|
325
|
+
|
|
326
|
+
:DataObjectStewardshipShape
|
|
327
|
+
a sh:NodeShape ;
|
|
328
|
+
sh:targetClass am:DataObject ;
|
|
329
|
+
sh:severity sh:Warning ;
|
|
330
|
+
skos:prefLabel "Data Object Stewardship"@en ;
|
|
331
|
+
skos:definition
|
|
332
|
+
'''Critical data objects should have at least one application
|
|
333
|
+
component that accesses them, establishing a clear system of
|
|
334
|
+
record.'''@en ;
|
|
335
|
+
skos:scopeNote
|
|
336
|
+
'''The relationship tables permit an application component only to
|
|
337
|
+
access a data object — not to realize it, nor to be assigned to it,
|
|
338
|
+
which ArchiMate 4.0 adds.'''@en ;
|
|
339
|
+
sh:sparql [
|
|
340
|
+
sh:prefixes <https://meta.linked.archi/archimate3/principle-shapes#> ;
|
|
341
|
+
sh:message "Data object {$this} has no application component accessing it. Assign a system of record."@en ;
|
|
342
|
+
sh:select """
|
|
343
|
+
SELECT $this
|
|
344
|
+
WHERE {
|
|
345
|
+
$this a am:DataObject .
|
|
346
|
+
FILTER NOT EXISTS {
|
|
347
|
+
?app a am:ApplicationComponent ;
|
|
348
|
+
am:accesses $this .
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
""" ;
|
|
352
|
+
] ;
|
|
353
|
+
.
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
#################################################################
|
|
357
|
+
#
|
|
358
|
+
# CATEGORY 4: SEPARATION OF CONCERNS
|
|
359
|
+
#
|
|
360
|
+
# Principle: Architecture layers should maintain clear boundaries.
|
|
361
|
+
# Business logic should not leak into technology, and technology
|
|
362
|
+
# concerns should not pollute business processes.
|
|
363
|
+
#
|
|
364
|
+
#################################################################
|
|
365
|
+
|
|
366
|
+
:BusinessProcessDirectTechnologyDependencyShape
|
|
367
|
+
a sh:NodeShape ;
|
|
368
|
+
sh:targetClass am:BusinessProcess ;
|
|
369
|
+
sh:severity sh:Warning ;
|
|
370
|
+
skos:prefLabel "Business Process Direct Technology Dependency"@en ;
|
|
371
|
+
skos:definition
|
|
372
|
+
'''Business processes should not directly depend on technology
|
|
373
|
+
layer elements. An application layer should mediate between
|
|
374
|
+
business and technology. The physical elements, part of the
|
|
375
|
+
Technology Layer, are left out: equipment may serve a process
|
|
376
|
+
directly.'''@en ;
|
|
377
|
+
sh:sparql [
|
|
378
|
+
sh:prefixes <https://meta.linked.archi/archimate3/principle-shapes#> ;
|
|
379
|
+
sh:message "Business process {$this} has a direct serving/realization dependency on technology element {?tech}. Introduce an application layer mediator."@en ;
|
|
380
|
+
sh:select """
|
|
381
|
+
SELECT $this ?tech
|
|
382
|
+
WHERE {
|
|
383
|
+
$this a am:BusinessProcess .
|
|
384
|
+
{
|
|
385
|
+
?tech am:serves $this .
|
|
386
|
+
} UNION {
|
|
387
|
+
?tech am:realizes $this .
|
|
388
|
+
}
|
|
389
|
+
?tech rdf:type/rdfs:subClassOf* am:TechnologyLayerElement .
|
|
390
|
+
FILTER NOT EXISTS { ?tech rdf:type/rdfs:subClassOf* am:PhysicalLayerElement }
|
|
391
|
+
}
|
|
392
|
+
""" ;
|
|
393
|
+
] ;
|
|
394
|
+
.
|
|
395
|
+
|
|
396
|
+
:TechnologyServingBusinessDirectlyShape
|
|
397
|
+
a sh:NodeShape ;
|
|
398
|
+
sh:targetClass am:Node , am:Device , am:SystemSoftware ;
|
|
399
|
+
sh:severity sh:Warning ;
|
|
400
|
+
skos:prefLabel "Technology Serving Business Directly"@en ;
|
|
401
|
+
skos:definition
|
|
402
|
+
'''Nodes, devices and system software should not directly serve
|
|
403
|
+
business layer elements. Services should be exposed through the
|
|
404
|
+
application layer.'''@en ;
|
|
405
|
+
skos:scopeNote
|
|
406
|
+
'''A business process served directly by technology is reported by
|
|
407
|
+
BusinessProcessDirectTechnologyDependencyShape, from the process, and
|
|
408
|
+
not here, so that one relationship gives one result.'''@en ;
|
|
409
|
+
sh:sparql [
|
|
410
|
+
sh:prefixes <https://meta.linked.archi/archimate3/principle-shapes#> ;
|
|
411
|
+
sh:message "Technology element {$this} directly serves business element {?biz}. Route through the application layer."@en ;
|
|
412
|
+
sh:select """
|
|
413
|
+
SELECT DISTINCT $this ?biz
|
|
414
|
+
WHERE {
|
|
415
|
+
$this a ?techType ;
|
|
416
|
+
am:serves ?biz .
|
|
417
|
+
FILTER(?techType IN (am:Node, am:Device, am:SystemSoftware))
|
|
418
|
+
?biz rdf:type/rdfs:subClassOf* am:BusinessLayerElement .
|
|
419
|
+
FILTER NOT EXISTS { ?biz rdf:type/rdfs:subClassOf* am:BusinessProcess }
|
|
420
|
+
}
|
|
421
|
+
""" ;
|
|
422
|
+
] ;
|
|
423
|
+
.
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
#################################################################
|
|
427
|
+
#
|
|
428
|
+
# CATEGORY 5: SERVICE ORIENTATION
|
|
429
|
+
#
|
|
430
|
+
# Principle: Application components should expose their
|
|
431
|
+
# functionality through services. Direct component-to-component
|
|
432
|
+
# dependencies create tight coupling.
|
|
433
|
+
#
|
|
434
|
+
#################################################################
|
|
435
|
+
|
|
436
|
+
:ApplicationComponentWithoutServiceShape
|
|
437
|
+
a sh:NodeShape ;
|
|
438
|
+
sh:targetClass am:ApplicationComponent ;
|
|
439
|
+
sh:severity sh:Info ;
|
|
440
|
+
skos:prefLabel "Application Component Without Service"@en ;
|
|
441
|
+
skos:definition
|
|
442
|
+
'''Application components should expose at least one application
|
|
443
|
+
service — realizing it, performing behaviour that realizes it, or
|
|
444
|
+
through an interface of theirs assigned to it. Components without
|
|
445
|
+
services may indicate missing service definitions or tightly
|
|
446
|
+
coupled integrations.'''@en ;
|
|
447
|
+
sh:sparql [
|
|
448
|
+
sh:prefixes <https://meta.linked.archi/archimate3/principle-shapes#> ;
|
|
449
|
+
sh:message "Application component {$this} does not expose any application service."@en ;
|
|
450
|
+
sh:select """
|
|
451
|
+
SELECT $this
|
|
452
|
+
WHERE {
|
|
453
|
+
$this a am:ApplicationComponent .
|
|
454
|
+
FILTER NOT EXISTS {
|
|
455
|
+
?svc a am:ApplicationService .
|
|
456
|
+
{
|
|
457
|
+
$this am:realizes ?svc .
|
|
458
|
+
} UNION {
|
|
459
|
+
# The application function or process it performs realizes the service.
|
|
460
|
+
$this am:assignedTo ?behaviour .
|
|
461
|
+
?behaviour am:realizes ?svc .
|
|
462
|
+
} UNION {
|
|
463
|
+
# An interface it is composed of is assigned to the service.
|
|
464
|
+
$this am:composedOf ?interface .
|
|
465
|
+
?interface a am:ApplicationInterface ;
|
|
466
|
+
am:assignedTo ?svc .
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
""" ;
|
|
471
|
+
] ;
|
|
472
|
+
.
|
|
473
|
+
|
|
474
|
+
:DirectComponentToComponentServingShape
|
|
475
|
+
a sh:NodeShape ;
|
|
476
|
+
sh:targetClass am:ApplicationComponent ;
|
|
477
|
+
sh:severity sh:Warning ;
|
|
478
|
+
skos:prefLabel "Direct Component-to-Component Serving"@en ;
|
|
479
|
+
skos:definition
|
|
480
|
+
'''Application components should serve other components through
|
|
481
|
+
services, not directly. Direct serving creates tight coupling
|
|
482
|
+
that hinders independent evolution.'''@en ;
|
|
483
|
+
sh:sparql [
|
|
484
|
+
sh:prefixes <https://meta.linked.archi/archimate3/principle-shapes#> ;
|
|
485
|
+
sh:message "Application component {$this} directly serves another application component {?target} without an intermediary service."@en ;
|
|
486
|
+
sh:select """
|
|
487
|
+
SELECT $this ?target
|
|
488
|
+
WHERE {
|
|
489
|
+
$this a am:ApplicationComponent .
|
|
490
|
+
$this am:serves ?target .
|
|
491
|
+
?target a am:ApplicationComponent .
|
|
492
|
+
}
|
|
493
|
+
""" ;
|
|
494
|
+
] ;
|
|
495
|
+
.
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
#################################################################
|
|
499
|
+
#
|
|
500
|
+
# CATEGORY 6: TECHNOLOGY STANDARDIZATION
|
|
501
|
+
#
|
|
502
|
+
# Principle: Technology choices should be standardized. Excessive
|
|
503
|
+
# technology diversity increases operational cost and risk.
|
|
504
|
+
#
|
|
505
|
+
#################################################################
|
|
506
|
+
|
|
507
|
+
:ExcessiveTechnologyDiversityPerServiceShape
|
|
508
|
+
a sh:NodeShape ;
|
|
509
|
+
sh:targetClass am:ApplicationService ;
|
|
510
|
+
sh:severity sh:Info ;
|
|
511
|
+
skos:prefLabel "Excessive Technology Diversity Per Service"@en ;
|
|
512
|
+
skos:definition
|
|
513
|
+
'''Application services realized by components that depend on
|
|
514
|
+
many different technology elements — nodes, devices, system
|
|
515
|
+
software, … — may indicate excessive technology diversity. The
|
|
516
|
+
physical elements, part of the Technology Layer, are not
|
|
517
|
+
counted.'''@en ;
|
|
518
|
+
sh:sparql [
|
|
519
|
+
sh:prefixes <https://meta.linked.archi/archimate3/principle-shapes#> ;
|
|
520
|
+
sh:message "Application service {$this} depends on {?nodeCount} distinct technology elements. Consider standardizing."@en ;
|
|
521
|
+
sh:select """
|
|
522
|
+
SELECT $this (COUNT(DISTINCT ?node) AS ?nodeCount)
|
|
523
|
+
WHERE {
|
|
524
|
+
$this a am:ApplicationService .
|
|
525
|
+
?app am:realizes $this .
|
|
526
|
+
?app a am:ApplicationComponent .
|
|
527
|
+
# Technology it depends on: serving or realizing the component, or hosting
|
|
528
|
+
# what realizes it (a node assigned to an artifact or system software).
|
|
529
|
+
?node (am:serves|am:realizes|am:assignedTo/am:realizes) ?app .
|
|
530
|
+
?node rdf:type/rdfs:subClassOf* am:TechnologyLayerElement ,
|
|
531
|
+
am:ActiveStructureElement .
|
|
532
|
+
FILTER NOT EXISTS { ?node rdf:type/rdfs:subClassOf* am:PhysicalLayerElement }
|
|
533
|
+
}
|
|
534
|
+
GROUP BY $this
|
|
535
|
+
HAVING (COUNT(DISTINCT ?node) > 3)
|
|
536
|
+
""" ;
|
|
537
|
+
] ;
|
|
538
|
+
.
|
|
539
|
+
|
|
540
|
+
|
|
541
|
+
#################################################################
|
|
542
|
+
#
|
|
543
|
+
# CATEGORY 7: SINGLE POINT OF FAILURE
|
|
544
|
+
#
|
|
545
|
+
# Principle: Critical services should not depend on a single piece
|
|
546
|
+
# of infrastructure without redundancy. Single points of failure
|
|
547
|
+
# threaten business continuity.
|
|
548
|
+
#
|
|
549
|
+
# Note: The rules here look at technology — the nodes, devices and
|
|
550
|
+
# system software that provide a service, and the nodes and devices
|
|
551
|
+
# an application component is deployed on. One application component
|
|
552
|
+
# realizing a service is not, by itself, a single point of failure:
|
|
553
|
+
# it may run on several nodes, which CriticalNodeSingleDeploymentShape
|
|
554
|
+
# checks.
|
|
555
|
+
#
|
|
556
|
+
#################################################################
|
|
557
|
+
|
|
558
|
+
:SinglePointOfFailureShape
|
|
559
|
+
a sh:NodeShape ;
|
|
560
|
+
sh:targetClass am:BusinessService , am:ApplicationService , am:TechnologyService ;
|
|
561
|
+
sh:severity sh:Info ;
|
|
562
|
+
skos:prefLabel "Single Point of Failure"@en ;
|
|
563
|
+
skos:definition
|
|
564
|
+
'''A service — business, application or technology — provided by
|
|
565
|
+
exactly one technology active structure element (a node, a device or
|
|
566
|
+
system software), whether directly or through the behaviour assigned
|
|
567
|
+
to it, has no redundancy and may be a single point of failure.'''@en ;
|
|
568
|
+
sh:sparql [
|
|
569
|
+
sh:prefixes <https://meta.linked.archi/archimate3/principle-shapes#> ;
|
|
570
|
+
sh:message "Service {$this} is provided by only one technology element ({?infra}). Consider redundancy for critical infrastructure services."@en ;
|
|
571
|
+
sh:select """
|
|
572
|
+
SELECT DISTINCT $this ?infra
|
|
573
|
+
WHERE {
|
|
574
|
+
$this rdf:type/rdfs:subClassOf* am:ExternalBehaviorElement .
|
|
575
|
+
# Provided by infrastructure: the element realizes the service, or is
|
|
576
|
+
# assigned to behaviour that does. Behaviour only: a device assigned to
|
|
577
|
+
# the system software that realizes the service hosts that one provider,
|
|
578
|
+
# and is not a second.
|
|
579
|
+
?infra a ?infraType .
|
|
580
|
+
FILTER(?infraType IN (am:Node, am:Device, am:SystemSoftware))
|
|
581
|
+
{
|
|
582
|
+
?infra am:realizes $this .
|
|
583
|
+
} UNION {
|
|
584
|
+
?infra am:assignedTo ?behaviour .
|
|
585
|
+
?behaviour rdf:type/rdfs:subClassOf* am:InternalBehaviorElement ;
|
|
586
|
+
am:realizes $this .
|
|
587
|
+
}
|
|
588
|
+
FILTER NOT EXISTS {
|
|
589
|
+
?infra2 a ?infraType2 .
|
|
590
|
+
FILTER(?infraType2 IN (am:Node, am:Device, am:SystemSoftware))
|
|
591
|
+
FILTER(?infra2 != ?infra)
|
|
592
|
+
{
|
|
593
|
+
?infra2 am:realizes $this .
|
|
594
|
+
} UNION {
|
|
595
|
+
?infra2 am:assignedTo ?behaviour2 .
|
|
596
|
+
?behaviour2 rdf:type/rdfs:subClassOf* am:InternalBehaviorElement ;
|
|
597
|
+
am:realizes $this .
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
""" ;
|
|
602
|
+
] ;
|
|
603
|
+
.
|
|
604
|
+
|
|
605
|
+
:CriticalNodeSingleDeploymentShape
|
|
606
|
+
a sh:NodeShape ;
|
|
607
|
+
sh:targetClass am:ApplicationComponent ;
|
|
608
|
+
sh:severity sh:Info ;
|
|
609
|
+
skos:prefLabel "Single Deployment Node"@en ;
|
|
610
|
+
skos:definition
|
|
611
|
+
'''Application components deployed on only one node or device
|
|
612
|
+
may lack resilience. Critical components should be deployed
|
|
613
|
+
across multiple nodes.'''@en ;
|
|
614
|
+
skos:scopeNote
|
|
615
|
+
'''System software is not counted as a host: it runs on a node or a
|
|
616
|
+
device, and counting both would make one machine two.'''@en ;
|
|
617
|
+
sh:sparql [
|
|
618
|
+
sh:prefixes <https://meta.linked.archi/archimate3/principle-shapes#> ;
|
|
619
|
+
sh:message "Application component {$this} is deployed on only one node or device ({?node}). Consider multi-node deployment for resilience."@en ;
|
|
620
|
+
sh:select """
|
|
621
|
+
SELECT DISTINCT $this ?node
|
|
622
|
+
WHERE {
|
|
623
|
+
$this a am:ApplicationComponent .
|
|
624
|
+
# Deployed on a node or a device: it realizes the component, or is assigned
|
|
625
|
+
# to an artifact or system software that does.
|
|
626
|
+
?node (am:realizes|am:assignedTo/am:realizes) $this ;
|
|
627
|
+
a ?hostType .
|
|
628
|
+
FILTER(?hostType IN (am:Node, am:Device))
|
|
629
|
+
FILTER NOT EXISTS {
|
|
630
|
+
?node2 (am:realizes|am:assignedTo/am:realizes) $this ;
|
|
631
|
+
a ?hostType2 .
|
|
632
|
+
FILTER(?hostType2 IN (am:Node, am:Device))
|
|
633
|
+
FILTER(?node2 != ?node)
|
|
634
|
+
}
|
|
635
|
+
}
|
|
636
|
+
""" ;
|
|
637
|
+
] ;
|
|
638
|
+
.
|
|
639
|
+
|
|
640
|
+
|
|
641
|
+
#################################################################
|
|
642
|
+
#
|
|
643
|
+
# CATEGORY 8: COMPLETENESS AND TRACEABILITY
|
|
644
|
+
#
|
|
645
|
+
# Principle: Architecture models should be complete enough to
|
|
646
|
+
# support governance. Key elements should have required
|
|
647
|
+
# relationships and documentation.
|
|
648
|
+
#
|
|
649
|
+
#################################################################
|
|
650
|
+
|
|
651
|
+
:BusinessServiceWithoutRealizationShape
|
|
652
|
+
a sh:NodeShape ;
|
|
653
|
+
sh:targetClass am:BusinessService ;
|
|
654
|
+
sh:severity sh:Warning ;
|
|
655
|
+
skos:prefLabel "Business Service Without Realization"@en ;
|
|
656
|
+
skos:definition
|
|
657
|
+
'''Every business service should be realized by at least one
|
|
658
|
+
business process or function. Unrealized services indicate
|
|
659
|
+
incomplete modeling.'''@en ;
|
|
660
|
+
sh:sparql [
|
|
661
|
+
sh:prefixes <https://meta.linked.archi/archimate3/principle-shapes#> ;
|
|
662
|
+
sh:message "Business service {$this} is not realized by any business process or function."@en ;
|
|
663
|
+
sh:select """
|
|
664
|
+
SELECT $this
|
|
665
|
+
WHERE {
|
|
666
|
+
$this a am:BusinessService .
|
|
667
|
+
FILTER NOT EXISTS {
|
|
668
|
+
?behavior am:realizes $this .
|
|
669
|
+
?behavior rdf:type/rdfs:subClassOf* am:BehaviorElement .
|
|
670
|
+
?behavior rdf:type/rdfs:subClassOf* am:BusinessLayerElement .
|
|
671
|
+
}
|
|
672
|
+
}
|
|
673
|
+
""" ;
|
|
674
|
+
] ;
|
|
675
|
+
.
|
|
676
|
+
|
|
677
|
+
:ApplicationServiceWithoutRealizationShape
|
|
678
|
+
a sh:NodeShape ;
|
|
679
|
+
sh:targetClass am:ApplicationService ;
|
|
680
|
+
sh:severity sh:Warning ;
|
|
681
|
+
skos:prefLabel "Application Service Without Realization"@en ;
|
|
682
|
+
skos:definition
|
|
683
|
+
'''Every application service should be realized by at least one
|
|
684
|
+
application component. Unrealized services indicate incomplete
|
|
685
|
+
modeling or orphaned service definitions.'''@en ;
|
|
686
|
+
sh:sparql [
|
|
687
|
+
sh:prefixes <https://meta.linked.archi/archimate3/principle-shapes#> ;
|
|
688
|
+
sh:message "Application service {$this} is not realized by any application component."@en ;
|
|
689
|
+
sh:select """
|
|
690
|
+
SELECT $this
|
|
691
|
+
WHERE {
|
|
692
|
+
$this a am:ApplicationService .
|
|
693
|
+
FILTER NOT EXISTS {
|
|
694
|
+
?app am:realizes $this .
|
|
695
|
+
?app a am:ApplicationComponent .
|
|
696
|
+
}
|
|
697
|
+
}
|
|
698
|
+
""" ;
|
|
699
|
+
] ;
|
|
700
|
+
.
|
|
701
|
+
|
|
702
|
+
:CapabilityWithoutBehaviorRealizationShape
|
|
703
|
+
a sh:NodeShape ;
|
|
704
|
+
sh:targetClass am:Capability ;
|
|
705
|
+
sh:severity sh:Warning ;
|
|
706
|
+
skos:prefLabel "Capability Without Business Behavior Realization"@en ;
|
|
707
|
+
skos:definition
|
|
708
|
+
'''Capabilities should be realized by at least one business
|
|
709
|
+
behavior element (process, function, or interaction). A
|
|
710
|
+
capability without realization is aspirational only and
|
|
711
|
+
cannot be assessed for operational readiness.'''@en ;
|
|
712
|
+
sh:sparql [
|
|
713
|
+
sh:prefixes <https://meta.linked.archi/archimate3/principle-shapes#> ;
|
|
714
|
+
sh:message "Capability {$this} is not realized by any business process, function, or interaction."@en ;
|
|
715
|
+
sh:select """
|
|
716
|
+
SELECT $this
|
|
717
|
+
WHERE {
|
|
718
|
+
$this a am:Capability .
|
|
719
|
+
FILTER NOT EXISTS {
|
|
720
|
+
?behavior am:realizes $this .
|
|
721
|
+
?behavior rdf:type/rdfs:subClassOf* am:BehaviorElement .
|
|
722
|
+
?behavior rdf:type/rdfs:subClassOf* am:BusinessLayerElement .
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
""" ;
|
|
726
|
+
] ;
|
|
727
|
+
.
|
|
728
|
+
|
|
729
|
+
:BusinessBehaviorRedundantApplicationRealizationShape
|
|
730
|
+
a sh:NodeShape ;
|
|
731
|
+
sh:targetClass am:BusinessProcess ;
|
|
732
|
+
sh:severity sh:Warning ;
|
|
733
|
+
skos:prefLabel "Business Behavior Realized by Multiple Application Components"@en ;
|
|
734
|
+
skos:definition
|
|
735
|
+
'''Detects business processes (or functions) realized by more
|
|
736
|
+
than one application component. Multiple components realizing
|
|
737
|
+
the same business behavior may indicate redundant automation
|
|
738
|
+
or unclear application ownership of the process.'''@en ;
|
|
739
|
+
sh:sparql [
|
|
740
|
+
sh:prefixes <https://meta.linked.archi/archimate3/principle-shapes#> ;
|
|
741
|
+
sh:message "Business process {$this} is realized by multiple application components ({?app1} and {?app2}). Clarify which component is authoritative."@en ;
|
|
742
|
+
sh:select """
|
|
743
|
+
SELECT $this ?app1 ?app2
|
|
744
|
+
WHERE {
|
|
745
|
+
$this rdf:type/rdfs:subClassOf* am:BehaviorElement .
|
|
746
|
+
$this rdf:type/rdfs:subClassOf* am:BusinessLayerElement .
|
|
747
|
+
?app1 a am:ApplicationComponent ;
|
|
748
|
+
am:realizes $this .
|
|
749
|
+
?app2 a am:ApplicationComponent ;
|
|
750
|
+
am:realizes $this .
|
|
751
|
+
FILTER(STR(?app1) < STR(?app2))
|
|
752
|
+
}
|
|
753
|
+
""" ;
|
|
754
|
+
] ;
|
|
755
|
+
.
|
|
756
|
+
|
|
757
|
+
:BusinessFunctionRedundantApplicationRealizationShape
|
|
758
|
+
a sh:NodeShape ;
|
|
759
|
+
sh:targetClass am:BusinessFunction ;
|
|
760
|
+
sh:severity sh:Warning ;
|
|
761
|
+
skos:prefLabel "Business Function Realized by Multiple Application Components"@en ;
|
|
762
|
+
skos:definition
|
|
763
|
+
'''Detects business functions realized by more than one
|
|
764
|
+
application component. Same concern as for processes —
|
|
765
|
+
multiple realizers indicate potential duplication or
|
|
766
|
+
unclear automation boundaries.'''@en ;
|
|
767
|
+
sh:sparql [
|
|
768
|
+
sh:prefixes <https://meta.linked.archi/archimate3/principle-shapes#> ;
|
|
769
|
+
sh:message "Business function {$this} is realized by multiple application components ({?app1} and {?app2})."@en ;
|
|
770
|
+
sh:select """
|
|
771
|
+
SELECT $this ?app1 ?app2
|
|
772
|
+
WHERE {
|
|
773
|
+
$this a am:BusinessFunction .
|
|
774
|
+
?app1 a am:ApplicationComponent ;
|
|
775
|
+
am:realizes $this .
|
|
776
|
+
?app2 a am:ApplicationComponent ;
|
|
777
|
+
am:realizes $this .
|
|
778
|
+
FILTER(STR(?app1) < STR(?app2))
|
|
779
|
+
}
|
|
780
|
+
""" ;
|
|
781
|
+
] ;
|
|
782
|
+
.
|
|
783
|
+
|
|
784
|
+
:OrphanedElementShape
|
|
785
|
+
a sh:NodeShape ;
|
|
786
|
+
# ArchiMate 3.2's elements only — the roots amelsh:ArchiMateElementShape targets, and
|
|
787
|
+
# the junctions — not arch:Element: in a graph holding other notations' models, or
|
|
788
|
+
# ArchiMate 4.0's beside 3.2's, this rule would judge their elements too, and an
|
|
789
|
+
# element would be reported once for each ArchiMate version loaded.
|
|
790
|
+
sh:targetClass am:CoreLayerElement ,
|
|
791
|
+
am:StrategyLayerElement ,
|
|
792
|
+
am:ImplementationAndMigrationLayerElement ,
|
|
793
|
+
am:MotivationElement ,
|
|
794
|
+
am:BehaviorElement ,
|
|
795
|
+
am:StructureElement ,
|
|
796
|
+
am:CompositeElement ,
|
|
797
|
+
am:Junction_And ,
|
|
798
|
+
am:Junction_Or ;
|
|
799
|
+
sh:severity sh:Info ;
|
|
800
|
+
skos:prefLabel "Orphaned Element"@en ;
|
|
801
|
+
skos:definition
|
|
802
|
+
'''Elements with no relationships to other elements may be
|
|
803
|
+
orphaned or incompletely modeled. Every element should
|
|
804
|
+
participate in at least one relationship.'''@en ;
|
|
805
|
+
sh:sparql [
|
|
806
|
+
sh:prefixes <https://meta.linked.archi/archimate3/principle-shapes#> ;
|
|
807
|
+
sh:message "Element {$this} has no relationships to any other element."@en ;
|
|
808
|
+
sh:select """
|
|
809
|
+
SELECT $this
|
|
810
|
+
WHERE {
|
|
811
|
+
$this a/rdfs:subClassOf* arch:Element .
|
|
812
|
+
# MINUS, not FILTER NOT EXISTS: the same results, without testing every
|
|
813
|
+
# element against every other one — which grows with the square of the model.
|
|
814
|
+
MINUS { $this ?p ?other . ?other a ?otherType . ?otherType rdfs:subClassOf* arch:Element . }
|
|
815
|
+
MINUS { ?other ?p $this . ?other a ?otherType . ?otherType rdfs:subClassOf* arch:Element . }
|
|
816
|
+
}
|
|
817
|
+
""" ;
|
|
818
|
+
] ;
|
|
819
|
+
.
|
|
820
|
+
|
|
821
|
+
|
|
822
|
+
#################################################################
|
|
823
|
+
#
|
|
824
|
+
# CATEGORY 9: MOTIVATION ALIGNMENT
|
|
825
|
+
#
|
|
826
|
+
# Principle: Architecture elements should be traceable to business
|
|
827
|
+
# goals and requirements. Untraceable elements may lack business
|
|
828
|
+
# justification.
|
|
829
|
+
#
|
|
830
|
+
#################################################################
|
|
831
|
+
|
|
832
|
+
:CapabilityWithoutGoalShape
|
|
833
|
+
a sh:NodeShape ;
|
|
834
|
+
sh:targetClass am:Capability ;
|
|
835
|
+
sh:severity sh:Info ;
|
|
836
|
+
skos:prefLabel "Capability Without Goal"@en ;
|
|
837
|
+
skos:definition
|
|
838
|
+
'''Capabilities should be linked to at least one goal or
|
|
839
|
+
outcome — realizing it, influencing it or associated with it —
|
|
840
|
+
to establish business justification.'''@en ;
|
|
841
|
+
sh:sparql [
|
|
842
|
+
sh:prefixes <https://meta.linked.archi/archimate3/principle-shapes#> ;
|
|
843
|
+
sh:message "Capability {$this} is not linked to any goal or outcome."@en ;
|
|
844
|
+
sh:select """
|
|
845
|
+
SELECT $this
|
|
846
|
+
WHERE {
|
|
847
|
+
$this a am:Capability .
|
|
848
|
+
FILTER NOT EXISTS {
|
|
849
|
+
{
|
|
850
|
+
$this am:realizes ?goal .
|
|
851
|
+
{ ?goal a am:Goal . } UNION { ?goal a am:Outcome . }
|
|
852
|
+
} UNION {
|
|
853
|
+
$this am:influences ?goal .
|
|
854
|
+
{ ?goal a am:Goal . } UNION { ?goal a am:Outcome . }
|
|
855
|
+
} UNION {
|
|
856
|
+
$this am:associatedWith ?goal .
|
|
857
|
+
{ ?goal a am:Goal . } UNION { ?goal a am:Outcome . }
|
|
858
|
+
}
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
""" ;
|
|
862
|
+
] ;
|
|
863
|
+
.
|
|
864
|
+
|
|
865
|
+
:RequirementWithoutRealizationShape
|
|
866
|
+
a sh:NodeShape ;
|
|
867
|
+
sh:targetClass am:Requirement ;
|
|
868
|
+
sh:severity sh:Warning ;
|
|
869
|
+
skos:prefLabel "Requirement Without Realization"@en ;
|
|
870
|
+
skos:definition
|
|
871
|
+
'''Requirements should be realized by at least one core element.
|
|
872
|
+
Unrealized requirements indicate gaps in the architecture.'''@en ;
|
|
873
|
+
sh:sparql [
|
|
874
|
+
sh:prefixes <https://meta.linked.archi/archimate3/principle-shapes#> ;
|
|
875
|
+
sh:message "Requirement {$this} is not realized by any architecture element."@en ;
|
|
876
|
+
sh:select """
|
|
877
|
+
SELECT $this
|
|
878
|
+
WHERE {
|
|
879
|
+
$this a am:Requirement .
|
|
880
|
+
FILTER NOT EXISTS {
|
|
881
|
+
?element am:realizes $this .
|
|
882
|
+
FILTER NOT EXISTS {
|
|
883
|
+
?element rdf:type/rdfs:subClassOf* am:MotivationElement .
|
|
884
|
+
}
|
|
885
|
+
}
|
|
886
|
+
}
|
|
887
|
+
""" ;
|
|
888
|
+
] ;
|
|
889
|
+
.
|
|
890
|
+
|
|
891
|
+
|
|
892
|
+
## ─── Composition: multiple-parent warning ────────────────────────────────
|
|
893
|
+
## ArchiMate 3.2 §5.1.2 defines composition as expressing an existence
|
|
894
|
+
## dependency ("if a composite is deleted, its parts are deleted as well").
|
|
895
|
+
## This logically implies a part should belong to at most one composite —
|
|
896
|
+
## otherwise deleting one composite would destroy parts still needed by
|
|
897
|
+
## another. The spec does not explicitly enforce exclusivity, but the
|
|
898
|
+
## existence dependency semantics make multiple-parent composition
|
|
899
|
+
## logically inconsistent. This shape emits a warning when an element
|
|
900
|
+
## is the target of composition from multiple sources.
|
|
901
|
+
|
|
902
|
+
:CompositionMultipleParentWarning
|
|
903
|
+
a sh:NodeShape ;
|
|
904
|
+
sh:targetObjectsOf am:composedOf ;
|
|
905
|
+
sh:severity sh:Warning ;
|
|
906
|
+
skos:prefLabel "Composition with Multiple Parents"@en ;
|
|
907
|
+
skos:definition
|
|
908
|
+
'''An element should be part of at most one composite: composition
|
|
909
|
+
is an existence dependency, so a part composed into several wholes
|
|
910
|
+
would be deleted with each of them.'''@en ;
|
|
911
|
+
sh:sparql [
|
|
912
|
+
sh:prefixes <https://meta.linked.archi/archimate3/principle-shapes#> ;
|
|
913
|
+
sh:message "Element {$this} is composed into multiple parents via am:composedOf. Composition implies existence dependency — a part with multiple composites may indicate a modelling issue (ArchiMate 3.2 §5.1.2)."@en ;
|
|
914
|
+
sh:select """
|
|
915
|
+
SELECT $this (COUNT(?parent) AS ?parentCount)
|
|
916
|
+
WHERE {
|
|
917
|
+
?parent am:composedOf $this .
|
|
918
|
+
}
|
|
919
|
+
GROUP BY $this
|
|
920
|
+
HAVING (COUNT(?parent) > 1)
|
|
921
|
+
""" ;
|
|
922
|
+
] ;
|
|
923
|
+
.
|