@linked.archi/kernel 0.1.5 → 0.1.7
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/README.md +8 -0
- package/assets/archimate3/archimate3.2-metamodel.ttl +18 -1
- package/assets/archimate3/archimate3.2-principle-shapes.ttl +16 -22
- package/assets/archimate3/archimate3.2-questions.ttl +38 -38
- package/assets/archimate3/archimate3.2-viewpoint-shapes.ttl +1 -1
- package/assets/archimate4/archimate4-metamodel.ttl +18 -1
- package/assets/archimate4/archimate4-principle-shapes.ttl +38 -36
- package/assets/archimate4/archimate4-questions.ttl +38 -38
- package/assets/archimate4/archimate4-viewpoint-shapes.ttl +1 -1
- package/assets/catalog.ttl +776 -464
- package/assets/core/core-onto.ttl +12 -9
- package/assets/core/core-shapes.ttl +1 -1
- package/assets/core/core-vis-onto.ttl +99 -5
- package/assets/core/core-vis-shapes.ttl +275 -11
- package/package.json +5 -2
- package/src/model-manager/appearance.ts +131 -7
- package/src/model-manager/cascade.ts +5 -3
- package/src/model-manager/clipboard.ts +10 -2
- package/src/model-manager/concept-styles.ts +230 -0
- package/src/model-manager/interfaces.ts +19 -1
- package/src/model-manager/iri-conformance.ts +9 -2
- package/src/model-manager/placement-copy.ts +35 -8
- package/src/model-manager/questions.ts +6 -1
- package/src/model-manager/style-sets.ts +399 -0
- package/src/model-manager/style-values.ts +349 -0
- package/src/model-manager/view-manager.ts +74 -22
- package/src/model-manager/vocabulary.ts +10 -0
- package/src/rdf-engine/iri.ts +6 -3
- package/src/rdf-engine/native-load.ts +37 -0
- package/src/rdf-engine/observable-store.ts +98 -120
- package/src/rdf-engine/rdf-store.ts +14 -2
- package/src/rdf-engine/sparql-constraints.ts +15 -0
- package/src/rdf-engine/turtle-writer.ts +1 -0
- package/src/rdf-engine/validation-engine.ts +97 -32
- package/src/rdf-engine/validation-service.ts +3 -1
package/README.md
CHANGED
|
@@ -7,6 +7,8 @@ Linked.Archi workspace. Its repository: <https://github.com/linked-archi/kernel>
|
|
|
7
7
|
- deciding which relationships the shapes permit;
|
|
8
8
|
- minting IRIs;
|
|
9
9
|
- creating, changing and deleting elements, relationships and views with exactly the triples la-gram writes;
|
|
10
|
+
- how diagrams look: a diagram element's own styles, style sets of named styles to share, and a concept's own look
|
|
11
|
+
(core-vis 0.11);
|
|
10
12
|
- diff and three-way merge;
|
|
11
13
|
- SHACL validation;
|
|
12
14
|
- model questions;
|
|
@@ -92,6 +94,12 @@ npm run sync-assets # refresh assets/ from meta.linked.archi (--check compares,
|
|
|
92
94
|
npm run pack:check # what the package would contain
|
|
93
95
|
```
|
|
94
96
|
|
|
97
|
+
To try meta's unpublished assets, or a kernel change, in la-gram before publishing:
|
|
98
|
+
- run `npm run sync-assets -- --meta <checkout>`, then `npm pack --ignore-scripts --pack-destination dist/npm`;
|
|
99
|
+
- install the archive in la-gram with `npm install --no-save`.
|
|
100
|
+
|
|
101
|
+
la-gram's `DEVELOPING.md`, *Trying a change before it is published*, has the whole sequence.
|
|
102
|
+
|
|
95
103
|
## Licence
|
|
96
104
|
|
|
97
105
|
Apache License, Version 2.0 ([LICENSE](LICENSE)); the metamodel files keep the licences they state ([NOTICE](NOTICE)).
|
|
@@ -40,7 +40,7 @@ reference models, and presentation contexts — into a single arch:Metamodel ins
|
|
|
40
40
|
This is the entry point for tools that need to discover all resources that make up
|
|
41
41
|
the ArchiMate modeling language definition.'''@en ;
|
|
42
42
|
dcterms:created "2022-11-14"^^xsd:date ;
|
|
43
|
-
dcterms:modified "
|
|
43
|
+
dcterms:modified "2026-12-03"^^xsd:date ;
|
|
44
44
|
dcterms:publisher "Linked.Archi"@en, <https://linked.archi> ;
|
|
45
45
|
bibo:status "draft" ;
|
|
46
46
|
owl:versionIRI <https://meta.linked.archi/archimate3/metamodel/3.2#> ;
|
|
@@ -107,6 +107,23 @@ contexts into a single discoverable resource.'''@en ;
|
|
|
107
107
|
## File: archimate3.2-onto.ttl
|
|
108
108
|
arch:modelConcepts <https://meta.linked.archi/archimate3/onto#> ;
|
|
109
109
|
|
|
110
|
+
## Cross-language mappings — generated from crossmappings/, do not edit by hand
|
|
111
|
+
## Files: ../../../crossmappings/archimate3-archimate4.ttl
|
|
112
|
+
## ../../../crossmappings/backstage-archimate.ttl
|
|
113
|
+
## ../../../crossmappings/bpmn-archimate.ttl
|
|
114
|
+
## ../../../crossmappings/leanix-archimate.ttl
|
|
115
|
+
## ../../../crossmappings/time-archimate.ttl
|
|
116
|
+
## ../../../crossmappings/togaf-archimate.ttl
|
|
117
|
+
## ../../../crossmappings/uaf-archimate.ttl
|
|
118
|
+
arch:crossLanguageMappings <https://meta.linked.archi/crossmappings/archimate3-archimate4#>,
|
|
119
|
+
<https://meta.linked.archi/crossmappings/backstage-archimate#>,
|
|
120
|
+
<https://meta.linked.archi/crossmappings/bpmn-archimate#>,
|
|
121
|
+
<https://meta.linked.archi/crossmappings/leanix-archimate#>,
|
|
122
|
+
<https://meta.linked.archi/crossmappings/time-archimate#>,
|
|
123
|
+
<https://meta.linked.archi/crossmappings/togaf-archimate#>,
|
|
124
|
+
<https://meta.linked.archi/crossmappings/uaf-archimate#> ;
|
|
125
|
+
## End of the generated cross-language mappings
|
|
126
|
+
|
|
110
127
|
## Viewpoints — viewpoint individuals and their properties
|
|
111
128
|
## File: archimate3.2-viewpoints.ttl
|
|
112
129
|
arch:architectureViewpoints <https://meta.linked.archi/archimate3/viewpoints#> ;
|
|
@@ -43,7 +43,9 @@ Or load manually alongside other shapes:
|
|
|
43
43
|
core-shapes.ttl + archimate3.2-principle-shapes.ttl + your-model-data.ttl
|
|
44
44
|
'''@en ;
|
|
45
45
|
dcterms:created "2022-11-14"^^xsd:date ;
|
|
46
|
-
skos:historyNote '''2026-
|
|
46
|
+
skos:historyNote '''2026-12-02: SinglePointOfFailureShape counts each service's providers, from the service — the
|
|
47
|
+
same findings, without testing every node, device and system software of the model for each provider found.
|
|
48
|
+
2026-11-30: BusinessProcessOwnershipShape looks first for what is assigned to
|
|
47
49
|
the process, then at its type — the same findings, without testing the type of every active structure element
|
|
48
50
|
for each process.
|
|
49
51
|
|
|
@@ -66,7 +68,7 @@ a definition.
|
|
|
66
68
|
FILTER NOT EXISTS — the same results, without testing every element against every other one; and
|
|
67
69
|
targeted at ArchiMate 3.2's elements and junctions rather than arch:Element, so that it judges no other
|
|
68
70
|
notation's elements and, with ArchiMate 4.0 loaded too, does not report an element twice.'''@en ;
|
|
69
|
-
dcterms:modified "2026-
|
|
71
|
+
dcterms:modified "2026-12-02"^^xsd:date ;
|
|
70
72
|
dcterms:publisher "Linked.Archi"@en, <https://linked.archi> ;
|
|
71
73
|
bibo:status "draft" ;
|
|
72
74
|
owl:versionIRI <https://meta.linked.archi/archimate3/principle-shapes/0.1.0#> ;
|
|
@@ -569,35 +571,27 @@ notation's elements and, with ArchiMate 4.0 loaded too, does not report an eleme
|
|
|
569
571
|
sh:prefixes <https://meta.linked.archi/archimate3/principle-shapes#> ;
|
|
570
572
|
sh:message "Service {$this} is provided by only one technology element ({?infra}). Consider redundancy for critical infrastructure services."@en ;
|
|
571
573
|
sh:select """
|
|
572
|
-
SELECT
|
|
574
|
+
SELECT $this (SAMPLE(?provider) AS ?infra)
|
|
573
575
|
WHERE {
|
|
574
576
|
$this rdf:type/rdfs:subClassOf* am:ExternalBehaviorElement .
|
|
575
577
|
# Provided by infrastructure: the element realizes the service, or is
|
|
576
578
|
# assigned to behaviour that does. Behaviour only: a device assigned to
|
|
577
579
|
# the system software that realizes the service hosts that one provider,
|
|
578
|
-
# and is not a second.
|
|
579
|
-
|
|
580
|
-
|
|
580
|
+
# and is not a second. The service's providers are counted, from the
|
|
581
|
+
# service: testing each against every other node, device and system
|
|
582
|
+
# software took Oxigraph from 0.3 s to 11 s, run to run, on a large model.
|
|
581
583
|
{
|
|
582
|
-
?
|
|
584
|
+
?provider am:realizes $this .
|
|
583
585
|
} UNION {
|
|
584
|
-
?
|
|
585
|
-
?
|
|
586
|
-
|
|
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
|
-
}
|
|
586
|
+
?behaviour am:realizes $this .
|
|
587
|
+
?provider am:assignedTo ?behaviour .
|
|
588
|
+
?behaviour rdf:type/rdfs:subClassOf* am:InternalBehaviorElement .
|
|
599
589
|
}
|
|
590
|
+
?provider a ?type .
|
|
591
|
+
FILTER(?type IN (am:Node, am:Device, am:SystemSoftware))
|
|
600
592
|
}
|
|
593
|
+
GROUP BY $this
|
|
594
|
+
HAVING (COUNT(DISTINCT ?provider) = 1)
|
|
601
595
|
""" ;
|
|
602
596
|
] ;
|
|
603
597
|
.
|
|
@@ -25,19 +25,19 @@
|
|
|
25
25
|
# Layer membership is read from the ArchiMate 3.2 layer classes
|
|
26
26
|
# (am:BusinessLayerElement …). Every type a question asks about is
|
|
27
27
|
# read as a set, once per query, in two steps — the types under it
|
|
28
|
-
# within each document, then their
|
|
28
|
+
# within each document, then their specializations in any document —
|
|
29
29
|
# so a subtype the language defines (am:Constraint under
|
|
30
30
|
# am:Requirement, a physical element under am:TechnologyLayerElement)
|
|
31
31
|
# and a model's own
|
|
32
|
-
#
|
|
32
|
+
# specialization count where the type does.
|
|
33
33
|
#
|
|
34
34
|
# Relationships are followed along their direct triples. A question
|
|
35
|
-
# that asks what serves,
|
|
35
|
+
# that asks what serves, realizes, is assigned to or triggers what
|
|
36
36
|
# follows the chains the valid derivation rules follow (DR 2 to DR 8),
|
|
37
37
|
# so it answers the same with the derivations loaded, each then one
|
|
38
38
|
# hop, as without them; but where that walk is too slow on a large
|
|
39
39
|
# model (application dependencies, technology under applications,
|
|
40
|
-
# requirement traceability,
|
|
40
|
+
# requirement traceability, unrealized capabilities) a question
|
|
41
41
|
# follows a few fixed steps, and a longer chain only once derived. One
|
|
42
42
|
# that needs the relationship itself (the kind of an access) reads
|
|
43
43
|
# its qualified resource.
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
dcterms:creator "Kalin Maldzhanski"^^xsd:string ;
|
|
56
56
|
dcterms:title "Linked.Archi ArchiMate 3.2 Questions"@en ;
|
|
57
57
|
dcterms:description '''Questions ArchiMate 3.2 stakeholders ask of a model — impact of change, application
|
|
58
|
-
dependencies, data access, responsibilities,
|
|
58
|
+
dependencies, data access, responsibilities, realization and traceability — and the findings that show where a
|
|
59
59
|
concern the ArchiMate 3.2 viewpoints frame is not met. Each is executable SPARQL (see arch:ModelQuestion).'''@en ;
|
|
60
60
|
dcterms:created "2026-10-27"^^xsd:date ;
|
|
61
61
|
dcterms:modified "2026-10-27"^^xsd:date ;
|
|
@@ -78,7 +78,7 @@ concern the ArchiMate 3.2 viewpoints frame is not met. Each is executable SPARQL
|
|
|
78
78
|
a arch:ModelQuestion, sh:SPARQLSelectExecutable ;
|
|
79
79
|
dcterms:identifier "notation/archimate/elements-by-layer" ;
|
|
80
80
|
skos:prefLabel "How is the model spread over the ArchiMate layers?"@en ;
|
|
81
|
-
dcterms:description "Elements counted by ArchiMate 3.2 layer, read from the layer classes their types
|
|
81
|
+
dcterms:description "Elements counted by ArchiMate 3.2 layer, read from the layer classes their types specialize, so specializations count where they belong."@en ;
|
|
82
82
|
arch:answers "One row per layer, with the number of elements in it."@en ;
|
|
83
83
|
arch:doesNotProve "Balance. The physical elements — equipment, facilities, distribution networks, materials — count in the technology layer, which they are part of; location, grouping and junctions belong to no layer and are not counted."@en ;
|
|
84
84
|
arch:questionStage arch:OrientationStage ;
|
|
@@ -229,7 +229,7 @@ concern the ArchiMate 3.2 viewpoints frame is not met. Each is executable SPARQL
|
|
|
229
229
|
a arch:ModelQuestion, sh:SPARQLSelectExecutable ;
|
|
230
230
|
dcterms:identifier "notation/archimate/application-dependencies" ;
|
|
231
231
|
skos:prefLabel "Which applications depend on which?"@en ;
|
|
232
|
-
dcterms:description "Application components that serve, flow to or trigger one another, directly or through an application service one
|
|
232
|
+
dcterms:description "Application components that serve, flow to or trigger one another, directly or through an application service one realizes — itself or through the function assigned to it — and the other is served by. With the derivations loaded, a longer chain the valid rules derive counts too, as one hop."@en ;
|
|
233
233
|
arch:answers "One row per dependency: the provider, how it provides, the service between where there is one, and the consumer."@en ;
|
|
234
234
|
arch:doesNotProve "Runtime coupling or data volume. A modelled flow says that information moves, not how much or how often."@en ;
|
|
235
235
|
arch:questionStage arch:AnalysisStage ;
|
|
@@ -377,7 +377,7 @@ concern the ArchiMate 3.2 viewpoints frame is not met. Each is executable SPARQL
|
|
|
377
377
|
a arch:ModelQuestion, sh:SPARQLSelectExecutable ;
|
|
378
378
|
dcterms:identifier "notation/archimate/impact-of-change" ;
|
|
379
379
|
skos:prefLabel "What is affected if this element changes?"@en ;
|
|
380
|
-
dcterms:description "Everything that depends on the element, transitively, by ArchiMate's dependency relationships: what it serves,
|
|
380
|
+
dcterms:description "Everything that depends on the element, transitively, by ArchiMate's dependency relationships: what it serves, realizes or is assigned to, and what accesses it."@en ;
|
|
381
381
|
arch:answers "One row per element that depends on the element, directly or through others."@en ;
|
|
382
382
|
arch:doesNotProve "That each is broken by the change. Dynamic relationships (flow, triggering) and structure (composition, aggregation) are not followed, and a dependency may tolerate the change."@en ;
|
|
383
383
|
arch:questionStage arch:AnalysisStage ;
|
|
@@ -411,10 +411,10 @@ concern the ArchiMate 3.2 viewpoints frame is not met. Each is executable SPARQL
|
|
|
411
411
|
:capability-realisation
|
|
412
412
|
a arch:ModelQuestion, sh:SPARQLSelectExecutable ;
|
|
413
413
|
dcterms:identifier "notation/archimate/capability-realisation" ;
|
|
414
|
-
skos:prefLabel "What
|
|
415
|
-
dcterms:description "Capabilities with the behaviour, active structure or resources that
|
|
416
|
-
arch:answers "One row per capability and what
|
|
417
|
-
arch:doesNotProve "Maturity. That a capability is
|
|
414
|
+
skos:prefLabel "What realizes each capability?"@en ;
|
|
415
|
+
dcterms:description "Capabilities with the behaviour, active structure or resources that realize them. A realization counts directly or as DR 2 derives it, through structural relationships in line."@en ;
|
|
416
|
+
arch:answers "One row per capability and what realizes it; a capability nothing realizes appears once, with nothing beside it."@en ;
|
|
417
|
+
arch:doesNotProve "Maturity. That a capability is realized says it is delivered somehow, not how well."@en ;
|
|
418
418
|
arch:questionStage arch:AnalysisStage ;
|
|
419
419
|
arch:questionAddressesConcern amvp:StrategyDevelopment, amvp:ArchitectureStrategy ;
|
|
420
420
|
arch:questionTargetsStakeholder amvp:BusinessArchitect, amvp:CxO ;
|
|
@@ -437,8 +437,8 @@ concern the ArchiMate 3.2 viewpoints frame is not met. Each is executable SPARQL
|
|
|
437
437
|
}
|
|
438
438
|
?capability rdf:type ?capabilityType .
|
|
439
439
|
OPTIONAL {
|
|
440
|
-
# From each
|
|
441
|
-
# in line: DR 2 derives the weakest, a
|
|
440
|
+
# From each realization, back to the realizer and on to the capability through structural relationships
|
|
441
|
+
# in line: DR 2 derives the weakest, a realization.
|
|
442
442
|
?from am:realizes ?to .
|
|
443
443
|
?realizer (am:composedOf|am:aggregates|am:assignedTo|am:realizes)* ?from .
|
|
444
444
|
?to (am:composedOf|am:aggregates|am:assignedTo|am:realizes)* ?capability .
|
|
@@ -506,10 +506,10 @@ concern the ArchiMate 3.2 viewpoints frame is not met. Each is executable SPARQL
|
|
|
506
506
|
:requirement-traceability
|
|
507
507
|
a arch:ModelQuestion, sh:SPARQLSelectExecutable ;
|
|
508
508
|
dcterms:identifier "notation/archimate/requirement-traceability" ;
|
|
509
|
-
skos:prefLabel "How does each requirement trace to goals and to the elements that
|
|
510
|
-
dcterms:description "Requirements and constraints with what
|
|
509
|
+
skos:prefLabel "How does each requirement trace to goals and to the elements that realize it?"@en ;
|
|
510
|
+
dcterms:description "Requirements and constraints with what realizes them, below, and the goals, outcomes and principles they realize or influence, above, as a list of links. With the derivations loaded, a longer chain the valid rules derive counts too, as one hop."@en ;
|
|
511
511
|
arch:answers "One row per traced link: the requirement, the direction, the predicate and the element at the other end."@en ;
|
|
512
|
-
arch:doesNotProve "Verification. A
|
|
512
|
+
arch:doesNotProve "Verification. A realization relationship is a design claim; it does not show the requirement is met."@en ;
|
|
513
513
|
arch:questionStage arch:AnalysisStage ;
|
|
514
514
|
arch:questionAddressesConcern amvp:ArchitectureTactics, amvp:Motivation ;
|
|
515
515
|
arch:questionTargetsStakeholder amvp:RequirementsManager, amvp:BusinessAnalyst ;
|
|
@@ -557,9 +557,9 @@ concern the ArchiMate 3.2 viewpoints frame is not met. Each is executable SPARQL
|
|
|
557
557
|
a arch:ModelQuestion, sh:SPARQLSelectExecutable ;
|
|
558
558
|
dcterms:identifier "notation/archimate/principle-rationale" ;
|
|
559
559
|
skos:prefLabel "What motivates each principle, and what does it constrain?"@en ;
|
|
560
|
-
dcterms:description "Principles with the elements they relate to in either direction: the drivers and goals behind them, the requirements that
|
|
560
|
+
dcterms:description "Principles with the elements they relate to in either direction: the drivers and goals behind them, the requirements that realize them."@en ;
|
|
561
561
|
arch:answers "One row per relationship between a principle and another element."@en ;
|
|
562
|
-
arch:doesNotProve "Compliance. A requirement
|
|
562
|
+
arch:doesNotProve "Compliance. A requirement realizing a principle states an intent, not that designs follow it."@en ;
|
|
563
563
|
arch:questionStage arch:AnalysisStage ;
|
|
564
564
|
arch:questionAddressesConcern amvp:ArchitecturePolicies, amvp:Motivation ;
|
|
565
565
|
arch:questionFitsViewpoint amvp:MotivationViewpoint ;
|
|
@@ -598,9 +598,9 @@ concern the ArchiMate 3.2 viewpoints frame is not met. Each is executable SPARQL
|
|
|
598
598
|
:work-package-deliverables
|
|
599
599
|
a arch:ModelQuestion, sh:SPARQLSelectExecutable ;
|
|
600
600
|
dcterms:identifier "notation/archimate/work-package-deliverables" ;
|
|
601
|
-
skos:prefLabel "What does each work package deliver, and what does that
|
|
602
|
-
dcterms:description "Work packages, the deliverables they
|
|
603
|
-
arch:answers "One row per work package, deliverable and element
|
|
601
|
+
skos:prefLabel "What does each work package deliver, and what does that realize?"@en ;
|
|
602
|
+
dcterms:description "Work packages, the deliverables they realize, and the architecture elements those deliverables realize. A realization counts directly or as DR 2 derives it, through structural relationships in line."@en ;
|
|
603
|
+
arch:answers "One row per work package, deliverable and element realized."@en ;
|
|
604
604
|
arch:doesNotProve "Schedule or progress. ArchiMate records what a work package produces, not when."@en ;
|
|
605
605
|
arch:questionStage arch:AnalysisStage ;
|
|
606
606
|
arch:questionAddressesConcern amvp:ArchitectureVision, amvp:ArchitecturePolicies ;
|
|
@@ -629,7 +629,7 @@ concern the ArchiMate 3.2 viewpoints frame is not met. Each is executable SPARQL
|
|
|
629
629
|
{ ?deliverableType rdfs:subClassOf* ?askedDeliverable } UNION { GRAPH ?deliverableSpecialisationGraph { ?deliverableType rdfs:subClassOf* ?askedDeliverable } }
|
|
630
630
|
}
|
|
631
631
|
}
|
|
632
|
-
# Each
|
|
632
|
+
# Each realization directly, or as DR 2 derives it through structural relationships in line.
|
|
633
633
|
?from am:realizes ?to .
|
|
634
634
|
?workPackage (am:composedOf|am:aggregates|am:assignedTo|am:realizes)* ?from .
|
|
635
635
|
?to (am:composedOf|am:aggregates|am:assignedTo|am:realizes)* ?deliverable .
|
|
@@ -675,7 +675,7 @@ concern the ArchiMate 3.2 viewpoints frame is not met. Each is executable SPARQL
|
|
|
675
675
|
sh:select """
|
|
676
676
|
SELECT DISTINCT ?change ?element ?label ?type
|
|
677
677
|
WHERE {
|
|
678
|
-
# Both are plateaus, or a
|
|
678
|
+
# Both are plateaus, or a specialization of one.
|
|
679
679
|
FILTER EXISTS {
|
|
680
680
|
?from rdf:type ?fromType .
|
|
681
681
|
{ ?fromType rdfs:subClassOf* am:Plateau } UNION { GRAPH ?fromGraph { ?fromType rdfs:subClassOf* am:Plateau } }
|
|
@@ -751,10 +751,10 @@ concern the ArchiMate 3.2 viewpoints frame is not met. Each is executable SPARQL
|
|
|
751
751
|
:unrealised-services
|
|
752
752
|
a arch:ModelQuestion, sh:SPARQLSelectExecutable ;
|
|
753
753
|
dcterms:identifier "notation/archimate/unrealised-services" ;
|
|
754
|
-
skos:prefLabel "Which services does nothing
|
|
755
|
-
dcterms:description "Business, application and technology services that no behaviour or active structure element
|
|
756
|
-
arch:answers "One row per service nothing
|
|
757
|
-
arch:doesNotProve "That the service is not delivered: it may be bought in, or
|
|
754
|
+
skos:prefLabel "Which services does nothing realize?"@en ;
|
|
755
|
+
dcterms:description "Business, application and technology services that no behaviour or active structure element realizes. A realization counts directly or as DR 2 derives it, through structural relationships in line."@en ;
|
|
756
|
+
arch:answers "One row per service nothing realizes, with the kind of service."@en ;
|
|
757
|
+
arch:doesNotProve "That the service is not delivered: it may be bought in, or realized in a model that is not loaded."@en ;
|
|
758
758
|
arch:questionStage arch:QualityStage ;
|
|
759
759
|
arch:questionAddressesConcern amvp:Completeness, amvp:AddedValueOfProcesses ;
|
|
760
760
|
arch:questionFitsViewpoint amvp:ServiceRealizationViewpoint, amvp:BusinessProcessCooperationViewpoint ;
|
|
@@ -793,7 +793,7 @@ concern the ArchiMate 3.2 viewpoints frame is not met. Each is executable SPARQL
|
|
|
793
793
|
a arch:ModelQuestion, sh:SPARQLSelectExecutable ;
|
|
794
794
|
dcterms:identifier "notation/archimate/applications-without-technology" ;
|
|
795
795
|
skos:prefLabel "Which application components run on no technology?"@en ;
|
|
796
|
-
dcterms:description "Application components that no element of the technology layer serves or
|
|
796
|
+
dcterms:description "Application components that no element of the technology layer serves or realizes, directly or by realizing a service that serves them. Equipment and facilities are nodes, so they count as technology. With the derivations loaded, a longer chain the valid rules derive counts too, as one hop."@en ;
|
|
797
797
|
arch:answers "One row per application component with no technology under it."@en ;
|
|
798
798
|
arch:doesNotProve "That it runs nowhere. Where it is hosted may be outside the model, or recorded only in a deployment model that is not loaded."@en ;
|
|
799
799
|
arch:questionStage arch:QualityStage ;
|
|
@@ -897,9 +897,9 @@ concern the ArchiMate 3.2 viewpoints frame is not met. Each is executable SPARQL
|
|
|
897
897
|
:unrealised-capabilities
|
|
898
898
|
a arch:ModelQuestion, sh:SPARQLSelectExecutable ;
|
|
899
899
|
dcterms:identifier "notation/archimate/unrealised-capabilities" ;
|
|
900
|
-
skos:prefLabel "Which capabilities does nothing
|
|
901
|
-
dcterms:description "Capabilities
|
|
902
|
-
arch:answers "One row per capability with no
|
|
900
|
+
skos:prefLabel "Which capabilities does nothing realize?"@en ;
|
|
901
|
+
dcterms:description "Capabilities realized neither directly nor through any capability they are composed of or aggregate. With the derivations loaded, a longer chain the valid rules derive counts too, as one hop."@en ;
|
|
902
|
+
arch:answers "One row per capability with no realization anywhere beneath it."@en ;
|
|
903
903
|
arch:doesNotProve "That the enterprise lacks the capability; only that the model does not say what delivers it."@en ;
|
|
904
904
|
arch:questionStage arch:QualityStage ;
|
|
905
905
|
arch:questionAddressesConcern amvp:StrategyDevelopment, amvp:Completeness ;
|
|
@@ -939,9 +939,9 @@ concern the ArchiMate 3.2 viewpoints frame is not met. Each is executable SPARQL
|
|
|
939
939
|
:unrealised-requirements
|
|
940
940
|
a arch:ModelQuestion, sh:SPARQLSelectExecutable ;
|
|
941
941
|
dcterms:identifier "notation/archimate/unrealised-requirements" ;
|
|
942
|
-
skos:prefLabel "Which requirements does no architecture element
|
|
943
|
-
dcterms:description "Requirements and constraints that no element outside the motivation elements
|
|
944
|
-
arch:answers "One row per requirement or constraint without a
|
|
942
|
+
skos:prefLabel "Which requirements does no architecture element realize?"@en ;
|
|
943
|
+
dcterms:description "Requirements and constraints that no element outside the motivation elements realizes: realization by another motivation element does not count. A realization counts directly or as DR 2 derives it, through structural relationships in line."@en ;
|
|
944
|
+
arch:answers "One row per requirement or constraint without a realizing design element."@en ;
|
|
945
945
|
arch:doesNotProve "That the requirement is unmet; only that the model does not show what meets it."@en ;
|
|
946
946
|
arch:questionStage arch:QualityStage ;
|
|
947
947
|
arch:questionAddressesConcern amvp:ArchitectureTactics, amvp:Motivation ;
|
|
@@ -969,7 +969,7 @@ concern the ArchiMate 3.2 viewpoints frame is not met. Each is executable SPARQL
|
|
|
969
969
|
}
|
|
970
970
|
?requirement rdf:type ?requirementType ;
|
|
971
971
|
arch:inModel ?model .
|
|
972
|
-
#
|
|
972
|
+
# Realized by a design element: one whose own type is not a motivation element.
|
|
973
973
|
MINUS {
|
|
974
974
|
?from am:realizes ?to .
|
|
975
975
|
?realizer (am:composedOf|am:aggregates|am:assignedTo|am:realizes)* ?from .
|
|
@@ -998,8 +998,8 @@ concern the ArchiMate 3.2 viewpoints frame is not met. Each is executable SPARQL
|
|
|
998
998
|
a arch:ModelQuestion, sh:SPARQLSelectExecutable ;
|
|
999
999
|
dcterms:identifier "notation/archimate/principles-without-requirements" ;
|
|
1000
1000
|
skos:prefLabel "Which principles has no requirement made concrete?"@en ;
|
|
1001
|
-
dcterms:description "Principles that no requirement or constraint
|
|
1002
|
-
arch:answers "One row per principle no requirement
|
|
1001
|
+
dcterms:description "Principles that no requirement or constraint realizes. A realization counts directly or as DR 2 derives it, through structural relationships in line."@en ;
|
|
1002
|
+
arch:answers "One row per principle no requirement realizes."@en ;
|
|
1003
1003
|
arch:doesNotProve "That the principle is ignored. It may be applied by review rather than through stated requirements."@en ;
|
|
1004
1004
|
arch:questionStage arch:QualityStage ;
|
|
1005
1005
|
arch:questionAddressesConcern amvp:ArchitecturePolicies ;
|
|
@@ -31,7 +31,7 @@ shapes, which this document imports, and it adds none of its own:
|
|
|
31
31
|
4. Relationship endpoint conformance — the endpoints of a relationship drawn on
|
|
32
32
|
a View should themselves be in the viewpoint's palette.
|
|
33
33
|
5. Viewpoint completeness — a viewpoint should declare what it admits, the
|
|
34
|
-
concerns it frames and which kinds of view
|
|
34
|
+
concerns it frames and which kinds of view realize it.
|
|
35
35
|
|
|
36
36
|
They read the viewpoint definitions from the loaded graph rather than naming any
|
|
37
37
|
viewpoint, and use no ArchiMate term, so core states them once for every language:
|
|
@@ -39,7 +39,7 @@ viewpoints, and future SHACL shapes — into a single arch:Metamodel instance.
|
|
|
39
39
|
This is the entry point for tools that need to discover all resources that make up
|
|
40
40
|
the ArchiMate 4.0 modeling language definition.'''@en ;
|
|
41
41
|
dcterms:created "2026-04-19"^^xsd:date ;
|
|
42
|
-
dcterms:modified "2026-
|
|
42
|
+
dcterms:modified "2026-12-03"^^xsd:date ;
|
|
43
43
|
dcterms:publisher "Linked.Archi"@en, <https://linked.archi> ;
|
|
44
44
|
bibo:status "draft" ;
|
|
45
45
|
owl:versionIRI <https://meta.linked.archi/archimate4/metamodel/4.0#> ;
|
|
@@ -104,6 +104,23 @@ into a single discoverable resource.'''@en ;
|
|
|
104
104
|
## File: archimate4-onto.ttl
|
|
105
105
|
arch:modelConcepts <https://meta.linked.archi/archimate4/onto#> ;
|
|
106
106
|
|
|
107
|
+
## Cross-language mappings — generated from crossmappings/, do not edit by hand
|
|
108
|
+
## Files: ../../../crossmappings/archimate3-archimate4.ttl
|
|
109
|
+
## ../../../crossmappings/backstage-archimate.ttl
|
|
110
|
+
## ../../../crossmappings/bpmn-archimate.ttl
|
|
111
|
+
## ../../../crossmappings/leanix-archimate.ttl
|
|
112
|
+
## ../../../crossmappings/time-archimate.ttl
|
|
113
|
+
## ../../../crossmappings/togaf-archimate.ttl
|
|
114
|
+
## ../../../crossmappings/uaf-archimate.ttl
|
|
115
|
+
arch:crossLanguageMappings <https://meta.linked.archi/crossmappings/archimate3-archimate4#>,
|
|
116
|
+
<https://meta.linked.archi/crossmappings/backstage-archimate#>,
|
|
117
|
+
<https://meta.linked.archi/crossmappings/bpmn-archimate#>,
|
|
118
|
+
<https://meta.linked.archi/crossmappings/leanix-archimate#>,
|
|
119
|
+
<https://meta.linked.archi/crossmappings/time-archimate#>,
|
|
120
|
+
<https://meta.linked.archi/crossmappings/togaf-archimate#>,
|
|
121
|
+
<https://meta.linked.archi/crossmappings/uaf-archimate#> ;
|
|
122
|
+
## End of the generated cross-language mappings
|
|
123
|
+
|
|
107
124
|
## Concept classification — SKOS taxonomy (by domain, by aspect)
|
|
108
125
|
## File: archimate4-tax.ttl
|
|
109
126
|
arch:conceptClassification <https://meta.linked.archi/archimate4/tax#> ;
|
|
@@ -26,7 +26,12 @@
|
|
|
26
26
|
as executable constraints. Adapted from 3.2 principle shapes for ArchiMate 4.0
|
|
27
27
|
domain-based structure.'''@en ;
|
|
28
28
|
dcterms:created "2026-04-19"^^xsd:date ;
|
|
29
|
-
skos:historyNote '''2026-
|
|
29
|
+
skos:historyNote '''2026-12-02: SinglePointOfFailureShape counts each service's providers, from the service — the
|
|
30
|
+
same findings, without testing every node, device and system software of the model for each provider found.
|
|
31
|
+
TechnologyServingBusinessDirectlyShape tests what makes the served element the business's in a FILTER EXISTS,
|
|
32
|
+
once the element is bound, rather than joining a union of them: the same findings, in 0.2 s rather than 18 s
|
|
33
|
+
on a model of 300 000 triples.
|
|
34
|
+
2026-11-29: SinglePointOfFailureShape looks at technology — a service
|
|
30
35
|
provided by one node, device or system software — and no longer at one application component realizing
|
|
31
36
|
a service. RedundancyAvoidanceShape is removed: RedundantApplicationRealizingServiceShape adapts it for
|
|
32
37
|
application components, and two technology elements providing a service are redundancy, not duplication.
|
|
@@ -45,7 +50,7 @@ with pre-bound variables.
|
|
|
45
50
|
FILTER NOT EXISTS — the same results, without testing every element against every other one; and
|
|
46
51
|
targeted at ArchiMate 4.0's elements and junctions rather than arch:Element, so that it judges no other
|
|
47
52
|
notation's elements and, with ArchiMate 3.2 loaded too, does not report an element twice.'''@en ;
|
|
48
|
-
dcterms:modified "2026-
|
|
53
|
+
dcterms:modified "2026-12-02"^^xsd:date ;
|
|
49
54
|
dcterms:publisher "Linked.Archi"@en, <https://linked.archi> ;
|
|
50
55
|
bibo:status "draft" ;
|
|
51
56
|
owl:versionIRI <https://meta.linked.archi/archimate4/principle-shapes/4.0#> ;
|
|
@@ -394,20 +399,25 @@ notation's elements and, with ArchiMate 3.2 loaded too, does not report an eleme
|
|
|
394
399
|
$this a ?techType ;
|
|
395
400
|
am4:serves ?biz .
|
|
396
401
|
FILTER(?techType IN (am4:Node, am4:Device, am4:SystemSoftware))
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
402
|
+
# What makes ?biz the business's, tested once ?biz is bound, from ?biz. Joined with the
|
|
403
|
+
# patterns above as a union instead, it took Oxigraph 18 s on a model of 300 000 triples,
|
|
404
|
+
# where each of its branches alone took under 0.1 s.
|
|
405
|
+
FILTER EXISTS {
|
|
406
|
+
{
|
|
407
|
+
?biz rdf:type/rdfs:subClassOf* am4:BusinessDomainElement .
|
|
408
|
+
} UNION {
|
|
409
|
+
# A role a business actor fills.
|
|
410
|
+
?biz a am4:Role .
|
|
411
|
+
?actor am4:assignedTo ?biz ;
|
|
412
|
+
a am4:BusinessActor .
|
|
413
|
+
} UNION {
|
|
414
|
+
# A function a business actor performs, directly or through a role.
|
|
415
|
+
?biz rdf:type/rdfs:subClassOf* am4:Function .
|
|
416
|
+
{ ?actor am4:assignedTo ?biz . }
|
|
417
|
+
UNION
|
|
418
|
+
{ ?role am4:assignedTo ?biz ; a am4:Role . ?actor am4:assignedTo ?role . }
|
|
419
|
+
?actor a am4:BusinessActor .
|
|
420
|
+
}
|
|
411
421
|
}
|
|
412
422
|
}
|
|
413
423
|
""" ;
|
|
@@ -562,35 +572,27 @@ notation's elements and, with ArchiMate 3.2 loaded too, does not report an eleme
|
|
|
562
572
|
sh:prefixes <https://meta.linked.archi/archimate4/principle-shapes#> ;
|
|
563
573
|
sh:message "Service {$this} is provided by only one technology element ({?infra}). Consider redundancy for critical infrastructure services."@en ;
|
|
564
574
|
sh:select """
|
|
565
|
-
SELECT
|
|
575
|
+
SELECT $this (SAMPLE(?provider) AS ?infra)
|
|
566
576
|
WHERE {
|
|
567
577
|
$this a am4:Service .
|
|
568
578
|
# Provided by infrastructure: the element realizes the service, or is
|
|
569
579
|
# assigned to behaviour that does. Behaviour only: a device assigned to
|
|
570
580
|
# the system software that realizes the service hosts that one provider,
|
|
571
|
-
# and is not a second.
|
|
572
|
-
|
|
573
|
-
|
|
581
|
+
# and is not a second. The service's providers are counted, from the
|
|
582
|
+
# service: testing each against every other node, device and system
|
|
583
|
+
# software took Oxigraph from 0.3 s to 11 s, run to run, on a large model.
|
|
574
584
|
{
|
|
575
|
-
?
|
|
585
|
+
?provider am4:realizes $this .
|
|
576
586
|
} UNION {
|
|
577
|
-
?
|
|
578
|
-
?
|
|
579
|
-
|
|
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
|
-
}
|
|
587
|
+
?behaviour am4:realizes $this .
|
|
588
|
+
?provider am4:assignedTo ?behaviour .
|
|
589
|
+
?behaviour rdf:type/rdfs:subClassOf* am4:InternalBehaviorElement .
|
|
592
590
|
}
|
|
591
|
+
?provider a ?type .
|
|
592
|
+
FILTER(?type IN (am4:Node, am4:Device, am4:SystemSoftware))
|
|
593
593
|
}
|
|
594
|
+
GROUP BY $this
|
|
595
|
+
HAVING (COUNT(DISTINCT ?provider) = 1)
|
|
594
596
|
""" ;
|
|
595
597
|
] ;
|
|
596
598
|
.
|