@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,1125 @@
|
|
|
1
|
+
@prefix owl: <http://www.w3.org/2002/07/owl#> .
|
|
2
|
+
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
|
|
3
|
+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
|
4
|
+
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
|
|
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 cc: <http://creativecommons.org/ns#> .
|
|
9
|
+
@prefix vann: <http://purl.org/vocab/vann/> .
|
|
10
|
+
@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
11
|
+
@prefix arch: <https://meta.linked.archi/core#> .
|
|
12
|
+
@prefix amvp: <https://meta.linked.archi/archimate3/viewpoints#> .
|
|
13
|
+
@prefix : <https://meta.linked.archi/archimate3/questions#> .
|
|
14
|
+
|
|
15
|
+
#################################################################
|
|
16
|
+
# Linked.Archi ArchiMate 3.2 Questions
|
|
17
|
+
#
|
|
18
|
+
# Questions ArchiMate 3.2 stakeholders ask of a model, bound to the
|
|
19
|
+
# concerns the ArchiMate 3.2 viewpoints frame (amvp:ImpactOfChange,
|
|
20
|
+
# amvp:Completeness …) and to the viewpoints they fit, so a modelling
|
|
21
|
+
# tool offers them beside an open view and a deliverable section asks
|
|
22
|
+
# them for a concern. Written as the core questions are (see
|
|
23
|
+
# arch:ModelQuestion).
|
|
24
|
+
#
|
|
25
|
+
# Layer membership is read from the ArchiMate 3.2 layer classes
|
|
26
|
+
# (am:BusinessLayerElement …). Every type a question asks about is
|
|
27
|
+
# read as a set, once per query, in two steps — the types under it
|
|
28
|
+
# within each document, then their specialisations in any document —
|
|
29
|
+
# so a subtype the language defines (am:Constraint under
|
|
30
|
+
# am:Requirement, a physical element under am:TechnologyLayerElement)
|
|
31
|
+
# and a model's own
|
|
32
|
+
# specialisation count where the type does.
|
|
33
|
+
#
|
|
34
|
+
# Relationships are followed along their direct triples. A question
|
|
35
|
+
# that asks what serves, realises, is assigned to or triggers what
|
|
36
|
+
# follows the chains the valid derivation rules follow (DR 2 to DR 8),
|
|
37
|
+
# so it answers the same with the derivations loaded, each then one
|
|
38
|
+
# hop, as without them; but where that walk is too slow on a large
|
|
39
|
+
# model (application dependencies, technology under applications,
|
|
40
|
+
# requirement traceability, unrealised capabilities) a question
|
|
41
|
+
# follows a few fixed steps, and a longer chain only once derived. One
|
|
42
|
+
# that needs the relationship itself (the kind of an access) reads
|
|
43
|
+
# its qualified resource.
|
|
44
|
+
#
|
|
45
|
+
# What a view of a viewpoint should hold is the core question
|
|
46
|
+
# (core/viewpoint-scope): each ArchiMate 3.2 type belongs to a layer,
|
|
47
|
+
# so the type a viewpoint admits is enough.
|
|
48
|
+
#################################################################
|
|
49
|
+
|
|
50
|
+
<https://meta.linked.archi/archimate3/questions#>
|
|
51
|
+
a arch:QuestionSet ;
|
|
52
|
+
cc:license "http://creativecommons.org/licenses/by/4.0/" ;
|
|
53
|
+
vann:preferredNamespaceUri "https://meta.linked.archi/archimate3/questions#" ;
|
|
54
|
+
vann:preferredNamespacePrefix "amq" ;
|
|
55
|
+
dcterms:creator "Kalin Maldzhanski"^^xsd:string ;
|
|
56
|
+
dcterms:title "Linked.Archi ArchiMate 3.2 Questions"@en ;
|
|
57
|
+
dcterms:description '''Questions ArchiMate 3.2 stakeholders ask of a model — impact of change, application
|
|
58
|
+
dependencies, data access, responsibilities, realisation and traceability — and the findings that show where a
|
|
59
|
+
concern the ArchiMate 3.2 viewpoints frame is not met. Each is executable SPARQL (see arch:ModelQuestion).'''@en ;
|
|
60
|
+
dcterms:created "2026-10-27"^^xsd:date ;
|
|
61
|
+
dcterms:modified "2026-10-27"^^xsd:date ;
|
|
62
|
+
dcterms:publisher "Linked.Archi"@en, <https://linked.archi> ;
|
|
63
|
+
bibo:status "draft" ;
|
|
64
|
+
owl:versionInfo "0.1.0" ;
|
|
65
|
+
sh:declare
|
|
66
|
+
[ sh:prefix "arch" ; sh:namespace "https://meta.linked.archi/core#"^^xsd:anyURI ],
|
|
67
|
+
[ sh:prefix "rdf" ; sh:namespace "http://www.w3.org/1999/02/22-rdf-syntax-ns#"^^xsd:anyURI ],
|
|
68
|
+
[ sh:prefix "rdfs" ; sh:namespace "http://www.w3.org/2000/01/rdf-schema#"^^xsd:anyURI ],
|
|
69
|
+
[ sh:prefix "skos" ; sh:namespace "http://www.w3.org/2004/02/skos/core#"^^xsd:anyURI ],
|
|
70
|
+
[ sh:prefix "am" ; sh:namespace "https://meta.linked.archi/archimate3/onto#"^^xsd:anyURI ],
|
|
71
|
+
[ sh:prefix "prov" ; sh:namespace "http://www.w3.org/ns/prov#"^^xsd:anyURI ],
|
|
72
|
+
[ sh:prefix "amderiv" ; sh:namespace "https://meta.linked.archi/archimate3/derivation#"^^xsd:anyURI ] ;
|
|
73
|
+
.
|
|
74
|
+
|
|
75
|
+
# ── Orientation ─────────────────────────────────────────────────
|
|
76
|
+
|
|
77
|
+
:elements-by-layer
|
|
78
|
+
a arch:ModelQuestion, sh:SPARQLSelectExecutable ;
|
|
79
|
+
dcterms:identifier "notation/archimate/elements-by-layer" ;
|
|
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 specialise, so specialisations count where they belong."@en ;
|
|
82
|
+
arch:answers "One row per layer, with the number of elements in it."@en ;
|
|
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
|
+
arch:questionStage arch:OrientationStage ;
|
|
85
|
+
arch:questionAddressesConcern amvp:ReductionOfComplexity, amvp:Completeness ;
|
|
86
|
+
arch:questionFitsViewpoint amvp:LayeredViewpoint ;
|
|
87
|
+
arch:resultIsFinding false ;
|
|
88
|
+
arch:requiresDataset arch:ModelAndMetamodelDataset ;
|
|
89
|
+
arch:requiresMetamodel <https://meta.linked.archi/archimate3/onto#> ;
|
|
90
|
+
arch:resultKey "layers" ;
|
|
91
|
+
arch:defaultLimit 50 ;
|
|
92
|
+
sh:parameter [ sh:path arch:model ; sh:name "model" ; sh:class arch:Model ; sh:optional true ; sh:order 1 ;
|
|
93
|
+
sh:description "The model to count. A modelling tool binds the open model; a deliverable, the model it is produced from."@en ] ;
|
|
94
|
+
sh:prefixes <https://meta.linked.archi/archimate3/questions#> ;
|
|
95
|
+
sh:select """
|
|
96
|
+
SELECT ?layer (COUNT(DISTINCT ?element) AS ?elements)
|
|
97
|
+
WHERE {
|
|
98
|
+
# Each layer's types, read once.
|
|
99
|
+
{
|
|
100
|
+
SELECT DISTINCT ?layer ?type
|
|
101
|
+
WHERE {
|
|
102
|
+
VALUES ?layer {
|
|
103
|
+
am:StrategyLayerElement am:MotivationElement am:BusinessLayerElement am:ApplicationLayerElement
|
|
104
|
+
am:TechnologyLayerElement am:ImplementationAndMigrationLayerElement
|
|
105
|
+
}
|
|
106
|
+
{ ?layerType rdfs:subClassOf* ?layer } UNION { GRAPH ?ontologyGraph { ?layerType rdfs:subClassOf* ?layer } }
|
|
107
|
+
{ ?type rdfs:subClassOf* ?layerType } UNION { GRAPH ?specialisationGraph { ?type rdfs:subClassOf* ?layerType } }
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
?element rdf:type ?type ;
|
|
111
|
+
arch:inModel ?model .
|
|
112
|
+
}
|
|
113
|
+
GROUP BY ?layer
|
|
114
|
+
ORDER BY DESC(?elements)
|
|
115
|
+
""" ;
|
|
116
|
+
.
|
|
117
|
+
|
|
118
|
+
# ── Analysis ────────────────────────────────────────────────────
|
|
119
|
+
|
|
120
|
+
:cross-layer-relationships
|
|
121
|
+
a arch:ModelQuestion, sh:SPARQLSelectExecutable ;
|
|
122
|
+
dcterms:identifier "notation/archimate/layer-crossing" ;
|
|
123
|
+
skos:prefLabel "Which relationships cross layers, and of which kind?"@en ;
|
|
124
|
+
dcterms:description "Relationships whose ends are in different ArchiMate 3.2 layers, read from their direct triples and counted by pair of layers and relationship type. The layers are read from the layer classes, not from type names."@en ;
|
|
125
|
+
arch:answers "One row per source layer, relationship type and target layer, with the number of pairs of elements so related."@en ;
|
|
126
|
+
arch:doesNotProve "Coupling. A relationship to an element of no layer (location, grouping, junction) is not counted, and one between a physical element and another technology element stays within the technology layer, which the physical elements are part of."@en ;
|
|
127
|
+
arch:questionStage arch:AnalysisStage ;
|
|
128
|
+
arch:questionAddressesConcern amvp:Consistency, amvp:ImpactOfChange ;
|
|
129
|
+
arch:questionFitsViewpoint amvp:LayeredViewpoint ;
|
|
130
|
+
arch:resultIsFinding false ;
|
|
131
|
+
arch:requiresDataset arch:ModelAndMetamodelDataset ;
|
|
132
|
+
arch:requiresMetamodel <https://meta.linked.archi/archimate3/onto#> ;
|
|
133
|
+
arch:resultKey "crossings" ;
|
|
134
|
+
arch:defaultLimit 200 ;
|
|
135
|
+
sh:prefixes <https://meta.linked.archi/archimate3/questions#> ;
|
|
136
|
+
sh:select """
|
|
137
|
+
SELECT ?sourceLayer ?relationshipType ?targetLayer (COUNT(DISTINCT ?pair) AS ?relationships)
|
|
138
|
+
WHERE {
|
|
139
|
+
# Each relationship by its direct triple, with the type it is the unqualified form of.
|
|
140
|
+
VALUES (?predicate ?relationshipType) {
|
|
141
|
+
(am:composedOf am:Composition) (am:aggregates am:Aggregation) (am:assignedTo am:Assignment)
|
|
142
|
+
(am:realizes am:Realization) (am:serves am:Serving) (am:accesses am:Access)
|
|
143
|
+
(am:influences am:Influence) (am:associatedWith am:Association) (am:triggers am:Triggering)
|
|
144
|
+
(am:flowsTo am:Flow) (am:specializes am:Specialization)
|
|
145
|
+
}
|
|
146
|
+
?source ?predicate ?target .
|
|
147
|
+
BIND(CONCAT(STR(?source), " ", STR(?target)) AS ?pair)
|
|
148
|
+
?source rdf:type ?sourceType .
|
|
149
|
+
?target rdf:type ?targetType .
|
|
150
|
+
{
|
|
151
|
+
SELECT DISTINCT ?sourceLayer ?sourceType
|
|
152
|
+
WHERE {
|
|
153
|
+
VALUES ?sourceLayer {
|
|
154
|
+
am:StrategyLayerElement am:MotivationElement am:BusinessLayerElement am:ApplicationLayerElement
|
|
155
|
+
am:TechnologyLayerElement am:ImplementationAndMigrationLayerElement
|
|
156
|
+
}
|
|
157
|
+
{ ?sourceLayerType rdfs:subClassOf* ?sourceLayer } UNION { GRAPH ?sourceOntologyGraph { ?sourceLayerType rdfs:subClassOf* ?sourceLayer } }
|
|
158
|
+
{ ?sourceType rdfs:subClassOf* ?sourceLayerType } UNION { GRAPH ?sourceSpecialisationGraph { ?sourceType rdfs:subClassOf* ?sourceLayerType } }
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
{
|
|
162
|
+
SELECT DISTINCT ?targetLayer ?targetType
|
|
163
|
+
WHERE {
|
|
164
|
+
VALUES ?targetLayer {
|
|
165
|
+
am:StrategyLayerElement am:MotivationElement am:BusinessLayerElement am:ApplicationLayerElement
|
|
166
|
+
am:TechnologyLayerElement am:ImplementationAndMigrationLayerElement
|
|
167
|
+
}
|
|
168
|
+
{ ?targetLayerType rdfs:subClassOf* ?targetLayer } UNION { GRAPH ?targetOntologyGraph { ?targetLayerType rdfs:subClassOf* ?targetLayer } }
|
|
169
|
+
{ ?targetType rdfs:subClassOf* ?targetLayerType } UNION { GRAPH ?targetSpecialisationGraph { ?targetType rdfs:subClassOf* ?targetLayerType } }
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
FILTER(?sourceLayer != ?targetLayer)
|
|
173
|
+
}
|
|
174
|
+
GROUP BY ?sourceLayer ?relationshipType ?targetLayer
|
|
175
|
+
ORDER BY DESC(?relationships)
|
|
176
|
+
""" ;
|
|
177
|
+
.
|
|
178
|
+
|
|
179
|
+
:responsibility-assignments
|
|
180
|
+
a arch:ModelQuestion, sh:SPARQLSelectExecutable ;
|
|
181
|
+
dcterms:identifier "notation/archimate/responsibility-assignments" ;
|
|
182
|
+
skos:prefLabel "Who is responsible for what?"@en ;
|
|
183
|
+
dcterms:description "Assignments, stated or as DR 2 derives them in line with compositions and aggregations: which actor, role, collaboration, component or node performs which behaviour or plays which role."@en ;
|
|
184
|
+
arch:answers "One row per performer and what it is assigned to, with both types."@en ;
|
|
185
|
+
arch:doesNotProve "Accountability in the RACI sense. An ArchiMate assignment states who performs, not who answers for the outcome."@en ;
|
|
186
|
+
arch:questionStage arch:AnalysisStage ;
|
|
187
|
+
arch:questionAddressesConcern amvp:CompetenciesAuthorityResponsibilities, amvp:Responsibilities ;
|
|
188
|
+
arch:questionTargetsStakeholder amvp:ProcessArchitect, amvp:Manager ;
|
|
189
|
+
arch:questionFitsViewpoint amvp:OrganizationViewpoint, amvp:BusinessProcessCooperationViewpoint ;
|
|
190
|
+
arch:resultIsFinding false ;
|
|
191
|
+
arch:requiresDataset arch:ModelAndMetamodelDataset ;
|
|
192
|
+
arch:requiresMetamodel <https://meta.linked.archi/archimate3/onto#> ;
|
|
193
|
+
arch:resultKey "assignments" ;
|
|
194
|
+
arch:defaultLimit 500 ;
|
|
195
|
+
sh:prefixes <https://meta.linked.archi/archimate3/questions#> ;
|
|
196
|
+
sh:select """
|
|
197
|
+
SELECT DISTINCT ?performer ?performerLabel ?performerType ?assigned ?assignedLabel ?assignedType
|
|
198
|
+
WHERE {
|
|
199
|
+
# From each assignment, back to the performer and on to what it is assigned to, in line with compositions
|
|
200
|
+
# and aggregations: DR 2 derives the weakest of the three, an assignment.
|
|
201
|
+
?from am:assignedTo ?to .
|
|
202
|
+
?performer (am:composedOf|am:aggregates|am:assignedTo)* ?from .
|
|
203
|
+
?to (am:composedOf|am:aggregates|am:assignedTo)* ?assigned .
|
|
204
|
+
# The performer is active structure, as the question asks: a plateau, grouping or location gathers what is
|
|
205
|
+
# assigned through what it aggregates, it does not perform.
|
|
206
|
+
{
|
|
207
|
+
SELECT DISTINCT ?performerType
|
|
208
|
+
WHERE {
|
|
209
|
+
{ ?askedPerformer rdfs:subClassOf* am:ActiveStructureElement } UNION { GRAPH ?performerGraph { ?askedPerformer rdfs:subClassOf* am:ActiveStructureElement } }
|
|
210
|
+
{ ?performerType rdfs:subClassOf* ?askedPerformer } UNION { GRAPH ?performerSpecialisationGraph { ?performerType rdfs:subClassOf* ?askedPerformer } }
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
?performer rdf:type ?performerType .
|
|
214
|
+
?assigned rdf:type ?assignedType .
|
|
215
|
+
FILTER(?performerType NOT IN (arch:ModelConcept, arch:Element, arch:QualifiedRelationship))
|
|
216
|
+
FILTER(?assignedType NOT IN (arch:ModelConcept, arch:Element, arch:QualifiedRelationship))
|
|
217
|
+
MINUS { SELECT DISTINCT ?performerType WHERE { { ?performerType arch:isAbstractClass true }
|
|
218
|
+
UNION { GRAPH ?abstractClassGraph { ?performerType arch:isAbstractClass true } } } }
|
|
219
|
+
MINUS { SELECT DISTINCT ?assignedType WHERE { { ?assignedType arch:isAbstractClass true }
|
|
220
|
+
UNION { GRAPH ?abstractClassGraph { ?assignedType arch:isAbstractClass true } } } }
|
|
221
|
+
OPTIONAL { ?performer skos:prefLabel ?performerLabel . FILTER(lang(?performerLabel) = "" || langMatches(lang(?performerLabel), "en")) }
|
|
222
|
+
OPTIONAL { ?assigned skos:prefLabel ?assignedLabel . FILTER(lang(?assignedLabel) = "" || langMatches(lang(?assignedLabel), "en")) }
|
|
223
|
+
}
|
|
224
|
+
ORDER BY ?performerLabel ?assignedLabel
|
|
225
|
+
""" ;
|
|
226
|
+
.
|
|
227
|
+
|
|
228
|
+
:application-dependencies
|
|
229
|
+
a arch:ModelQuestion, sh:SPARQLSelectExecutable ;
|
|
230
|
+
dcterms:identifier "notation/archimate/application-dependencies" ;
|
|
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 realises — 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
|
+
arch:answers "One row per dependency: the provider, how it provides, the service between where there is one, and the consumer."@en ;
|
|
234
|
+
arch:doesNotProve "Runtime coupling or data volume. A modelled flow says that information moves, not how much or how often."@en ;
|
|
235
|
+
arch:questionStage arch:AnalysisStage ;
|
|
236
|
+
arch:questionAddressesConcern amvp:ApplicationDependencies, amvp:ServiceOrchestration ;
|
|
237
|
+
arch:questionFitsViewpoint amvp:ApplicationCooperationViewpoint, amvp:ApplicationUsageViewpoint ;
|
|
238
|
+
arch:resultIsFinding false ;
|
|
239
|
+
arch:requiresDataset arch:ModelAndMetamodelDataset ;
|
|
240
|
+
arch:requiresMetamodel <https://meta.linked.archi/archimate3/onto#> ;
|
|
241
|
+
arch:resultKey "applicationDependencies" ;
|
|
242
|
+
arch:defaultLimit 500 ;
|
|
243
|
+
sh:prefixes <https://meta.linked.archi/archimate3/questions#> ;
|
|
244
|
+
sh:select """
|
|
245
|
+
SELECT DISTINCT ?provider ?providerLabel ?how ?via ?consumer ?consumerLabel
|
|
246
|
+
WHERE {
|
|
247
|
+
# From the direct triples to their ends, each branch anchored on its relationships: never every pair of
|
|
248
|
+
# components. Both ends are then checked against the component types, read once each.
|
|
249
|
+
{
|
|
250
|
+
VALUES (?link ?how) { (am:serves "Serving") (am:flowsTo "Flow") (am:triggers "Triggering") }
|
|
251
|
+
?provider ?link ?consumer .
|
|
252
|
+
}
|
|
253
|
+
UNION
|
|
254
|
+
{
|
|
255
|
+
{
|
|
256
|
+
SELECT DISTINCT ?serviceType
|
|
257
|
+
WHERE {
|
|
258
|
+
{ ?askedService rdfs:subClassOf* am:ApplicationService } UNION { GRAPH ?serviceOntologyGraph { ?askedService rdfs:subClassOf* am:ApplicationService } }
|
|
259
|
+
{ ?serviceType rdfs:subClassOf* ?askedService } UNION { GRAPH ?serviceSpecialisationGraph { ?serviceType rdfs:subClassOf* ?askedService } }
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
?via rdf:type ?serviceType ;
|
|
263
|
+
am:serves ?consumer .
|
|
264
|
+
?provider am:realizes|(am:assignedTo/am:realizes) ?via .
|
|
265
|
+
BIND("realises a service serving" AS ?how)
|
|
266
|
+
}
|
|
267
|
+
?provider rdf:type ?providerType .
|
|
268
|
+
?consumer rdf:type ?consumerType .
|
|
269
|
+
{
|
|
270
|
+
SELECT DISTINCT ?providerType
|
|
271
|
+
WHERE {
|
|
272
|
+
{ ?askedProvider rdfs:subClassOf* am:ApplicationComponent } UNION { GRAPH ?providerGraph { ?askedProvider rdfs:subClassOf* am:ApplicationComponent } }
|
|
273
|
+
{ ?providerType rdfs:subClassOf* ?askedProvider } UNION { GRAPH ?providerSpecialisationGraph { ?providerType rdfs:subClassOf* ?askedProvider } }
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
{
|
|
277
|
+
SELECT DISTINCT ?consumerType
|
|
278
|
+
WHERE {
|
|
279
|
+
{ ?askedConsumer rdfs:subClassOf* am:ApplicationComponent } UNION { GRAPH ?consumerGraph { ?askedConsumer rdfs:subClassOf* am:ApplicationComponent } }
|
|
280
|
+
{ ?consumerType rdfs:subClassOf* ?askedConsumer } UNION { GRAPH ?consumerSpecialisationGraph { ?consumerType rdfs:subClassOf* ?askedConsumer } }
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
FILTER(?provider != ?consumer)
|
|
284
|
+
OPTIONAL { ?provider skos:prefLabel ?providerLabel . FILTER(lang(?providerLabel) = "" || langMatches(lang(?providerLabel), "en")) }
|
|
285
|
+
OPTIONAL { ?consumer skos:prefLabel ?consumerLabel . FILTER(lang(?consumerLabel) = "" || langMatches(lang(?consumerLabel), "en")) }
|
|
286
|
+
}
|
|
287
|
+
ORDER BY ?providerLabel ?consumerLabel
|
|
288
|
+
""" ;
|
|
289
|
+
.
|
|
290
|
+
|
|
291
|
+
:interface-flows
|
|
292
|
+
a arch:ModelQuestion, sh:SPARQLSelectExecutable ;
|
|
293
|
+
dcterms:identifier "notation/archimate3.2/interface-flows" ;
|
|
294
|
+
skos:prefLabel "Which flows involve application interfaces?"@en, "Quels flux impliquent des interfaces applicatives ?"@fr ;
|
|
295
|
+
dcterms:description "Recorded flows whose source or target is an application interface."@en ;
|
|
296
|
+
arch:answers "Each row identifies a qualified flow, its type and its directed endpoints. Parallel flows keep their own identifiers."@en ;
|
|
297
|
+
arch:doesNotProve "Runtime traffic, protocol or volume. A recorded flow states a transfer in the model."@en ;
|
|
298
|
+
arch:questionStage arch:AnalysisStage ;
|
|
299
|
+
arch:questionAddressesConcern amvp:ApplicationDependencies ;
|
|
300
|
+
arch:questionFitsViewpoint amvp:ApplicationCooperationViewpoint ;
|
|
301
|
+
arch:resultIsFinding false ;
|
|
302
|
+
arch:requiresDataset arch:ModelAndMetamodelDataset ;
|
|
303
|
+
arch:requiresMetamodel <https://meta.linked.archi/archimate3/onto#> ;
|
|
304
|
+
arch:resultKey "interfaceFlows" ;
|
|
305
|
+
arch:defaultLimit 500 ;
|
|
306
|
+
sh:parameter [ sh:path arch:model ; sh:name "model" ; sh:class arch:Model ; sh:optional true ; sh:order 1 ;
|
|
307
|
+
sh:description "The open model whose flows are reported."@en ] ;
|
|
308
|
+
sh:prefixes <https://meta.linked.archi/archimate3/questions#> ;
|
|
309
|
+
sh:select """
|
|
310
|
+
SELECT DISTINCT ?source ?flow ?target ?kind
|
|
311
|
+
WHERE {
|
|
312
|
+
{
|
|
313
|
+
SELECT DISTINCT ?kind WHERE {
|
|
314
|
+
{ ?kind rdfs:subClassOf* am:Flow }
|
|
315
|
+
UNION { GRAPH ?flowTypes { ?kind rdfs:subClassOf* am:Flow } }
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
?flow rdf:type ?kind ;
|
|
319
|
+
arch:source ?source ;
|
|
320
|
+
arch:target ?target .
|
|
321
|
+
FILTER(isIRI(?source) && isIRI(?flow) && isIRI(?target))
|
|
322
|
+
FILTER(!BOUND(?model) || EXISTS { ?flow arch:inModel ?model })
|
|
323
|
+
{ ?source rdf:type ?interfaceType }
|
|
324
|
+
UNION { ?target rdf:type ?interfaceType }
|
|
325
|
+
{
|
|
326
|
+
SELECT DISTINCT ?interfaceType WHERE {
|
|
327
|
+
{ ?interfaceType rdfs:subClassOf* am:ApplicationInterface }
|
|
328
|
+
UNION { GRAPH ?interfaceTypes { ?interfaceType rdfs:subClassOf* am:ApplicationInterface } }
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
ORDER BY ?source ?target ?flow ?kind
|
|
333
|
+
""" ;
|
|
334
|
+
.
|
|
335
|
+
|
|
336
|
+
:data-access
|
|
337
|
+
a arch:ModelQuestion, sh:SPARQLSelectExecutable ;
|
|
338
|
+
dcterms:identifier "notation/archimate/data-access" ;
|
|
339
|
+
skos:prefLabel "Who reads and writes which information?"@en ;
|
|
340
|
+
dcterms:description "Access relationships by kind: ArchiMate 3.2 types the kind (am:ReadAccess, am:WriteAccess, am:ReadWriteAccess, and am:Access when it is not stated)."@en ;
|
|
341
|
+
arch:answers "One row per access: what accesses, the kind of access, and the object accessed."@en ;
|
|
342
|
+
arch:doesNotProve "Ownership of the data. Write access is not mastery; arch:masterDataSource says where that is recorded."@en ;
|
|
343
|
+
arch:questionStage arch:AnalysisStage ;
|
|
344
|
+
arch:questionAddressesConcern amvp:InformationStructure, amvp:Consistency ;
|
|
345
|
+
arch:questionTargetsStakeholder amvp:InformationArchitect ;
|
|
346
|
+
arch:questionFitsViewpoint amvp:InformationStructureViewpoint, amvp:ApplicationCooperationViewpoint ;
|
|
347
|
+
arch:resultIsFinding false ;
|
|
348
|
+
arch:requiresDataset arch:ModelDataset ;
|
|
349
|
+
arch:requiresMetamodel <https://meta.linked.archi/archimate3/onto#> ;
|
|
350
|
+
arch:resultKey "access" ;
|
|
351
|
+
arch:defaultLimit 500 ;
|
|
352
|
+
sh:prefixes <https://meta.linked.archi/archimate3/questions#> ;
|
|
353
|
+
sh:select """
|
|
354
|
+
SELECT DISTINCT ?accessor ?accessorLabel ?access ?accessKind ?object ?objectLabel ?objectType
|
|
355
|
+
WHERE {
|
|
356
|
+
VALUES ?accessKind { am:Access am:ReadAccess am:WriteAccess am:ReadWriteAccess }
|
|
357
|
+
?access rdf:type ?accessKind ;
|
|
358
|
+
arch:source ?accessor ;
|
|
359
|
+
arch:target ?object .
|
|
360
|
+
# am:Access only when no kind is stated: the kinds are its subclasses.
|
|
361
|
+
FILTER(?accessKind != am:Access || NOT EXISTS {
|
|
362
|
+
?access rdf:type ?statedKind .
|
|
363
|
+
FILTER(?statedKind IN (am:ReadAccess, am:WriteAccess, am:ReadWriteAccess))
|
|
364
|
+
})
|
|
365
|
+
?object rdf:type ?objectType .
|
|
366
|
+
FILTER(?objectType NOT IN (arch:ModelConcept, arch:Element, arch:QualifiedRelationship))
|
|
367
|
+
MINUS { SELECT DISTINCT ?objectType WHERE { { ?objectType arch:isAbstractClass true }
|
|
368
|
+
UNION { GRAPH ?abstractClassGraph { ?objectType arch:isAbstractClass true } } } }
|
|
369
|
+
OPTIONAL { ?accessor skos:prefLabel ?accessorLabel . FILTER(lang(?accessorLabel) = "" || langMatches(lang(?accessorLabel), "en")) }
|
|
370
|
+
OPTIONAL { ?object skos:prefLabel ?objectLabel . FILTER(lang(?objectLabel) = "" || langMatches(lang(?objectLabel), "en")) }
|
|
371
|
+
}
|
|
372
|
+
ORDER BY ?objectLabel ?accessKind ?accessorLabel
|
|
373
|
+
""" ;
|
|
374
|
+
.
|
|
375
|
+
|
|
376
|
+
:impact-of-change
|
|
377
|
+
a arch:ModelQuestion, sh:SPARQLSelectExecutable ;
|
|
378
|
+
dcterms:identifier "notation/archimate/impact-of-change" ;
|
|
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, realises or is assigned to, and what accesses it."@en ;
|
|
381
|
+
arch:answers "One row per element that depends on the element, directly or through others."@en ;
|
|
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
|
+
arch:questionStage arch:AnalysisStage ;
|
|
384
|
+
arch:questionAddressesConcern amvp:ImpactOfChange, amvp:Dependencies ;
|
|
385
|
+
arch:questionTargetsStakeholder amvp:EnterpriseArchitect, amvp:ApplicationArchitect, amvp:InfrastructureArchitect ;
|
|
386
|
+
arch:questionFitsViewpoint amvp:LayeredViewpoint, amvp:TechnologyUsageViewpoint, amvp:ApplicationCooperationViewpoint ;
|
|
387
|
+
arch:resultIsFinding false ;
|
|
388
|
+
arch:requiresDataset arch:ModelDataset ;
|
|
389
|
+
arch:requiresMetamodel <https://meta.linked.archi/archimate3/onto#> ;
|
|
390
|
+
arch:resultKey "impacted" ;
|
|
391
|
+
arch:defaultLimit 500 ;
|
|
392
|
+
sh:parameter [ sh:path arch:focus ; sh:name "focus" ; sh:nodeKind sh:IRI ; sh:optional false ; sh:order 1 ;
|
|
393
|
+
sh:description "The element that changes. A modelling tool binds the selected element; a deliverable, the element it is produced for."@en ] ;
|
|
394
|
+
sh:prefixes <https://meta.linked.archi/archimate3/questions#> ;
|
|
395
|
+
sh:select """
|
|
396
|
+
SELECT DISTINCT ?impacted ?label ?type
|
|
397
|
+
WHERE {
|
|
398
|
+
?focus (am:serves|am:realizes|am:assignedTo|^am:accesses)+ ?impacted .
|
|
399
|
+
FILTER(?impacted != ?focus)
|
|
400
|
+
FILTER NOT EXISTS { ?impacted arch:source ?anySource }
|
|
401
|
+
?impacted rdf:type ?type .
|
|
402
|
+
FILTER(?type NOT IN (arch:ModelConcept, arch:Element, arch:QualifiedRelationship))
|
|
403
|
+
MINUS { SELECT DISTINCT ?type WHERE { { ?type arch:isAbstractClass true }
|
|
404
|
+
UNION { GRAPH ?abstractClassGraph { ?type arch:isAbstractClass true } } } }
|
|
405
|
+
OPTIONAL { ?impacted skos:prefLabel ?label . FILTER(lang(?label) = "" || langMatches(lang(?label), "en")) }
|
|
406
|
+
}
|
|
407
|
+
ORDER BY ?type ?label
|
|
408
|
+
""" ;
|
|
409
|
+
.
|
|
410
|
+
|
|
411
|
+
:capability-realisation
|
|
412
|
+
a arch:ModelQuestion, sh:SPARQLSelectExecutable ;
|
|
413
|
+
dcterms:identifier "notation/archimate/capability-realisation" ;
|
|
414
|
+
skos:prefLabel "What realises each capability?"@en ;
|
|
415
|
+
dcterms:description "Capabilities with the behaviour, active structure or resources that realise them. A realisation counts directly or as DR 2 derives it, through structural relationships in line."@en ;
|
|
416
|
+
arch:answers "One row per capability and what realises it; a capability nothing realises appears once, with nothing beside it."@en ;
|
|
417
|
+
arch:doesNotProve "Maturity. That a capability is realised says it is delivered somehow, not how well."@en ;
|
|
418
|
+
arch:questionStage arch:AnalysisStage ;
|
|
419
|
+
arch:questionAddressesConcern amvp:StrategyDevelopment, amvp:ArchitectureStrategy ;
|
|
420
|
+
arch:questionTargetsStakeholder amvp:BusinessArchitect, amvp:CxO ;
|
|
421
|
+
arch:questionFitsViewpoint amvp:CapabilityMapViewpoint, amvp:StrategyViewpoint ;
|
|
422
|
+
arch:resultIsFinding false ;
|
|
423
|
+
arch:requiresDataset arch:ModelAndMetamodelDataset ;
|
|
424
|
+
arch:requiresMetamodel <https://meta.linked.archi/archimate3/onto#> ;
|
|
425
|
+
arch:resultKey "capabilities" ;
|
|
426
|
+
arch:defaultLimit 500 ;
|
|
427
|
+
sh:prefixes <https://meta.linked.archi/archimate3/questions#> ;
|
|
428
|
+
sh:select """
|
|
429
|
+
SELECT DISTINCT ?capability ?capabilityLabel ?realizer ?realizerLabel ?realizerType
|
|
430
|
+
WHERE {
|
|
431
|
+
{
|
|
432
|
+
SELECT DISTINCT ?capabilityType
|
|
433
|
+
WHERE {
|
|
434
|
+
{ ?asked rdfs:subClassOf* am:Capability } UNION { GRAPH ?ontologyGraph { ?asked rdfs:subClassOf* am:Capability } }
|
|
435
|
+
{ ?capabilityType rdfs:subClassOf* ?asked } UNION { GRAPH ?specialisationGraph { ?capabilityType rdfs:subClassOf* ?asked } }
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
?capability rdf:type ?capabilityType .
|
|
439
|
+
OPTIONAL {
|
|
440
|
+
# From each realisation, back to the realizer and on to the capability through structural relationships
|
|
441
|
+
# in line: DR 2 derives the weakest, a realisation.
|
|
442
|
+
?from am:realizes ?to .
|
|
443
|
+
?realizer (am:composedOf|am:aggregates|am:assignedTo|am:realizes)* ?from .
|
|
444
|
+
?to (am:composedOf|am:aggregates|am:assignedTo|am:realizes)* ?capability .
|
|
445
|
+
?realizer rdf:type ?realizerType .
|
|
446
|
+
FILTER(?realizerType NOT IN (arch:ModelConcept, arch:Element, arch:QualifiedRelationship))
|
|
447
|
+
MINUS { SELECT DISTINCT ?realizerType WHERE { { ?realizerType arch:isAbstractClass true }
|
|
448
|
+
UNION { GRAPH ?abstractClassGraph { ?realizerType arch:isAbstractClass true } } } }
|
|
449
|
+
OPTIONAL { ?realizer skos:prefLabel ?realizerLabel . FILTER(lang(?realizerLabel) = "" || langMatches(lang(?realizerLabel), "en")) }
|
|
450
|
+
}
|
|
451
|
+
OPTIONAL { ?capability skos:prefLabel ?capabilityLabel . FILTER(lang(?capabilityLabel) = "" || langMatches(lang(?capabilityLabel), "en")) }
|
|
452
|
+
}
|
|
453
|
+
ORDER BY ?capabilityLabel ?realizerLabel
|
|
454
|
+
""" ;
|
|
455
|
+
.
|
|
456
|
+
|
|
457
|
+
:stakeholder-motivation
|
|
458
|
+
a arch:ModelQuestion, sh:SPARQLSelectExecutable ;
|
|
459
|
+
dcterms:identifier "notation/archimate/stakeholder-motivation" ;
|
|
460
|
+
skos:prefLabel "What do stakeholders care about?"@en ;
|
|
461
|
+
dcterms:description "Stakeholders and the motivation elements (drivers, assessments, goals, outcomes, principles, requirements, constraints, values, meanings) they are related to, in either direction."@en ;
|
|
462
|
+
arch:answers "One row per relationship between a stakeholder and a motivation element."@en ;
|
|
463
|
+
arch:doesNotProve "Priority. That a stakeholder is associated with a goal does not rank it among their concerns."@en ;
|
|
464
|
+
arch:questionStage arch:AnalysisStage ;
|
|
465
|
+
arch:questionAddressesConcern amvp:ArchitectureMission, amvp:Motivation ;
|
|
466
|
+
arch:questionTargetsStakeholder amvp:BusinessManager, amvp:EnterpriseArchitect ;
|
|
467
|
+
arch:questionFitsViewpoint amvp:StakeholderViewpoint ;
|
|
468
|
+
arch:resultIsFinding false ;
|
|
469
|
+
arch:requiresDataset arch:ModelAndMetamodelDataset ;
|
|
470
|
+
arch:requiresMetamodel <https://meta.linked.archi/archimate3/onto#> ;
|
|
471
|
+
arch:resultKey "stakeholderMotivation" ;
|
|
472
|
+
arch:defaultLimit 500 ;
|
|
473
|
+
sh:prefixes <https://meta.linked.archi/archimate3/questions#> ;
|
|
474
|
+
sh:select """
|
|
475
|
+
SELECT DISTINCT ?stakeholder ?stakeholderLabel ?direction ?predicate ?motivation ?motivationLabel ?motivationType
|
|
476
|
+
WHERE {
|
|
477
|
+
{
|
|
478
|
+
SELECT DISTINCT ?stakeholderType
|
|
479
|
+
WHERE {
|
|
480
|
+
{ ?asked rdfs:subClassOf* am:Stakeholder } UNION { GRAPH ?ontologyGraph { ?asked rdfs:subClassOf* am:Stakeholder } }
|
|
481
|
+
{ ?stakeholderType rdfs:subClassOf* ?asked } UNION { GRAPH ?specialisationGraph { ?stakeholderType rdfs:subClassOf* ?asked } }
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
{
|
|
485
|
+
SELECT DISTINCT ?motivationType
|
|
486
|
+
WHERE {
|
|
487
|
+
{ ?motivationLayerType rdfs:subClassOf* am:MotivationElement } UNION { GRAPH ?motivationGraph { ?motivationLayerType rdfs:subClassOf* am:MotivationElement } }
|
|
488
|
+
{ ?motivationType rdfs:subClassOf* ?motivationLayerType } UNION { GRAPH ?motivationSpecialisationGraph { ?motivationType rdfs:subClassOf* ?motivationLayerType } }
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
VALUES ?predicate { am:associatedWith am:influences am:realizes am:aggregates am:composedOf }
|
|
492
|
+
?stakeholder rdf:type ?stakeholderType .
|
|
493
|
+
{ ?stakeholder ?predicate ?motivation . BIND("outgoing" AS ?direction) }
|
|
494
|
+
UNION
|
|
495
|
+
{ ?motivation ?predicate ?stakeholder . BIND("incoming" AS ?direction) }
|
|
496
|
+
?motivation rdf:type ?motivationType .
|
|
497
|
+
MINUS { SELECT DISTINCT ?motivationType WHERE { { ?motivationType arch:isAbstractClass true }
|
|
498
|
+
UNION { GRAPH ?abstractClassGraph { ?motivationType arch:isAbstractClass true } } } }
|
|
499
|
+
OPTIONAL { ?stakeholder skos:prefLabel ?stakeholderLabel . FILTER(lang(?stakeholderLabel) = "" || langMatches(lang(?stakeholderLabel), "en")) }
|
|
500
|
+
OPTIONAL { ?motivation skos:prefLabel ?motivationLabel . FILTER(lang(?motivationLabel) = "" || langMatches(lang(?motivationLabel), "en")) }
|
|
501
|
+
}
|
|
502
|
+
ORDER BY ?stakeholderLabel ?direction ?motivationLabel
|
|
503
|
+
""" ;
|
|
504
|
+
.
|
|
505
|
+
|
|
506
|
+
:requirement-traceability
|
|
507
|
+
a arch:ModelQuestion, sh:SPARQLSelectExecutable ;
|
|
508
|
+
dcterms:identifier "notation/archimate/requirement-traceability" ;
|
|
509
|
+
skos:prefLabel "How does each requirement trace to goals and to the elements that realise it?"@en ;
|
|
510
|
+
dcterms:description "Requirements and constraints with what realises them, below, and the goals, outcomes and principles they realise 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
|
+
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 realisation relationship is a design claim; it does not show the requirement is met."@en ;
|
|
513
|
+
arch:questionStage arch:AnalysisStage ;
|
|
514
|
+
arch:questionAddressesConcern amvp:ArchitectureTactics, amvp:Motivation ;
|
|
515
|
+
arch:questionTargetsStakeholder amvp:RequirementsManager, amvp:BusinessAnalyst ;
|
|
516
|
+
arch:questionFitsViewpoint amvp:RequirementsRealizationViewpoint, amvp:GoalRealizationViewpoint ;
|
|
517
|
+
arch:resultIsFinding false ;
|
|
518
|
+
arch:requiresDataset arch:ModelAndMetamodelDataset ;
|
|
519
|
+
arch:requiresMetamodel <https://meta.linked.archi/archimate3/onto#> ;
|
|
520
|
+
arch:resultKey "traceability" ;
|
|
521
|
+
arch:defaultLimit 1000 ;
|
|
522
|
+
sh:prefixes <https://meta.linked.archi/archimate3/questions#> ;
|
|
523
|
+
sh:select """
|
|
524
|
+
SELECT DISTINCT ?requirement ?requirementLabel ?direction ?predicate ?other ?otherLabel ?otherType
|
|
525
|
+
WHERE {
|
|
526
|
+
{
|
|
527
|
+
SELECT DISTINCT ?requirementType
|
|
528
|
+
WHERE {
|
|
529
|
+
{ ?asked rdfs:subClassOf* am:Requirement } UNION { GRAPH ?ontologyGraph { ?asked rdfs:subClassOf* am:Requirement } }
|
|
530
|
+
{ ?requirementType rdfs:subClassOf* ?asked } UNION { GRAPH ?specialisationGraph { ?requirementType rdfs:subClassOf* ?asked } }
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
?requirement rdf:type ?requirementType .
|
|
534
|
+
{
|
|
535
|
+
?other am:realizes ?requirement .
|
|
536
|
+
BIND(am:realizes AS ?predicate)
|
|
537
|
+
BIND("realised by" AS ?direction)
|
|
538
|
+
}
|
|
539
|
+
UNION
|
|
540
|
+
{
|
|
541
|
+
VALUES ?predicate { am:realizes am:influences }
|
|
542
|
+
?requirement ?predicate ?other .
|
|
543
|
+
BIND("contributes to" AS ?direction)
|
|
544
|
+
}
|
|
545
|
+
?other rdf:type ?otherType .
|
|
546
|
+
FILTER(?otherType NOT IN (arch:ModelConcept, arch:Element, arch:QualifiedRelationship))
|
|
547
|
+
MINUS { SELECT DISTINCT ?otherType WHERE { { ?otherType arch:isAbstractClass true }
|
|
548
|
+
UNION { GRAPH ?abstractClassGraph { ?otherType arch:isAbstractClass true } } } }
|
|
549
|
+
OPTIONAL { ?requirement skos:prefLabel ?requirementLabel . FILTER(lang(?requirementLabel) = "" || langMatches(lang(?requirementLabel), "en")) }
|
|
550
|
+
OPTIONAL { ?other skos:prefLabel ?otherLabel . FILTER(lang(?otherLabel) = "" || langMatches(lang(?otherLabel), "en")) }
|
|
551
|
+
}
|
|
552
|
+
ORDER BY ?requirementLabel ?direction ?otherLabel
|
|
553
|
+
""" ;
|
|
554
|
+
.
|
|
555
|
+
|
|
556
|
+
:principle-rationale
|
|
557
|
+
a arch:ModelQuestion, sh:SPARQLSelectExecutable ;
|
|
558
|
+
dcterms:identifier "notation/archimate/principle-rationale" ;
|
|
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 realise them."@en ;
|
|
561
|
+
arch:answers "One row per relationship between a principle and another element."@en ;
|
|
562
|
+
arch:doesNotProve "Compliance. A requirement realising a principle states an intent, not that designs follow it."@en ;
|
|
563
|
+
arch:questionStage arch:AnalysisStage ;
|
|
564
|
+
arch:questionAddressesConcern amvp:ArchitecturePolicies, amvp:Motivation ;
|
|
565
|
+
arch:questionFitsViewpoint amvp:MotivationViewpoint ;
|
|
566
|
+
arch:resultIsFinding false ;
|
|
567
|
+
arch:requiresDataset arch:ModelAndMetamodelDataset ;
|
|
568
|
+
arch:requiresMetamodel <https://meta.linked.archi/archimate3/onto#> ;
|
|
569
|
+
arch:resultKey "principles" ;
|
|
570
|
+
arch:defaultLimit 500 ;
|
|
571
|
+
sh:prefixes <https://meta.linked.archi/archimate3/questions#> ;
|
|
572
|
+
sh:select """
|
|
573
|
+
SELECT DISTINCT ?principle ?principleLabel ?direction ?predicate ?other ?otherLabel ?otherType
|
|
574
|
+
WHERE {
|
|
575
|
+
{
|
|
576
|
+
SELECT DISTINCT ?principleType
|
|
577
|
+
WHERE {
|
|
578
|
+
{ ?asked rdfs:subClassOf* am:Principle } UNION { GRAPH ?ontologyGraph { ?asked rdfs:subClassOf* am:Principle } }
|
|
579
|
+
{ ?principleType rdfs:subClassOf* ?asked } UNION { GRAPH ?specialisationGraph { ?principleType rdfs:subClassOf* ?asked } }
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
VALUES ?predicate { am:realizes am:influences am:associatedWith }
|
|
583
|
+
?principle rdf:type ?principleType .
|
|
584
|
+
{ ?principle ?predicate ?other . BIND("outgoing" AS ?direction) }
|
|
585
|
+
UNION
|
|
586
|
+
{ ?other ?predicate ?principle . BIND("incoming" AS ?direction) }
|
|
587
|
+
?other rdf:type ?otherType .
|
|
588
|
+
FILTER(?otherType NOT IN (arch:ModelConcept, arch:Element, arch:QualifiedRelationship))
|
|
589
|
+
MINUS { SELECT DISTINCT ?otherType WHERE { { ?otherType arch:isAbstractClass true }
|
|
590
|
+
UNION { GRAPH ?abstractClassGraph { ?otherType arch:isAbstractClass true } } } }
|
|
591
|
+
OPTIONAL { ?principle skos:prefLabel ?principleLabel . FILTER(lang(?principleLabel) = "" || langMatches(lang(?principleLabel), "en")) }
|
|
592
|
+
OPTIONAL { ?other skos:prefLabel ?otherLabel . FILTER(lang(?otherLabel) = "" || langMatches(lang(?otherLabel), "en")) }
|
|
593
|
+
}
|
|
594
|
+
ORDER BY ?principleLabel ?direction ?otherLabel
|
|
595
|
+
""" ;
|
|
596
|
+
.
|
|
597
|
+
|
|
598
|
+
:work-package-deliverables
|
|
599
|
+
a arch:ModelQuestion, sh:SPARQLSelectExecutable ;
|
|
600
|
+
dcterms:identifier "notation/archimate/work-package-deliverables" ;
|
|
601
|
+
skos:prefLabel "What does each work package deliver, and what does that realise?"@en ;
|
|
602
|
+
dcterms:description "Work packages, the deliverables they realise, and the architecture elements those deliverables realise. A realisation 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 realised."@en ;
|
|
604
|
+
arch:doesNotProve "Schedule or progress. ArchiMate records what a work package produces, not when."@en ;
|
|
605
|
+
arch:questionStage arch:AnalysisStage ;
|
|
606
|
+
arch:questionAddressesConcern amvp:ArchitectureVision, amvp:ArchitecturePolicies ;
|
|
607
|
+
arch:questionTargetsStakeholder amvp:OperationalManager, amvp:EnterpriseArchitect ;
|
|
608
|
+
arch:questionFitsViewpoint amvp:ProjectViewpoint, amvp:ImplementationAndMigrationViewpoint ;
|
|
609
|
+
arch:resultIsFinding false ;
|
|
610
|
+
arch:requiresDataset arch:ModelAndMetamodelDataset ;
|
|
611
|
+
arch:requiresMetamodel <https://meta.linked.archi/archimate3/onto#> ;
|
|
612
|
+
arch:resultKey "workPackages" ;
|
|
613
|
+
arch:defaultLimit 500 ;
|
|
614
|
+
sh:prefixes <https://meta.linked.archi/archimate3/questions#> ;
|
|
615
|
+
sh:select """
|
|
616
|
+
SELECT DISTINCT ?workPackage ?workPackageLabel ?deliverable ?deliverableLabel ?realized ?realizedLabel ?realizedType
|
|
617
|
+
WHERE {
|
|
618
|
+
{
|
|
619
|
+
SELECT DISTINCT ?workPackageType
|
|
620
|
+
WHERE {
|
|
621
|
+
{ ?asked rdfs:subClassOf* am:WorkPackage } UNION { GRAPH ?ontologyGraph { ?asked rdfs:subClassOf* am:WorkPackage } }
|
|
622
|
+
{ ?workPackageType rdfs:subClassOf* ?asked } UNION { GRAPH ?specialisationGraph { ?workPackageType rdfs:subClassOf* ?asked } }
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
{
|
|
626
|
+
SELECT DISTINCT ?deliverableType
|
|
627
|
+
WHERE {
|
|
628
|
+
{ ?askedDeliverable rdfs:subClassOf* am:Deliverable } UNION { GRAPH ?deliverableGraph { ?askedDeliverable rdfs:subClassOf* am:Deliverable } }
|
|
629
|
+
{ ?deliverableType rdfs:subClassOf* ?askedDeliverable } UNION { GRAPH ?deliverableSpecialisationGraph { ?deliverableType rdfs:subClassOf* ?askedDeliverable } }
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
# Each realisation directly, or as DR 2 derives it through structural relationships in line.
|
|
633
|
+
?from am:realizes ?to .
|
|
634
|
+
?workPackage (am:composedOf|am:aggregates|am:assignedTo|am:realizes)* ?from .
|
|
635
|
+
?to (am:composedOf|am:aggregates|am:assignedTo|am:realizes)* ?deliverable .
|
|
636
|
+
?workPackage rdf:type ?workPackageType .
|
|
637
|
+
?deliverable rdf:type ?deliverableType .
|
|
638
|
+
OPTIONAL {
|
|
639
|
+
?realizing am:realizes ?realised .
|
|
640
|
+
?deliverable (am:composedOf|am:aggregates|am:assignedTo|am:realizes)* ?realizing .
|
|
641
|
+
?realised (am:composedOf|am:aggregates|am:assignedTo|am:realizes)* ?realized .
|
|
642
|
+
?realized rdf:type ?realizedType .
|
|
643
|
+
FILTER(?realizedType NOT IN (arch:ModelConcept, arch:Element, arch:QualifiedRelationship))
|
|
644
|
+
MINUS { SELECT DISTINCT ?realizedType WHERE { { ?realizedType arch:isAbstractClass true }
|
|
645
|
+
UNION { GRAPH ?abstractClassGraph { ?realizedType arch:isAbstractClass true } } } }
|
|
646
|
+
OPTIONAL { ?realized skos:prefLabel ?realizedLabel . FILTER(lang(?realizedLabel) = "" || langMatches(lang(?realizedLabel), "en")) }
|
|
647
|
+
}
|
|
648
|
+
OPTIONAL { ?workPackage skos:prefLabel ?workPackageLabel . FILTER(lang(?workPackageLabel) = "" || langMatches(lang(?workPackageLabel), "en")) }
|
|
649
|
+
OPTIONAL { ?deliverable skos:prefLabel ?deliverableLabel . FILTER(lang(?deliverableLabel) = "" || langMatches(lang(?deliverableLabel), "en")) }
|
|
650
|
+
}
|
|
651
|
+
ORDER BY ?workPackageLabel ?deliverableLabel
|
|
652
|
+
""" ;
|
|
653
|
+
.
|
|
654
|
+
|
|
655
|
+
:plateau-difference
|
|
656
|
+
a arch:ModelQuestion, sh:SPARQLSelectExecutable ;
|
|
657
|
+
dcterms:identifier "notation/archimate/plateau-difference" ;
|
|
658
|
+
skos:prefLabel "What changes between these two plateaus?"@en ;
|
|
659
|
+
dcterms:description "Elements a later plateau aggregates or is composed of that an earlier one is not (added), and the reverse (removed)."@en ;
|
|
660
|
+
arch:answers "One row per element added or removed."@en ;
|
|
661
|
+
arch:doesNotProve "The migration path. The difference is the gap; the work packages that close it are another question."@en ;
|
|
662
|
+
arch:questionStage arch:AnalysisStage ;
|
|
663
|
+
arch:questionAddressesConcern amvp:ModelHistory, amvp:ArchitectureVision ;
|
|
664
|
+
arch:questionFitsViewpoint amvp:MigrationViewpoint ;
|
|
665
|
+
arch:resultIsFinding false ;
|
|
666
|
+
arch:requiresDataset arch:ModelAndMetamodelDataset ;
|
|
667
|
+
arch:requiresMetamodel <https://meta.linked.archi/archimate3/onto#> ;
|
|
668
|
+
arch:resultKey "plateauChanges" ;
|
|
669
|
+
arch:defaultLimit 1000 ;
|
|
670
|
+
sh:parameter [ sh:path arch:from ; sh:name "from" ; sh:nodeKind sh:IRI ; sh:optional false ; sh:order 1 ;
|
|
671
|
+
sh:description "The earlier plateau, such as the baseline."@en ] ;
|
|
672
|
+
sh:parameter [ sh:path arch:to ; sh:name "to" ; sh:nodeKind sh:IRI ; sh:optional false ; sh:order 2 ;
|
|
673
|
+
sh:description "The later plateau, such as the target."@en ] ;
|
|
674
|
+
sh:prefixes <https://meta.linked.archi/archimate3/questions#> ;
|
|
675
|
+
sh:select """
|
|
676
|
+
SELECT DISTINCT ?change ?element ?label ?type
|
|
677
|
+
WHERE {
|
|
678
|
+
# Both are plateaus, or a specialisation of one.
|
|
679
|
+
FILTER EXISTS {
|
|
680
|
+
?from rdf:type ?fromType .
|
|
681
|
+
{ ?fromType rdfs:subClassOf* am:Plateau } UNION { GRAPH ?fromGraph { ?fromType rdfs:subClassOf* am:Plateau } }
|
|
682
|
+
}
|
|
683
|
+
FILTER EXISTS {
|
|
684
|
+
?to rdf:type ?toType .
|
|
685
|
+
{ ?toType rdfs:subClassOf* am:Plateau } UNION { GRAPH ?toGraph { ?toType rdfs:subClassOf* am:Plateau } }
|
|
686
|
+
}
|
|
687
|
+
FILTER(?from != ?to)
|
|
688
|
+
{ ?to am:aggregates|am:composedOf ?element . BIND("added" AS ?change) }
|
|
689
|
+
UNION
|
|
690
|
+
{ ?from am:aggregates|am:composedOf ?element . BIND("removed" AS ?change) }
|
|
691
|
+
# Here, where both are bound: in the other plateau it is not.
|
|
692
|
+
FILTER(IF(?change = "added",
|
|
693
|
+
NOT EXISTS { ?from am:aggregates|am:composedOf ?element },
|
|
694
|
+
NOT EXISTS { ?to am:aggregates|am:composedOf ?element }))
|
|
695
|
+
?element rdf:type ?type .
|
|
696
|
+
FILTER(?type NOT IN (arch:ModelConcept, arch:Element, arch:QualifiedRelationship))
|
|
697
|
+
MINUS { SELECT DISTINCT ?type WHERE { { ?type arch:isAbstractClass true }
|
|
698
|
+
UNION { GRAPH ?abstractClassGraph { ?type arch:isAbstractClass true } } } }
|
|
699
|
+
OPTIONAL { ?element skos:prefLabel ?label . FILTER(lang(?label) = "" || langMatches(lang(?label), "en")) }
|
|
700
|
+
}
|
|
701
|
+
ORDER BY ?change ?type ?label
|
|
702
|
+
""" ;
|
|
703
|
+
.
|
|
704
|
+
|
|
705
|
+
# ── Quality: findings against the viewpoints' concerns ──────────
|
|
706
|
+
|
|
707
|
+
:unassigned-behaviour
|
|
708
|
+
a arch:ModelQuestion, sh:SPARQLSelectExecutable ;
|
|
709
|
+
dcterms:identifier "notation/archimate/unassigned-behaviour" ;
|
|
710
|
+
skos:prefLabel "Which processes and functions has nobody been assigned to?"@en ;
|
|
711
|
+
dcterms:description "Business, application and technology processes and functions that no active structure element is assigned to. An assignment counts directly or as DR 2 derives it, in line with compositions and aggregations."@en ;
|
|
712
|
+
arch:answers "One row per process or function without a performer, with the kind asked about."@en ;
|
|
713
|
+
arch:doesNotProve "That nobody performs it. The performer may be assigned to an enclosing process, or the model may stop above that level of detail."@en ;
|
|
714
|
+
arch:questionStage arch:QualityStage ;
|
|
715
|
+
arch:questionAddressesConcern amvp:Responsibilities, amvp:Completeness ;
|
|
716
|
+
arch:questionFitsViewpoint amvp:BusinessProcessCooperationViewpoint, amvp:OrganizationViewpoint ;
|
|
717
|
+
arch:resultIsFinding true ;
|
|
718
|
+
arch:findingSeverity sh:Warning ;
|
|
719
|
+
arch:findingFocus "behaviour" ;
|
|
720
|
+
arch:requiresDataset arch:ModelAndMetamodelDataset ;
|
|
721
|
+
arch:requiresMetamodel <https://meta.linked.archi/archimate3/onto#> ;
|
|
722
|
+
arch:resultKey "unassigned" ;
|
|
723
|
+
arch:defaultLimit 500 ;
|
|
724
|
+
sh:parameter [ sh:path arch:model ; sh:name "model" ; sh:class arch:Model ; sh:optional true ; sh:order 1 ;
|
|
725
|
+
sh:description "The model to look in. A modelling tool binds the open model; a deliverable, the model it is produced from."@en ] ;
|
|
726
|
+
sh:prefixes <https://meta.linked.archi/archimate3/questions#> ;
|
|
727
|
+
sh:select """
|
|
728
|
+
SELECT DISTINCT ?behaviour ?label ?type
|
|
729
|
+
WHERE {
|
|
730
|
+
{
|
|
731
|
+
SELECT DISTINCT ?type ?behaviourType
|
|
732
|
+
WHERE {
|
|
733
|
+
VALUES ?type {
|
|
734
|
+
am:BusinessProcess am:BusinessFunction am:ApplicationProcess am:ApplicationFunction
|
|
735
|
+
am:TechnologyProcess am:TechnologyFunction
|
|
736
|
+
}
|
|
737
|
+
{ ?asked rdfs:subClassOf* ?type } UNION { GRAPH ?ontologyGraph { ?asked rdfs:subClassOf* ?type } }
|
|
738
|
+
{ ?behaviourType rdfs:subClassOf* ?asked } UNION { GRAPH ?specialisationGraph { ?behaviourType rdfs:subClassOf* ?asked } }
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
?behaviour rdf:type ?behaviourType ;
|
|
742
|
+
arch:inModel ?model .
|
|
743
|
+
# Directly, or as DR 2 derives it in line with compositions and aggregations.
|
|
744
|
+
FILTER NOT EXISTS { ?from am:assignedTo ?to . ?to (am:composedOf|am:aggregates|am:assignedTo)* ?behaviour }
|
|
745
|
+
OPTIONAL { ?behaviour skos:prefLabel ?label . FILTER(lang(?label) = "" || langMatches(lang(?label), "en")) }
|
|
746
|
+
}
|
|
747
|
+
ORDER BY ?type ?label
|
|
748
|
+
""" ;
|
|
749
|
+
.
|
|
750
|
+
|
|
751
|
+
:unrealised-services
|
|
752
|
+
a arch:ModelQuestion, sh:SPARQLSelectExecutable ;
|
|
753
|
+
dcterms:identifier "notation/archimate/unrealised-services" ;
|
|
754
|
+
skos:prefLabel "Which services does nothing realise?"@en ;
|
|
755
|
+
dcterms:description "Business, application and technology services that no behaviour or active structure element realises. A realisation counts directly or as DR 2 derives it, through structural relationships in line."@en ;
|
|
756
|
+
arch:answers "One row per service nothing realises, with the kind of service."@en ;
|
|
757
|
+
arch:doesNotProve "That the service is not delivered: it may be bought in, or realised in a model that is not loaded."@en ;
|
|
758
|
+
arch:questionStage arch:QualityStage ;
|
|
759
|
+
arch:questionAddressesConcern amvp:Completeness, amvp:AddedValueOfProcesses ;
|
|
760
|
+
arch:questionFitsViewpoint amvp:ServiceRealizationViewpoint, amvp:BusinessProcessCooperationViewpoint ;
|
|
761
|
+
arch:resultIsFinding true ;
|
|
762
|
+
arch:findingSeverity sh:Warning ;
|
|
763
|
+
arch:findingFocus "service" ;
|
|
764
|
+
arch:requiresDataset arch:ModelAndMetamodelDataset ;
|
|
765
|
+
arch:requiresMetamodel <https://meta.linked.archi/archimate3/onto#> ;
|
|
766
|
+
arch:resultKey "unrealisedServices" ;
|
|
767
|
+
arch:defaultLimit 500 ;
|
|
768
|
+
sh:parameter [ sh:path arch:model ; sh:name "model" ; sh:class arch:Model ; sh:optional true ; sh:order 1 ;
|
|
769
|
+
sh:description "The model to look in. A modelling tool binds the open model; a deliverable, the model it is produced from."@en ] ;
|
|
770
|
+
sh:prefixes <https://meta.linked.archi/archimate3/questions#> ;
|
|
771
|
+
sh:select """
|
|
772
|
+
SELECT DISTINCT ?service ?label ?type
|
|
773
|
+
WHERE {
|
|
774
|
+
{
|
|
775
|
+
SELECT DISTINCT ?type ?serviceType
|
|
776
|
+
WHERE {
|
|
777
|
+
VALUES ?type { am:BusinessService am:ApplicationService am:TechnologyService }
|
|
778
|
+
{ ?asked rdfs:subClassOf* ?type } UNION { GRAPH ?ontologyGraph { ?asked rdfs:subClassOf* ?type } }
|
|
779
|
+
{ ?serviceType rdfs:subClassOf* ?asked } UNION { GRAPH ?specialisationGraph { ?serviceType rdfs:subClassOf* ?asked } }
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
?service rdf:type ?serviceType ;
|
|
783
|
+
arch:inModel ?model .
|
|
784
|
+
# Directly, or as DR 2 derives it through structural relationships in line.
|
|
785
|
+
FILTER NOT EXISTS { ?from am:realizes ?to . ?to (am:composedOf|am:aggregates|am:assignedTo|am:realizes)* ?service }
|
|
786
|
+
OPTIONAL { ?service skos:prefLabel ?label . FILTER(lang(?label) = "" || langMatches(lang(?label), "en")) }
|
|
787
|
+
}
|
|
788
|
+
ORDER BY ?type ?label
|
|
789
|
+
""" ;
|
|
790
|
+
.
|
|
791
|
+
|
|
792
|
+
:applications-without-technology
|
|
793
|
+
a arch:ModelQuestion, sh:SPARQLSelectExecutable ;
|
|
794
|
+
dcterms:identifier "notation/archimate/applications-without-technology" ;
|
|
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 realises, directly or by realising 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
|
+
arch:answers "One row per application component with no technology under it."@en ;
|
|
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
|
+
arch:questionStage arch:QualityStage ;
|
|
800
|
+
arch:questionAddressesConcern amvp:ApplicationPlatforms, amvp:InfrastructureQuality ;
|
|
801
|
+
arch:questionTargetsStakeholder amvp:ApplicationArchitect, amvp:InfrastructureArchitect ;
|
|
802
|
+
arch:questionFitsViewpoint amvp:ImplementationAndDeploymentViewpoint, amvp:TechnologyUsageViewpoint ;
|
|
803
|
+
arch:resultIsFinding true ;
|
|
804
|
+
arch:findingSeverity sh:Warning ;
|
|
805
|
+
arch:findingFocus "application" ;
|
|
806
|
+
arch:requiresDataset arch:ModelAndMetamodelDataset ;
|
|
807
|
+
arch:requiresMetamodel <https://meta.linked.archi/archimate3/onto#> ;
|
|
808
|
+
arch:resultKey "unhosted" ;
|
|
809
|
+
arch:defaultLimit 500 ;
|
|
810
|
+
sh:parameter [ sh:path arch:model ; sh:name "model" ; sh:class arch:Model ; sh:optional true ; sh:order 1 ;
|
|
811
|
+
sh:description "The model to look in. A modelling tool binds the open model; a deliverable, the model it is produced from."@en ] ;
|
|
812
|
+
sh:prefixes <https://meta.linked.archi/archimate3/questions#> ;
|
|
813
|
+
sh:select """
|
|
814
|
+
SELECT DISTINCT ?application ?label
|
|
815
|
+
WHERE {
|
|
816
|
+
{
|
|
817
|
+
SELECT DISTINCT ?componentType
|
|
818
|
+
WHERE {
|
|
819
|
+
{ ?asked rdfs:subClassOf* am:ApplicationComponent } UNION { GRAPH ?ontologyGraph { ?asked rdfs:subClassOf* am:ApplicationComponent } }
|
|
820
|
+
{ ?componentType rdfs:subClassOf* ?asked } UNION { GRAPH ?specialisationGraph { ?componentType rdfs:subClassOf* ?asked } }
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
?application rdf:type ?componentType ;
|
|
824
|
+
arch:inModel ?model .
|
|
825
|
+
MINUS {
|
|
826
|
+
# The technology layer's types, read once.
|
|
827
|
+
{
|
|
828
|
+
SELECT DISTINCT ?technologyType
|
|
829
|
+
WHERE {
|
|
830
|
+
{ ?layerType rdfs:subClassOf* am:TechnologyLayerElement }
|
|
831
|
+
UNION { GRAPH ?layerGraph { ?layerType rdfs:subClassOf* am:TechnologyLayerElement } }
|
|
832
|
+
{ ?technologyType rdfs:subClassOf* ?layerType }
|
|
833
|
+
UNION { GRAPH ?layerSpecialisationGraph { ?technologyType rdfs:subClassOf* ?layerType } }
|
|
834
|
+
}
|
|
835
|
+
}
|
|
836
|
+
?technology rdf:type ?technologyType ;
|
|
837
|
+
am:serves|am:realizes|(am:realizes/am:serves) ?application .
|
|
838
|
+
}
|
|
839
|
+
OPTIONAL { ?application skos:prefLabel ?label . FILTER(lang(?label) = "" || langMatches(lang(?label), "en")) }
|
|
840
|
+
}
|
|
841
|
+
ORDER BY ?label
|
|
842
|
+
""" ;
|
|
843
|
+
.
|
|
844
|
+
|
|
845
|
+
:data-never-written
|
|
846
|
+
a arch:ModelQuestion, sh:SPARQLSelectExecutable ;
|
|
847
|
+
dcterms:identifier "notation/archimate/data-never-written" ;
|
|
848
|
+
skos:prefLabel "Which information is read but never written?"@en ;
|
|
849
|
+
dcterms:description "Data objects, business objects (contracts too) and artifacts that something reads and nothing writes. Access of an unstated kind (am:Access) counts as a possible write."@en ;
|
|
850
|
+
arch:answers "One row per object, with how many elements read it."@en ;
|
|
851
|
+
arch:doesNotProve "That the data has no source. It may be written by a system outside the model; that boundary is what the finding asks to discuss."@en ;
|
|
852
|
+
arch:questionStage arch:QualityStage ;
|
|
853
|
+
arch:questionAddressesConcern amvp:InformationStructure, amvp:Completeness ;
|
|
854
|
+
arch:questionFitsViewpoint amvp:InformationStructureViewpoint ;
|
|
855
|
+
arch:resultIsFinding true ;
|
|
856
|
+
arch:findingSeverity sh:Warning ;
|
|
857
|
+
arch:findingFocus "object" ;
|
|
858
|
+
arch:requiresDataset arch:ModelAndMetamodelDataset ;
|
|
859
|
+
arch:requiresMetamodel <https://meta.linked.archi/archimate3/onto#> ;
|
|
860
|
+
arch:resultKey "neverWritten" ;
|
|
861
|
+
arch:defaultLimit 500 ;
|
|
862
|
+
sh:prefixes <https://meta.linked.archi/archimate3/questions#> ;
|
|
863
|
+
sh:select """
|
|
864
|
+
SELECT ?object ?label ?readers
|
|
865
|
+
WHERE {
|
|
866
|
+
{
|
|
867
|
+
SELECT ?object (COUNT(DISTINCT ?reader) AS ?readers)
|
|
868
|
+
WHERE {
|
|
869
|
+
{
|
|
870
|
+
SELECT DISTINCT ?objectType
|
|
871
|
+
WHERE {
|
|
872
|
+
VALUES ?askedObject { am:DataObject am:BusinessObject am:Artifact }
|
|
873
|
+
{ ?asked rdfs:subClassOf* ?askedObject } UNION { GRAPH ?ontologyGraph { ?asked rdfs:subClassOf* ?askedObject } }
|
|
874
|
+
{ ?objectType rdfs:subClassOf* ?asked } UNION { GRAPH ?specialisationGraph { ?objectType rdfs:subClassOf* ?asked } }
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
?read rdf:type am:ReadAccess ;
|
|
878
|
+
arch:source ?reader ;
|
|
879
|
+
arch:target ?object .
|
|
880
|
+
?object rdf:type ?objectType .
|
|
881
|
+
}
|
|
882
|
+
GROUP BY ?object
|
|
883
|
+
}
|
|
884
|
+
# Written: a write, a read-write, or an access whose kind is not stated.
|
|
885
|
+
FILTER NOT EXISTS {
|
|
886
|
+
VALUES ?writeKind { am:WriteAccess am:ReadWriteAccess am:Access }
|
|
887
|
+
?write rdf:type ?writeKind ;
|
|
888
|
+
arch:target ?object .
|
|
889
|
+
FILTER NOT EXISTS { ?write rdf:type am:ReadAccess }
|
|
890
|
+
}
|
|
891
|
+
OPTIONAL { ?object skos:prefLabel ?label . FILTER(lang(?label) = "" || langMatches(lang(?label), "en")) }
|
|
892
|
+
}
|
|
893
|
+
ORDER BY DESC(?readers) ?label
|
|
894
|
+
""" ;
|
|
895
|
+
.
|
|
896
|
+
|
|
897
|
+
:unrealised-capabilities
|
|
898
|
+
a arch:ModelQuestion, sh:SPARQLSelectExecutable ;
|
|
899
|
+
dcterms:identifier "notation/archimate/unrealised-capabilities" ;
|
|
900
|
+
skos:prefLabel "Which capabilities does nothing realise?"@en ;
|
|
901
|
+
dcterms:description "Capabilities realised 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 realisation anywhere beneath it."@en ;
|
|
903
|
+
arch:doesNotProve "That the enterprise lacks the capability; only that the model does not say what delivers it."@en ;
|
|
904
|
+
arch:questionStage arch:QualityStage ;
|
|
905
|
+
arch:questionAddressesConcern amvp:StrategyDevelopment, amvp:Completeness ;
|
|
906
|
+
arch:questionFitsViewpoint amvp:CapabilityMapViewpoint ;
|
|
907
|
+
arch:resultIsFinding true ;
|
|
908
|
+
arch:findingSeverity sh:Info ;
|
|
909
|
+
arch:findingFocus "capability" ;
|
|
910
|
+
arch:requiresDataset arch:ModelAndMetamodelDataset ;
|
|
911
|
+
arch:requiresMetamodel <https://meta.linked.archi/archimate3/onto#> ;
|
|
912
|
+
arch:resultKey "unrealisedCapabilities" ;
|
|
913
|
+
arch:defaultLimit 500 ;
|
|
914
|
+
sh:parameter [ sh:path arch:model ; sh:name "model" ; sh:class arch:Model ; sh:optional true ; sh:order 1 ;
|
|
915
|
+
sh:description "The model to look in. A modelling tool binds the open model; a deliverable, the model it is produced from."@en ] ;
|
|
916
|
+
sh:prefixes <https://meta.linked.archi/archimate3/questions#> ;
|
|
917
|
+
sh:select """
|
|
918
|
+
SELECT DISTINCT ?capability ?label
|
|
919
|
+
WHERE {
|
|
920
|
+
{
|
|
921
|
+
SELECT DISTINCT ?capabilityType
|
|
922
|
+
WHERE {
|
|
923
|
+
{ ?asked rdfs:subClassOf* am:Capability } UNION { GRAPH ?ontologyGraph { ?asked rdfs:subClassOf* am:Capability } }
|
|
924
|
+
{ ?capabilityType rdfs:subClassOf* ?asked } UNION { GRAPH ?specialisationGraph { ?capabilityType rdfs:subClassOf* ?asked } }
|
|
925
|
+
}
|
|
926
|
+
}
|
|
927
|
+
?capability rdf:type ?capabilityType ;
|
|
928
|
+
arch:inModel ?model .
|
|
929
|
+
FILTER NOT EXISTS {
|
|
930
|
+
?capability (am:composedOf|am:aggregates)* ?part .
|
|
931
|
+
?realizer am:realizes ?part .
|
|
932
|
+
}
|
|
933
|
+
OPTIONAL { ?capability skos:prefLabel ?label . FILTER(lang(?label) = "" || langMatches(lang(?label), "en")) }
|
|
934
|
+
}
|
|
935
|
+
ORDER BY ?label
|
|
936
|
+
""" ;
|
|
937
|
+
.
|
|
938
|
+
|
|
939
|
+
:unrealised-requirements
|
|
940
|
+
a arch:ModelQuestion, sh:SPARQLSelectExecutable ;
|
|
941
|
+
dcterms:identifier "notation/archimate/unrealised-requirements" ;
|
|
942
|
+
skos:prefLabel "Which requirements does no architecture element realise?"@en ;
|
|
943
|
+
dcterms:description "Requirements and constraints that no element outside the motivation elements realises: realisation by another motivation element does not count. A realisation 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 realising design element."@en ;
|
|
945
|
+
arch:doesNotProve "That the requirement is unmet; only that the model does not show what meets it."@en ;
|
|
946
|
+
arch:questionStage arch:QualityStage ;
|
|
947
|
+
arch:questionAddressesConcern amvp:ArchitectureTactics, amvp:Motivation ;
|
|
948
|
+
arch:questionTargetsStakeholder amvp:RequirementsManager ;
|
|
949
|
+
arch:questionFitsViewpoint amvp:RequirementsRealizationViewpoint ;
|
|
950
|
+
arch:resultIsFinding true ;
|
|
951
|
+
arch:findingSeverity sh:Warning ;
|
|
952
|
+
arch:findingFocus "requirement" ;
|
|
953
|
+
arch:requiresDataset arch:ModelAndMetamodelDataset ;
|
|
954
|
+
arch:requiresMetamodel <https://meta.linked.archi/archimate3/onto#> ;
|
|
955
|
+
arch:resultKey "unrealisedRequirements" ;
|
|
956
|
+
arch:defaultLimit 500 ;
|
|
957
|
+
sh:parameter [ sh:path arch:model ; sh:name "model" ; sh:class arch:Model ; sh:optional true ; sh:order 1 ;
|
|
958
|
+
sh:description "The model to look in. A modelling tool binds the open model; a deliverable, the model it is produced from."@en ] ;
|
|
959
|
+
sh:prefixes <https://meta.linked.archi/archimate3/questions#> ;
|
|
960
|
+
sh:select """
|
|
961
|
+
SELECT DISTINCT ?requirement ?label
|
|
962
|
+
WHERE {
|
|
963
|
+
{
|
|
964
|
+
SELECT DISTINCT ?requirementType
|
|
965
|
+
WHERE {
|
|
966
|
+
{ ?asked rdfs:subClassOf* am:Requirement } UNION { GRAPH ?ontologyGraph { ?asked rdfs:subClassOf* am:Requirement } }
|
|
967
|
+
{ ?requirementType rdfs:subClassOf* ?asked } UNION { GRAPH ?specialisationGraph { ?requirementType rdfs:subClassOf* ?asked } }
|
|
968
|
+
}
|
|
969
|
+
}
|
|
970
|
+
?requirement rdf:type ?requirementType ;
|
|
971
|
+
arch:inModel ?model .
|
|
972
|
+
# Realised by a design element: one whose own type is not a motivation element.
|
|
973
|
+
MINUS {
|
|
974
|
+
?from am:realizes ?to .
|
|
975
|
+
?realizer (am:composedOf|am:aggregates|am:assignedTo|am:realizes)* ?from .
|
|
976
|
+
?to (am:composedOf|am:aggregates|am:assignedTo|am:realizes)* ?requirement .
|
|
977
|
+
?realizer rdf:type ?realizerType .
|
|
978
|
+
FILTER(?realizerType NOT IN (arch:ModelConcept, arch:Element, arch:QualifiedRelationship))
|
|
979
|
+
MINUS { SELECT DISTINCT ?realizerType WHERE { { ?realizerType arch:isAbstractClass true }
|
|
980
|
+
UNION { GRAPH ?abstractClassGraph { ?realizerType arch:isAbstractClass true } } } }
|
|
981
|
+
MINUS {
|
|
982
|
+
SELECT DISTINCT ?realizerType
|
|
983
|
+
WHERE {
|
|
984
|
+
{ ?motivationType rdfs:subClassOf* am:MotivationElement }
|
|
985
|
+
UNION { GRAPH ?motivationGraph { ?motivationType rdfs:subClassOf* am:MotivationElement } }
|
|
986
|
+
{ ?realizerType rdfs:subClassOf* ?motivationType }
|
|
987
|
+
UNION { GRAPH ?motivationSpecialisationGraph { ?realizerType rdfs:subClassOf* ?motivationType } }
|
|
988
|
+
}
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
OPTIONAL { ?requirement skos:prefLabel ?label . FILTER(lang(?label) = "" || langMatches(lang(?label), "en")) }
|
|
992
|
+
}
|
|
993
|
+
ORDER BY ?label
|
|
994
|
+
""" ;
|
|
995
|
+
.
|
|
996
|
+
|
|
997
|
+
:principles-without-requirements
|
|
998
|
+
a arch:ModelQuestion, sh:SPARQLSelectExecutable ;
|
|
999
|
+
dcterms:identifier "notation/archimate/principles-without-requirements" ;
|
|
1000
|
+
skos:prefLabel "Which principles has no requirement made concrete?"@en ;
|
|
1001
|
+
dcterms:description "Principles that no requirement or constraint realises. A realisation counts directly or as DR 2 derives it, through structural relationships in line."@en ;
|
|
1002
|
+
arch:answers "One row per principle no requirement realises."@en ;
|
|
1003
|
+
arch:doesNotProve "That the principle is ignored. It may be applied by review rather than through stated requirements."@en ;
|
|
1004
|
+
arch:questionStage arch:QualityStage ;
|
|
1005
|
+
arch:questionAddressesConcern amvp:ArchitecturePolicies ;
|
|
1006
|
+
arch:questionFitsViewpoint amvp:MotivationViewpoint ;
|
|
1007
|
+
arch:resultIsFinding true ;
|
|
1008
|
+
arch:findingSeverity sh:Info ;
|
|
1009
|
+
arch:findingFocus "principle" ;
|
|
1010
|
+
arch:requiresDataset arch:ModelAndMetamodelDataset ;
|
|
1011
|
+
arch:requiresMetamodel <https://meta.linked.archi/archimate3/onto#> ;
|
|
1012
|
+
arch:resultKey "unbackedPrinciples" ;
|
|
1013
|
+
arch:defaultLimit 500 ;
|
|
1014
|
+
sh:parameter [ sh:path arch:model ; sh:name "model" ; sh:class arch:Model ; sh:optional true ; sh:order 1 ;
|
|
1015
|
+
sh:description "The model to look in. A modelling tool binds the open model; a deliverable, the model it is produced from."@en ] ;
|
|
1016
|
+
sh:prefixes <https://meta.linked.archi/archimate3/questions#> ;
|
|
1017
|
+
sh:select """
|
|
1018
|
+
SELECT DISTINCT ?principle ?label
|
|
1019
|
+
WHERE {
|
|
1020
|
+
{
|
|
1021
|
+
SELECT DISTINCT ?principleType
|
|
1022
|
+
WHERE {
|
|
1023
|
+
{ ?asked rdfs:subClassOf* am:Principle } UNION { GRAPH ?ontologyGraph { ?asked rdfs:subClassOf* am:Principle } }
|
|
1024
|
+
{ ?principleType rdfs:subClassOf* ?asked } UNION { GRAPH ?specialisationGraph { ?principleType rdfs:subClassOf* ?asked } }
|
|
1025
|
+
}
|
|
1026
|
+
}
|
|
1027
|
+
?principle rdf:type ?principleType ;
|
|
1028
|
+
arch:inModel ?model .
|
|
1029
|
+
FILTER NOT EXISTS {
|
|
1030
|
+
{
|
|
1031
|
+
SELECT DISTINCT ?requirementType
|
|
1032
|
+
WHERE {
|
|
1033
|
+
{ ?askedRequirement rdfs:subClassOf* am:Requirement } UNION { GRAPH ?requirementGraph { ?askedRequirement rdfs:subClassOf* am:Requirement } }
|
|
1034
|
+
{ ?requirementType rdfs:subClassOf* ?askedRequirement } UNION { GRAPH ?requirementSpecialisationGraph { ?requirementType rdfs:subClassOf* ?askedRequirement } }
|
|
1035
|
+
}
|
|
1036
|
+
}
|
|
1037
|
+
?from am:realizes ?to .
|
|
1038
|
+
?requirement (am:composedOf|am:aggregates|am:assignedTo|am:realizes)* ?from .
|
|
1039
|
+
?to (am:composedOf|am:aggregates|am:assignedTo|am:realizes)* ?principle .
|
|
1040
|
+
?requirement rdf:type ?requirementType .
|
|
1041
|
+
}
|
|
1042
|
+
OPTIONAL { ?principle skos:prefLabel ?label . FILTER(lang(?label) = "" || langMatches(lang(?label), "en")) }
|
|
1043
|
+
}
|
|
1044
|
+
ORDER BY ?label
|
|
1045
|
+
""" ;
|
|
1046
|
+
.
|
|
1047
|
+
|
|
1048
|
+
# ── Derivations ─────────────────────────────────────────────────
|
|
1049
|
+
# What the derivation rules propose (archimate3.2-derivation-rules.ttl), read when the model's
|
|
1050
|
+
# derivations are loaded with it — beside it in a file, in its derived graph
|
|
1051
|
+
# in a store. Without them, nothing.
|
|
1052
|
+
|
|
1053
|
+
:potential-derivations
|
|
1054
|
+
a arch:ModelQuestion, sh:SPARQLSelectExecutable ;
|
|
1055
|
+
dcterms:identifier "notation/archimate/potential-derivations" ;
|
|
1056
|
+
skos:prefLabel "Where could the model be more concrete?"@en ;
|
|
1057
|
+
dcterms:description "The potential derivations no modeller has confirmed: relationships the derivation rules say may hold between elements the model relates only through others, each with the rule that proposed it. Each is the model's to state, or to make more precise, where a relationship drawn to a whole is meant for one of its parts."@en ;
|
|
1058
|
+
arch:answers "One row per potential derivation not confirmed: its source, type and target, and the rule that proposed it."@en ;
|
|
1059
|
+
arch:doesNotProve "That the relationship holds: a potential derivation may hold, depending on the model. Nothing is listed unless the model's derivations are loaded with it."@en ;
|
|
1060
|
+
arch:questionStage arch:QualityStage ;
|
|
1061
|
+
arch:questionAddressesConcern amvp:Completeness ;
|
|
1062
|
+
arch:resultIsFinding false ;
|
|
1063
|
+
arch:requiresDataset arch:ModelAndMetamodelDataset ;
|
|
1064
|
+
arch:requiresMetamodel <https://meta.linked.archi/archimate3/onto#> ;
|
|
1065
|
+
arch:resultKey "potentialDerivations" ;
|
|
1066
|
+
arch:defaultLimit 500 ;
|
|
1067
|
+
sh:prefixes <https://meta.linked.archi/archimate3/questions#> ;
|
|
1068
|
+
sh:select """
|
|
1069
|
+
SELECT DISTINCT ?derivation ?source ?sourceLabel ?relationshipType ?target ?targetLabel ?rule
|
|
1070
|
+
WHERE {
|
|
1071
|
+
# A potential derivation not confirmed: no qualified predicate leads to it.
|
|
1072
|
+
?derivation amderiv:derivationCertainty amderiv:Potential ;
|
|
1073
|
+
arch:source ?source ;
|
|
1074
|
+
arch:target ?target ;
|
|
1075
|
+
rdf:type ?relationshipType .
|
|
1076
|
+
FILTER NOT EXISTS { ?source ?leads ?derivation }
|
|
1077
|
+
FILTER(?relationshipType NOT IN (arch:ModelConcept, arch:Element, arch:QualifiedRelationship))
|
|
1078
|
+
MINUS { SELECT DISTINCT ?relationshipType WHERE { { ?relationshipType arch:isAbstractClass true }
|
|
1079
|
+
UNION { GRAPH ?abstractClassGraph { ?relationshipType arch:isAbstractClass true } } } }
|
|
1080
|
+
OPTIONAL { ?derivation prov:wasGeneratedBy/prov:qualifiedAssociation/prov:hadPlan ?rule }
|
|
1081
|
+
OPTIONAL { ?source skos:prefLabel ?sourceLabel . FILTER(lang(?sourceLabel) = "" || langMatches(lang(?sourceLabel), "en")) }
|
|
1082
|
+
OPTIONAL { ?target skos:prefLabel ?targetLabel . FILTER(lang(?targetLabel) = "" || langMatches(lang(?targetLabel), "en")) }
|
|
1083
|
+
}
|
|
1084
|
+
ORDER BY ?sourceLabel ?targetLabel ?relationshipType
|
|
1085
|
+
""" ;
|
|
1086
|
+
.
|
|
1087
|
+
|
|
1088
|
+
:potential-derivation-premises
|
|
1089
|
+
a arch:ModelQuestion, sh:SPARQLSelectExecutable ;
|
|
1090
|
+
dcterms:identifier "notation/archimate/potential-derivation-premises" ;
|
|
1091
|
+
skos:prefLabel "Which relationships give rise to the most potential derivations?"@en ;
|
|
1092
|
+
dcterms:description "The relationships the model states that the most potential derivations not confirmed rest on. A relationship drawn to a whole where one of its parts is meant gives rise to a proposal for each part; stating the part's own relationship makes the model more concrete."@en ;
|
|
1093
|
+
arch:answers "One row per relationship the model states that a potential derivation rests on, with how many rest on it, the most first."@en ;
|
|
1094
|
+
arch:doesNotProve "That the relationship is wrong: one drawn to a whole may be meant so. Nothing is listed unless the model's derivations are loaded with it."@en ;
|
|
1095
|
+
arch:questionStage arch:QualityStage ;
|
|
1096
|
+
arch:questionAddressesConcern amvp:Completeness ;
|
|
1097
|
+
arch:resultIsFinding false ;
|
|
1098
|
+
arch:requiresDataset arch:ModelAndMetamodelDataset ;
|
|
1099
|
+
arch:requiresMetamodel <https://meta.linked.archi/archimate3/onto#> ;
|
|
1100
|
+
arch:resultKey "potentialDerivationPremises" ;
|
|
1101
|
+
arch:defaultLimit 200 ;
|
|
1102
|
+
sh:prefixes <https://meta.linked.archi/archimate3/questions#> ;
|
|
1103
|
+
sh:select """
|
|
1104
|
+
SELECT ?relationship ?source ?sourceLabel ?relationshipType ?target ?targetLabel (COUNT(DISTINCT ?derivation) AS ?derivations)
|
|
1105
|
+
WHERE {
|
|
1106
|
+
# Each potential derivation not confirmed, and what it was derived from that the model states: not a
|
|
1107
|
+
# derivation itself.
|
|
1108
|
+
?derivation amderiv:derivationCertainty amderiv:Potential ;
|
|
1109
|
+
arch:source ?proposedSource ;
|
|
1110
|
+
prov:wasDerivedFrom ?relationship .
|
|
1111
|
+
FILTER NOT EXISTS { ?proposedSource ?leads ?derivation }
|
|
1112
|
+
FILTER NOT EXISTS { ?relationship amderiv:derivationCertainty ?anyCertainty }
|
|
1113
|
+
?relationship arch:source ?source ;
|
|
1114
|
+
arch:target ?target ;
|
|
1115
|
+
rdf:type ?relationshipType .
|
|
1116
|
+
FILTER(?relationshipType NOT IN (arch:ModelConcept, arch:Element, arch:QualifiedRelationship))
|
|
1117
|
+
MINUS { SELECT DISTINCT ?relationshipType WHERE { { ?relationshipType arch:isAbstractClass true }
|
|
1118
|
+
UNION { GRAPH ?abstractClassGraph { ?relationshipType arch:isAbstractClass true } } } }
|
|
1119
|
+
OPTIONAL { ?source skos:prefLabel ?sourceLabel . FILTER(lang(?sourceLabel) = "" || langMatches(lang(?sourceLabel), "en")) }
|
|
1120
|
+
OPTIONAL { ?target skos:prefLabel ?targetLabel . FILTER(lang(?targetLabel) = "" || langMatches(lang(?targetLabel), "en")) }
|
|
1121
|
+
}
|
|
1122
|
+
GROUP BY ?relationship ?source ?sourceLabel ?relationshipType ?target ?targetLabel
|
|
1123
|
+
ORDER BY DESC(?derivations) ?sourceLabel ?targetLabel
|
|
1124
|
+
""" ;
|
|
1125
|
+
.
|