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