Skip to content

Design Decisions — The Rationale Behind Every Modelling Choice

When you build an ontology for enterprise architecture, dozens of choices have long-term consequences: OWL or JSON Schema? Validation in OWL axioms or SHACL? Punning or clean separation? Get them wrong and you inherit inference bugs, brittle tooling, and queries that silently return wrong answers.

This document captures the key modelling decisions behind Linked.Archi as numbered decision records (DD-N) — each with the decision, the rationale, and the alternatives rejected. Use it to understand why the ontologies look the way they do, or as a reference when you hit the same choices in your own metamodel.


DD-1: Metamodel as Ontology — Architecture Languages in RDF

Decision: Represent architecture metamodels using OWL ontologies and related semantic web resources rather than UML profiles, XML schemas, or custom formats.

Rationale: An architecture metamodel can be expressed as the abstract syntax of a domain-specific modelling language. A metamodel defines the language for expressing a model — it provides the types, relationships, and constraints for a modelling language within a particular domain. Representing it in RDF lets us assign each layer of the language to the formalism suited to it:

  • OWL — formal semantics for the core concepts and their logical relationships (the meta-language for defining them)
  • SKOS — controlled vocabularies and taxonomies for classifying and organizing architecture elements
  • SHACL — structural validation and governance constraints (closed-world)
  • SPARQL — standard query language for traversing the resulting graph

The result is a single integrated graph offering machine-interpretable precision, vocabulary-level interoperability, SPARQL queryability, and the ability to generate stakeholder-specific views from one source of truth.

Trade-off: Higher learning curve for teams unfamiliar with semantic web technologies. Mitigated by the minimal OWL profile (DD-2) and comprehensive documentation.


DD-2: Minimal OWL Profile with SHACL Constraints

Decision: Use only a small subset of OWL for vocabulary semantics, and delegate all closed-world constraints to SHACL.

Rationale: The most common modelling failure mode is treating OWL axioms as if they were closed-world constraints. OWL operates under the Open World Assumption — the absence of a statement does not mean it is false. SHACL provides the closed-world validation that governance requires.

What OWL handles:

  • Class and property declarations
  • Simple hierarchies (rdfs:subClassOf, rdfs:subPropertyOf)
  • Property typing (owl:ObjectProperty vs owl:DatatypeProperty)
  • Modularization (owl:imports)
  • Documentation metadata

Retained inference — a short, deliberate list where the entailment is wanted:

  • Subsumption (rdfs:subClassOf/rdfs:subPropertyOf) — relied upon by SHACL shapes (which target superclasses) and by query generalization
  • Transitivity on compositional properties (hasPart/partOf) — part-of chains resolve automatically
  • Inverse pairs (e.g. hasPart/partOf) — bidirectional traversal without asserting both triples
  • Functionality where a property is single-valued (e.g. prefVisNotation)
  • owl:sameAs — admitted only as a documented exception for confirmed cross-source identity merges (see DD-11, identity correspondence vs. merge); the default cross-source link is the non-inferential skos:exactMatch

Everything else — cardinality, disjointness, value restrictions, equivalence used as constraint — is expressed in SHACL, not OWL.

What SHACL handles:

  • Cardinalities (sh:minCount, sh:maxCount)
  • Required properties
  • Value constraints (sh:datatype, sh:class, sh:pattern, sh:in)
  • Closed shapes
  • Cross-field and conditional rules

Why not RDFS-only: Keeping minimal OWL buys property typing that tools understand (WIDOCO, WebVOWL), better documentation generation, and a smoother Protégé authoring workflow.

Clarification — Is this still an ontology, or just a schema?

Minimizing OWL raises a fair question: if constraints live in SHACL and only a thin layer of OWL remains, is the result still an ontology, or has it become a schema? The answer is that it remains an ontology, and the question conflates two separable ideas bundled under the word "ontology":

  1. Shared, explicit conceptualisation with formal identity. Concepts have globally-resolvable IRIs, explicit definitions, and a vocabulary other modules import and extend — so a bs:Component means the same thing wherever it appears. A schema (XSD, DDL, JSON Schema) defines the shape of valid documents within one system; it is local and closed, and its meaning does not travel. Linked.Archi has the former property throughout.
  2. A subsumption/classification structure with inference. The ontologies carry an is-a hierarchy over which subsumption is computed and relied upon (see the retained-inference list above). A schema has no notion of "every X is automatically a Y." Linked.Archi keeps this.
  3. Rich logical (DL) axiomatisation — restrictions, disjointness, cardinality-as-entailment, property chains. This is what the minimal profile deliberately declines.

Linked.Archi builds ontologies in senses (1) and (2) while declining most of (3). That is not "an ontology degraded into a schema" — it is a lightly-axiomatized ontology that relocates constraints rather than removing them. A schema's defining job is to constrain structure; those constraints are fully present here, expressed in SHACL — the layer designed for the closed-world validation that governance requires and that OWL's open-world axioms handle badly. (SHACL exists precisely because OWL was being misused as a schema language.)

So the division of labour is: OWL/RDFS carries meaning, identity, and classification — what ontologies are uniquely good at; SHACL carries constraint and validation — what schemas are good at. Calling the result "just a schema" mistakes the validation layer for the whole artifact. (DD-5 makes the complementary point structurally: RDFS+OWL sits at the M3 layer — the layer that defines ontologies — so the substrate is ontological by construction.)

The concession. Declining DL axiomatization does give up automated consistency checking and rich DL inference (necessary-and-sufficient classification, disjointness-based contradiction detection, property-chain entailment). The inference Linked.Archi relies on is the bounded list above — subsumption plus a few property characteristics — not full DL reasoning. Inference claims elsewhere in the documentation should stay within that boundary.


DD-3: ISO 42010 Alignment for Core Concepts

Decision: Align core ontology concepts with ISO/IEC/IEEE 42010 (Architecture Description).

Rationale: ISO 42010 provides a well-established conceptual framework for architecture description that is framework-agnostic. By aligning with it:

  • The core ontology is not biased toward any specific EA framework
  • Concepts like System, Architecture, Model, Viewpoint, View, Stakeholder, and Concern have precise, standardized meanings
  • The distinction between Architecture (abstract, inherent to a system) and Architecture Description (work product) is preserved
  • Multiple frameworks (TOGAF, DoDAF, Zachman, ADMIT) can be mapped to the same foundation

Core aligns with ISO 42010 as its conceptual basis and deliberately does not ground in a foundational (upper) ontology — see DD-4 for that decision and the alternatives considered.


DD-4: No Foundational Ontology — Lightweight Domain Core Instead

Decision: Do not ground arch:core in a foundational (upper) ontology such as BFO, DOLCE, UFO, or GIST. Instead, arch:core is a lightweight domain core ontology for enterprise architecture, aligned with ISO/IEC/IEEE 42010 (DD-3) and neutral across EA frameworks. Core plays the upper-ontology role, but concretely it is a domain reference ontology (or "core ontology" / "foundational layer") within the Linked.Archi hierarchy (everything imports it; nothing domain-specific lives in it) without being a foundational ontology in the BFO/DOLCE sense.

Rationale:

  • Consistency with the minimal-OWL profile (DD-2). Foundational ontologies — especially BFO and DOLCE — are heavily axiomatized in OWL-DL (disjointness, restrictions, the constraint-style axioms DD-2 deliberately declines). Importing one and then running a minimal-OWL/SHACL profile is self-defeating: either we pull in axioms we have chosen not to use, or we import the ontology and ignore its axioms, which forfeits the rigor that was the point of grounding.
  • Accessibility. A core premise of the project is lowering barriers to adoption. Requiring foundational-ontology literacy to extend a module contradicts that goal.
  • Open- vs closed-world. Foundational ontologies assume open-world DL reasoning; Linked.Archi validates closed-world via SHACL (DD-2). Grounding in a DL-heavy foundation reintroduces the OWA mismatch the profile exists to avoid.
  • EA-framework neutrality, not category neutrality. Core needs to be neutral across ArchiMate, TOGAF, Zachman, etc. — a domain neutrality. It does not need to be neutral across all categories of existence (endurant/perdurant, object/process), which is what a foundational ontology provides and what EA modelling does not require.
  • Practitioner expectation. No ArchiMate or TOGAF practitioner models against BFO. Grounding there optimizes for the academic-ontology audience at the expense of the practitioner audience the project targets.

Alternatives considered:

Foundational ontology Why not adopted as the grounding
BFO Heavily axiomatized OWL-DL; realist endurant/occurrent commitments; conflicts directly with the minimal-OWL profile and the accessibility goal.
DOLCE Rich descriptive/cognitive axiomatization; same DL-weight and learning-curve objections as BFO.
UFO The most relevant — UFO has been used to analyze and repair ArchiMate's semantic ambiguities (see companion note). Its analyses inform our concept definitions, but importing UFO axiomatically reintroduces DL weight and OWA reasoning we have declined.
GIST The closest genuine alternative — Semantic Arts' minimalist upper ontology for the enterprise (~100 classes/properties), using everyday business concepts rather than philosophical primitives. It is minimalist in concept count, but it is still DL-axiomatized: it uses fine-grained disjointness at the top level so a reasoner detects inconsistency. Two reasons we did not build on it: (a) that disjointness-based DL reasoning is exactly the constraint-style OWL the minimal profile declines (DD-2); (b) grounding EA notations in GIST's generic primitives pulls toward GIST's reduce-to-essentials philosophy, which is in tension with our notation-fidelity goal (we preserve each notation's specific standardized types, not collapse them). ISO 42010 was preferred as the anchor because it is an architecture-description standard at our actual layer (DD-3). GIST's minimalism nonetheless validates the lightweight approach core takes.

Consequences:

  • We forgo principled interoperability with other foundationally-grounded ontologies (e.g. BFO-based biomedical ontologies) and the automated consistency-checking a DL-rich foundation enables. This is accepted: those benefits serve cross-domain academic interoperability, not the EA-practitioner use case.
  • Core's category choices are justified by ISO 42010 and EA practice rather than by a foundational ontology. Where finer ontological distinctions matter, UFO-based analyses inform definitions without being imported (see companion note).
  • "Upper ontology" is reserved for its technical meaning; core is described as the foundational layer / domain core, never as "an upper ontology," to avoid the category claim it does not make.

References:


DD-5: MOF↔OWL Equivalence — Why RDF Can Represent Any MOF-Based Modelling Language

Decision: Linked.Archi treats RDFS+OWL as the M3 (meta-metamodel) layer, functionally equivalent to OMG's Meta Object Facility (MOF). Any MOF-based modelling language (UML, BPMN, SysML, etc.) can be faithfully represented as an OWL ontology. The OMG Ontology Definition Metamodel (ODM, formal/2014-09-02) provides the formal mapping rules.

Context — The Four-Layer Architecture:

Both the OMG and W3C stacks use a four-layer metamodel architecture:

Layer   OMG Stack                    W3C Semantic Web Stack
─────   ─────────                    ──────────────────────
M3      MOF                          RDFS + OWL
        (defines metamodels)         (defines ontologies)

M2      UML, BPMN, SysML, OWL        OWL ontology (e.g., uml-onto.ttl)
        (all defined using MOF)      (defined using OWL classes/properties)

M1      UML model instances          RDF individuals
        (conform to M2)             (typed with M2 classes)

M0      The real world               The real world

In Linked.Archi, RDFS/OWL is the foundational layer. Modelling languages like UML, BPMN, and ArchiMate are expressed as OWL ontologies (M2), and model instances are RDF individuals typed with those classes (M1). The OMG four-layer framing is used for didactic continuity with OMG-trained colleagues — structurally, the W3C stack is flatter because RDFS is reflective (rdfs:Class rdf:type rdfs:Class) and does not require a separate meta-meta tier.

The ODM Mapping Rules:

The OMG Ontology Definition Metamodel (ODM) defines the formal correspondence between MOF and OWL constructs:

MOF Construct (M3) OWL/RDFS Construct (M3) ODM Reference Notes
UML::Package owl:Ontology Annex D.3.2 Namespace and modularization
UML::Class owl:Class Annex D.3.3 Direct correspondence
UML::Generalization rdfs:subClassOf Annex D.3.3 Direct correspondence
UML::Property (attribute) owl:DatatypeProperty Annex D.3.4 Structural features of classifiers
UML::Property (reference) owl:ObjectProperty Annex D.3.4 Navigation between classifiers
UML::Association (binary) owl:ObjectProperty Annex D.3.5 Binary associations map to property pairs
UML::AssociationClass owl:Class + functional properties Annex D.3.6 N-ary associations become classes
UML::Multiplicity owl:minCardinality / owl:maxCardinality Annex D.3.7 Cardinality restrictions
UML::Enumeration owl:oneOf or SKOS Annex D.3.9 SKOS as primary (DD-7), plus owl:oneOf where the source spec closes the value set (UML-DD-12)

Where MOF and OWL/SHACL Diverge:

Concern MOF OWL/RDFS Linked.Archi Resolution
World assumption Closed — what's not stated is false Open — absence of a statement is not denial SHACL provides closed-world validation (DD-2)
Associations First-class binary constructs with named ends, navigability, multiplicity Properties — simpler, no named ends Three-declaration qualified relationship pattern (DD-10)
Constraints Built-in (multiplicity, ordered, unique) No built-in constraints SHACL shapes (DD-2)
Reflexivity MOF is defined in terms of itself RDFS is reflexive; OWL avoids it for decidability Not relevant for Linked.Archi's minimal OWL profile
Serialization XMI (XML-based) RDF (Turtle, JSON-LD, N-Triples) Turtle as primary format

_ In Linked.Archi we use SHACL shapes for constraints (DD-2) _

Why This Matters for Linked.Archi:

This equivalence is the theoretical foundation for the entire project. Because OWL sits at the same M3 layer as MOF:

  1. Any MOF-based modelling language (UML, BPMN, SysML, CWM) can be represented as an OWL ontology
  2. Models conforming to those languages become RDF individuals — queryable, linkable, validatable
  3. Multiple modelling languages can coexist in the same knowledge graph because they share the same M3 substrate
  4. Cross-language queries are possible because all models are RDF triples regardless of their source language

This is not a theoretical claim — it is demonstrated by the BPMN ontology (derived from OMG XMI/CMOF), the UML ontology (following ODM mapping rules), and the ArchiMate ontology (mapped from the Open Group specification).

References:


DD-6: No Punning — OWL Classes and SKOS Taxonomies Stay Separate

Decision: Do not use OWL 2 punning (same IRI as both class and individual, or class and property). Use OWL class hierarchies for formal semantics and SKOS concept schemes for lightweight classification, linked via annotation properties.

Rationale: Punning is tempting in enterprise architecture because ArchiMate involves element types (meta-level) and model elements (instance-level), plus cross-cutting classifications (active/passive, internal/external, layers). Reusing the same IRI for multiple roles seems convenient but creates predictable problems:

  • Under OWL 2 Direct Semantics, punned views are interpreted independently — no logical bridge exists between them. Modellers expect cross-level entailments that do not happen.
  • Mainstream tools (Protégé, visualization tools, SPARQL endpoints) handle punning inconsistently — duplicate UI entries, broken annotation display, ambiguous query results.
  • Integration across heterogeneous stacks (RDFS inferencing, SHACL validation, rule engines, partial OWL RL) amplifies semantic mismatches.
  • SPARQL under OWL Direct Semantics entailment requires variable typing that makes meta-queries awkward or illegal.

The Linked.Archi approach instead:

  • OWL class hierarchies for formal semantics that reasoners understand (e.g., arch:ActiveStructureElement rdfs:subClassOf arch:Element — so instances inherit the classification)
  • SKOS concept schemes for lightweight faceted classification (by layer, aspect, exposure) linked to OWL classes via owl:AnnotationProperty — queryable in SPARQL, ignored by DL reasoners
  • No same-IRI reuse across entity categories — separate namespaces/patterns for classes, properties, individuals, and taxonomy concepts

This follows the OWL 2 specification's own guidance: use annotations when information should not contribute to logical consequences.

Clarification — SKOS annotation properties on OWL classes:

Using skos:prefLabel, skos:definition, skos:altLabel, and skos:scopeNote on owl:Class declarations is explicitly permitted and does NOT constitute punning. These properties are typed as owl:AnnotationProperty in the SKOS OWL vocabulary — they attach lexical metadata to any resource without altering its logical role. An owl:Class carrying a skos:prefLabel does not become a skos:Concept.

Clarification — Taxonomy skos:narrower pointing at OWL class IRIs:

The taxonomy files (e.g., archimate3.2-tax.ttl) use skos:narrower to reference OWL class IRIs directly as leaf nodes:

:BusinessLayer
    a             skos:Concept ;
    skos:narrower am:BusinessActor, am:BusinessRole, am:BusinessProcess . . . .

Under strict RDFS entailment, skos:narrower has rdfs:range skos:Concept — so this would infer am:BusinessActor rdf:type skos:Concept, creating implicit class-individual punning. Linked.Archi accepts this pragmatically because:

  1. No RDFS materialization is run on taxonomy files — the entailment regime is minimal OWL (DD-2), not RDFS closure. The rdf:type skos:Concept triple is never materialized.
  2. The purpose is tool consumption — modelling tools read skos:narrower to populate palettes and navigation trees. They do not run RDFS inference on the taxonomy.
  3. rdfs:seeAlso is the explicit bridge — each SKOS grouping concept (e.g., amtax:BusinessLayer) carries rdfs:seeAlso am:BusinessLayerElement to link the navigational concept to its OWL class counterpart without range-based entailment.
  4. OWL 2 Direct Semantics treats annotation assertions independently — even if a tool loads both files, the class and individual interpretations remain in separate semantic domains under Direct Semantics.

The leaf-level skos:narrower references are a pragmatic shortcut for tool interoperability. If strict RDFS-entailment environments are targeted, replace direct class references with dedicated skos:Concept individuals per leaf and link them to the OWL class via rdfs:seeAlso.

What remains prohibited:

  • Explicitly declaring am:BusinessProcess a owl:Class, skos:Concept — this is intentional punning
  • Using the same IRI as both owl:ObjectProperty and owl:Class
  • Relying on cross-category entailments that depend on punned interpretations being logically connected

References:


DD-7: SKOS for Taxonomies and Classification

Decision: Use SKOS concept schemes for classifying model concepts rather than OWL class hierarchies.

Rationale: SKOS provides:

  • Multiple independent classification dimensions (by layer, by aspect, by domain) without multiple inheritance issues
  • Navigation aids for modelling tools (palette generation, filtering)
  • Controlled vocabularies with preferred/alternative labels
  • Broader/narrower relationships that are explicitly navigational, not ontological

The ArchiMate taxonomy, for example, classifies elements both by layer (Business, Application, Technology) and by aspect (Active Structure, Passive Structure, Behaviour) — two orthogonal dimensions that would be awkward to model as OWL class hierarchies.

The closed enumeration pattern

Where a source specification fixes a value set and no adopter may extend it, the values get an OWL identity in addition to their SKOS one. The shape is always the same four parts:

  1. An owl:Class for the enumeration, closed with owl:oneOf over its values.
  2. Each value declared in the same file as owl:NamedIndividual, typed by that class, and also a skos:Concept.
  3. skos:broader and skos:inScheme on each value, pointing at a grouping concept in the module's taxonomy.
  4. The reciprocal skos:narrower from that grouping concept, which is what tools read to build pickers and palettes.
## in the ontology
mod:Ring a owl:Class ;
    owl:oneOf ( mod:Adopt mod:Trial mod:Assess mod:Hold mod:Retire ) .

mod:Adopt a owl:NamedIndividual, mod:Ring, skos:Concept ;
    skos:prefLabel "Adopt"@en ;
    skos:broader   modtax:Rings ;
    skos:inScheme  <https://meta.linked.archi/mod/tax#> .

## in the taxonomy
modtax:Rings a skos:Concept ;
    skos:narrower mod:Adopt, mod:Trial, mod:Assess, mod:Hold, mod:Retire .

SKOS remains the primary mechanism and carries the labels, definitions, notation symbols and navigation; the OWL layer carries typing and closure, so a property can name the enumeration as its range and SHACL can reject a member of the wrong set. Modules using the pattern: frameworks/TIME/ (dispositions, ratings, lifecycle states), frameworks/tech-radar/ (rings, quadrants, movements) and modelingLanguages/uml/ (the nine UML Enumerations — see UML-DD-12).

Value sets that adopters are expected to extend — environment types, domain tags, organisation-specific states — stay pure SKOS and belong in a reference-data document instead, where they can be replaced without touching the metamodel.


DD-8: domainIncludes / rangeIncludes Instead of rdfs:domain / rdfs:range

Decision: Use arch:domainIncludes and arch:rangeIncludes (modelled after schema:domainIncludes) for relationship guidance, reserving rdfs:domain/rdfs:range for cases where inference is genuinely desired.

Rationale: In RDFS/OWL, rdfs:domain and rdfs:range are inference axioms, not constraints. Stating rdfs:domain :Node on a property means "anything that uses this property is inferred to be a :Node" — which is often not the intended behaviour.

arch:domainIncludes / arch:rangeIncludes serve as guidance for modelling tools (e.g., relationship wizards that propose valid connections) without triggering unintended inference. Actual constraints are implemented in SHACL.

Relationship to SHACL: SHACL does not read rdfs:domain, rdfs:range, arch:domainIncludes, or arch:rangeIncludes — it defines its own constraints independently via sh:class, sh:targetClass, and sh:node. However, the interaction between entailment and SHACL is real and must be understood:

Mechanism Layer Effect
rdfs:domain / rdfs:range RDFS inference Infers type — "anything using this property IS a X" (open world)
arch:domainIncludes / arch:rangeIncludes Annotation Suggests valid types — for tooling hints, documentation, relationship wizards
sh:class, sh:targetClass, sh:node SHACL validation Validates — "if this property is used, the value MUST be a X" (closed world)

SHACL shapes declare their own sh:class and sh:targetClass directly — they are the enforcement layer. The arch:domainIncludes/arch:rangeIncludes annotations are the documentation and tooling layer. Neither depends on the other at runtime.

The entailment interaction: While SHACL itself does not read domain/range declarations, SHACL operates on whatever graph it receives — including materialized inferences. If RDFS entailment runs before SHACL validation (as it does in engines like GraphDB or Stardog with reasoning enabled), the materialized triples affect which shapes fire:

  • rdfs:subClassOf transitivity means a shape targeting am:ActiveStructureElement fires on am:BusinessActor instances — this is desired behaviour and is the reason Linked.Archi uses class hierarchies for aspect/layer classification (see AM-DD-1).
  • rdfs:domain/rdfs:range inference would cause undesired behaviour: any resource using a property with rdfs:domain :Node would be inferred as :Node, causing shapes targeting :Node to fire on unexpected instances.

This is the key distinction: rdfs:subClassOf entailment is intentional and relied upon by SHACL shapes (they use rdf:type/rdfs:subClassOf* property paths). Domain/range entailment is unintentional and would pollute the type graph. By using annotation properties (arch:domainIncludes/arch:rangeIncludes) instead of rdfs:domain/rdfs:range, the type graph remains clean — only explicit rdf:type assertions and rdfs:subClassOf inheritance determine which shapes apply to which instances.

Why core's own, not schema:domainIncludes itself: core links its terms to schema.org's with skos:closeMatch — close, not exact — and keeps its own for two reasons:

  • They are used where schema.org's are not meant. schema:domainIncludes relates a property to the classes it is used on. Core's also scopes an order of proposal (a skos:OrderedCollection a metamodel names with arch:relationshipProposalOrder) to the sources and targets it applies to — ArchiMate's taxonomies scope theirs with it — which is not a property.
  • Their OWL type is core's to set. Core declares both owl:AnnotationProperty, so OWL tools — reasoners, Protégé, the generated documentation — take them as annotations that never take part in reasoning. schema.org publishes its terms as plain rdf:Property; using them in an OWL ontology would mean re-declaring another vocabulary's terms.

On a property, the two say the same thing: a consumer that knows schema.org can read one for the other through the skos:closeMatch.

Where they go: on properties only — a relationship's typical ends on its predicate (am4:serves), never on its qualified class (am4:Serving), which reaches them through arch:unqualifiedForm. Stating them on both, as several languages did until 2026-11, said everything twice.

For a deeper treatment with examples, trade-off analysis, and practical implications for SPARQL and validation pipelines, see the Domain & Range Guide.


DD-9: ModelConcept as Base Class (Not Direct Use of owl:Class)

Decision: Introduce arch:ModelConcept as the base class for all architecture model concepts rather than using owl:Class or rdfs:Resource directly.

Rationale: Architecture model concepts need to:

  • Be presented in different contexts with specific visual notations
  • Be understood correctly by stakeholders (not just machines)
  • Be available in a modelling palette for architects to use
  • Have restrictions defined by the architecture framework
  • Carry governance metadata (ownership, master data source)

These requirements are specific to architecture modelling and would be lost if using generic RDF/OWL constructs directly. ModelConcept provides the semantic anchor for all of this.


DD-10: Clean Separation of Predicates and Relationship Resources

Decision: Relationship types are standard owl:ObjectProperty declarations. Relationship occurrences that need identity, metadata, or lifecycle management are instances of arch:QualifiedRelationship subclasses. The two are bridged by arch:unqualifiedForm (schema-level mapping) and rdf:reifies (RDF 1.2 instance-level bridge).

Rationale: Architecture models need two views of every relationship:

  1. A direct predicate for graph traversal — ex:AppSvc1 am:serves ex:BizProc1 — enabling SPARQL property paths, reasoning, impact analysis, and simple queries
  2. A first-class resource for architecture management — a QualifiedRelationship instance carrying provenance, confidence, lifecycle state, view context, approval status, and supporting multiplicity (multiple distinct edges between the same pair)

Earlier iterations of the core ontology used a metaclass pattern (arch:Relationship rdfs:subClassOf rdf:Property) and OWL 2 punning to make relationship types serve both roles simultaneously. The current design moves away from this: relationship types are plain owl:ObjectProperty, and the qualified form is a separate class hierarchy under arch:QualifiedRelationship.

Three complementary representations are emitted for every relationship:

  1. Direct triple — source vocab:serves target — for SPARQL traversal
  2. Qualified predicate — source vocab:qualifiedServing relationshipNode — for navigation to the full resource
  3. Qualified relationship resource — carries all metadata: labels, provenance, lifecycle, etc.
  4. rdf:reifies — bridges the direct triple to the resource (RDF 1.2)

This separation is cleaner because:

  • Relationship types as standard owl:ObjectProperty work consistently across all reasoners and tools — no punning edge cases
  • Qualified relationship resources are genuine architectural objects, not reification workarounds — they can be the source or target of other relationships (higher-order modelling)
  • The schema mapping (arch:unqualifiedForm) is explicit and validatable via SHACL
  • RDF 1.2 rdf:reifies provides the standardized bridge, replacing the older rdf:Statement-based approach
  • Multiple distinct reifiers for the same proposition are supported — essential when the same logical relation appears in different contexts (current vs target state, observed vs inferred)

The pattern adopts and extends the PROV-O qualified relation pattern:

PROV-O Linked.Archi Role
prov:EntityInfluence arch:QualifiedRelationship Base class for qualified nodes
prov:influencer / prov:entity arch:source / arch:target Source and target elements
prov:unqualifiedForm arch:unqualifiedForm Schema-level mapping
prov:qualifiedInfluence Type-specific qualified property Navigates source → qualified node
(no equivalent) rdf:reifies (RDF 1.2) Bridges direct triple to resource

Anti-patterns to avoid:

  • Do not treat relationship occurrences as predicates — relationship type is a predicate, relationship occurrence is a resource
  • Do not use arch:unqualifiedForm on instance data — it is a schema-level mapping
  • Always emit the unqualified triple alongside the qualified resource — consumers doing analytics need the direct predicate

References:


DD-11: Identity Mechanism — Correspondence vs. Merge

Decision: Use skos:exactMatch as the default mechanism for cross-source correspondence. Reserve owl:sameAs for a documented subset of cases where the two IRIs are confirmed to be the same individual and a full property merge is wanted. Record which mechanism was used, and why, alongside the link itself — see DD-27 for the reconciliation graph and the shape of a recorded link.

Context: When the same real-world system appears in two sources (e.g. a Backstage bs:Component and an ArchiMate am4:ApplicationComponent), the graph needs a way to relate the two nodes so cross-source queries can span them. Two RDF mechanisms are available, and they make different claims.

Rationale:

  • skos:exactMatch asserts interchangeability for retrieval/mapping without asserting logical identity. It carries no OWL entailment, so the everyday query path stays reasoner-free (consistent with the minimal-OWL profile, DD-2); the linked nodes keep their native types; and the link is revocable without touching source data.
  • owl:sameAs asserts the nodes are one individual and triggers a complete, bidirectional property merge under reasoning. It is powerful where genuine identity holds, but unforgiving — a wrong sameAs silently corrupts all downstream queries — and it pulls OWL entailment into the common path.
  • Decision rule (substitutability): if a reasoner could safely replace one IRI with the other everywhere, forever, the nodes are one entity → owl:sameAs. Otherwise → skos:exactMatch. Most EA cross-source links fail the substitutability test, because notations model the same system at different granularities and concerns, so correspondence is the right default and merge the exception.

Consequences:

  • Cross-source queries traverse skos:exactMatch explicitly (one extra hop); they do not get an automatic property pool. This is accepted as the cost of keeping the link inspectable and inference-free.
  • The two mechanisms must not be mixed silently: a query written for one will miss links made with the other. Hence one default per deployment (skos:exactMatch), with owl:sameAs confined to a recorded subset.
  • Identity decisions are authored and reviewed, never inferred by converters (see the reconciliation method in Bridging Architecture Silos).

DD-12: Versioned Namespace IRIs

Decision: Include version numbers in ontology namespace IRIs (e.g., https://meta.linked.archi/core#).

Rationale: Enables:

  • Multiple versions to coexist in the same triplestore
  • Explicit owl:imports of specific versions
  • Clear provenance tracking
  • Backward compatibility management via owl:priorVersion

DD-13: Metamodel as Manifest (Separate from Ontology)

Decision: A Metamodel (arch:Metamodel) is a separate resource from the ontology that defines model concepts. The metamodel is a manifest that aggregates all constituent resources — the model concepts ontology, SHACL shapes, derivation rules, viewpoints, taxonomy, deliverable templates, reference data, reference models, and presentation contexts — via composition properties.

Rationale: A modelling language is more than just an ontology of elements and relationships. It includes validation rules (SHACL), derivation rules, viewpoint definitions, taxonomies (SKOS), deliverable templates, reference data, and presentation contexts. These are separate concerns maintained in separate files.

The metamodel manifest provides:

  • A single entry point for tools to discover all resources that make up a modelling language
  • Clean separation of concerns — each file has one job
  • Independent versioning and maintenance of each resource
  • The ability for simple metamodels to be just an ontology (the ontology can type itself as arch:Metamodel) while complex ones use a separate manifest

Pattern:

# The manifest (archimate3.2-metamodel.ttl)
ammm:ArchiMate3.2
    a                              arch:Metamodel ;
    arch:basedOnFramework          ammm:ArchiMateFramework ;
    arch:modelConcepts             <https://meta.linked.archi/archimate3/onto#> ;
    arch:formalRules               amsh:, amelsh:, ampsh: ;
    arch:derivationRules           amderiv: ;
    arch:architectureViewpoints    amvp: ;
    arch:conceptClassification     <https://meta.linked.archi/archimate3/tax#> ;
    arch:viewpointLibrary          amvp:ViewpointCatalog ;
    arch:hasDeliverableTemplate    ammm:ArchitectureDefinitionDocument ;
    arch:referenceData             ammm:ArchiMateReferenceData ;
    arch:referenceModels           ammm:ArchiMateReferenceModels ;
    arch:presentationContextScheme ammm:ArchiMatePresentationContexts .

# A model conforms to the metamodel
ex:MyModel
    a                             arch:Model ;
    arch:modelConformsToMetamodel ammm:ArchiMate3.2 ;
    arch:deliverableTemplateUsed  ammm:ArchitectureDefinitionDocument .

For simple metamodels (e.g., Backstage, C4), the ontology can still type itself as arch:Metamodel directly — no separate manifest needed. The manifest pattern is for when the metamodel aggregates multiple files.

References:

  • ArchiMate 3.2 metamodel: modelingLanguages/archimate/3.2/archimate3.2-metamodel.ttl (reference implementation)

DD-14: Default Namespace Prefix and Ontology Header Convention

Decision: Every Linked.Archi ontology file declares @prefix : pointing to its own namespace IRI, and includes a standard header block with vann:preferredNamespaceUri, vann:preferredNamespacePrefix, owl:versionIRI, and owl:imports.

Pattern:

@prefix :        <https://meta.linked.archi/{name}#> .
@prefix arch:    <https://meta.linked.archi/core#> .
@prefix owl:     <http://www.w3.org/2002/07/owl#> .
@prefix vann:    <http://purl.org/vocab/vann/> .
@prefix dc:      <http://purl.org/dc/elements/1.1/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix cc:      <http://creativecommons.org/ns#> .
@prefix skos:    <http://www.w3.org/2004/02/skos/core#> .

<https://meta.linked.archi/{name}#>
    a                             owl:Ontology ;
    owl:imports                   <https://meta.linked.archi/core#> ;
    cc:license                    "http://creativecommons.org/licenses/by/4.0/" ;
    vann:preferredNamespaceUri    "https://meta.linked.archi/{name}#" ;
    vann:preferredNamespacePrefix "{prefix}" ;
    dc:title                      "..."@en ;
    dc:description                "..."@en ;
    dcterms:created               "YYYY-MM-DD"^^xsd:date ;
    dcterms:modified              "YYYY-MM-DD"^^xsd:date ;
    dc:publisher                  "Linked.Archi"@en, <https://linked.archi> ;
    owl:versionIRI                <https://meta.linked.archi/{name}/{version}#> ;
    owl:versionInfo               "{version}"@en ;
.

Rationale:

  1. @prefix : — The default namespace prefix enables concise element declarations (:BusinessActor instead of am:BusinessActor within the file). It also serves as the canonical signal for tooling (WIDOCO, the build script, Protégé) to identify the ontology's own namespace.

  2. vann:preferredNamespaceUri + vann:preferredNamespacePrefix — Machine-readable namespace metadata. Used by documentation generators, prefix registries, and the build pipeline as a fallback when @prefix : is not present.

  3. owl:imports — Explicit dependency declaration. Every modelling language and extension imports arch:core. Tools can resolve the full dependency chain.

  4. Standard metadata — dc:title, dc:description, dcterms:created, dcterms:modified, cc:license, dc:publisher, owl:versionIRI, owl:versionInfo ensure every ontology is self-describing and discoverable.

Consistency rule: All ontology files (*-onto.ttl) in core/, extensions/, modelingLanguages/, and frameworks/ must follow this convention. Files that don't (e.g., BPMN sub-ontologies, legacy TOGAF/Zachman files) should be updated to conform.

Tooling dependency: The documentation generator extracts the ontology name from @prefix : to determine the output directory. Ontologies without this declaration are skipped. The fallback reads vann:preferredNamespaceUri.


DD-15: Source-Scoped Graphs for Converted Models

Decision: A converted model is emitted as a set of named graphs under a deterministic template. The semantic content is partitioned by input, the curated model has a graph of its own, geometry is separate, and provenance describes each of the others.

{base}{notation}/{modelId}/graph/semantic/{repo}/{path}   facts lifted from one input
{base}{notation}/{modelId}/graph/semantic                 the same, unpartitioned: a single-input model
{base}{notation}/{modelId}/graph/model                    the curated model
{base}{notation}/{modelId}/graph/views                    geometry
{base}{notation}/{modelId}/graph/provenance               PROV-O about all of the above

The model-level semantic view is the union of the per-source graphs and graph/model. A store configured with a union default graph gets it without further work; graph/semantic/* is the pattern to union. Reach a per-source graph through ?g prov:wasDerivedFrom ?source rather than by composing its name — the depth under graph/ is not fixed.

Rationale: The partition makes the graph the unit of provenance, which is what two questions require. "Give me every triple this input produced" is a single GRAPH clause. "Which source asserted this fact" is unanswerable at resource level as soon as two inputs contribute to one resource: the resource then carries two prov:wasDerivedFrom values and nothing pairs a value with the statement it explains. Two descriptors declaring one component produce bs:lifecycleState bs:Production and bs:Experimental on that component, both sources named and the pairing lost.

The curated model is separated for the same reason in reverse: the arch:Model resource, its metamodel conformance, its folder tree and the ordering nodes come from no input at all. They are the converter's own construction, so they belong in their own graph with their own provenance, whose input is the diagram index.

Membership is asserted, not implied by the graph. Every arch:ModelConcept carries arch:partOfModel to its model, in the same graph as the concept. Without it, partitioning the semantic content would destroy model membership, and membership would be unavailable in TURTLE, RDFXML and NTRIPLES, which are supported outputs. Membership does not run through the folder chain: a folder is a presentation device, nearer a view than the model's semantics, and routing membership through it would make membership depend on folder policy.

Where the semantic/views line falls. Around geometry. The arch:View resource is an arch:ModelConcept and sits in the semantic content; views holds only arch-vis: nodes, links, points and bounds. That is what makes geometry droppable on its own — the larger part of an ArchiMate model by triple count — without losing the diagrams or their names.

Run identifiers do not appear in graph IRIs. A graph IRI names what the graph holds, so a re-conversion replaces it in place. Revision history belongs to version control: the repository holds every prior state, git log over the output directory is the lineage, and a commit-derived run timestamp makes an unchanged input at an unchanged commit produce a byte-identical graph, so the diff is reviewable. It also keeps the union current: with run-scoped graph IRIs and nothing dropped, a union returns every historical value of every property.

A graph is named after the input file, not after the file at a commit. The prov:Entity describing the input keeps its revision, because it identifies bytes at a revision and accumulating one node per revision is what gives an aggregate its history. A graph is not that — it holds the current facts from a file, and a later run replaces it. Keying the graph on the commit as well would make a re-collection that moved one file's commit write a second graph beside the first, and a union would then return that file's facts once per revision it had ever been read at.

Pattern:

<M/graph/semantic/group-order-service/catalog-info-yaml> {
    <M/element/component/default/order-service>
        a bs:Component, arch:Element, arch:ModelConcept ;
        arch:partOfModel  <M> ;
        skos:prefLabel    "Order Service"@en ;
        bs:lifecycleState bs:Production .
}

<M/graph/model> {
    <M> a arch:Model ;
        arch:modelConformsToMetamodel bsmm:BackstageCatalog ;
        dcterms:title "Service Catalogue" .
    <M/folder/Elements> a arch:Folder ; dcterms:isPartOf <M/folder> ;
        schema:itemListElement [ a schema:ListItem ; schema:position 1 ;
                                 schema:item <M/element/component/default/order-service> ] .
}

<M/graph/provenance> {
    <M/graph/semantic/group-order-service/catalog-info-yaml>
        a prov:Bundle ;
        prov:wasGeneratedBy  <{base}provenance/run/9c2f1e04> ;
        prov:wasDerivedFrom  <{base}provenance/source/group-order-service/4f2c1ab8e0d1/catalog-info-yaml> ;
        prov:generatedAtTime "2026-08-29T09:03:11Z"^^xsd:dateTime ;
        dcterms:conformsTo   bsmm:BackstageCatalog .

    <M/graph/model> a prov:Bundle ;
        prov:wasGeneratedBy <{base}provenance/run/9c2f1e04> ;
        prov:wasDerivedFrom <{base}provenance/source/group-models/1a2b3c4d5e6f/catalog-index-yaml> .

    <{base}provenance/run/9c2f1e04> a prov:Activity ;
        prov:used <{base}provenance/source/group-order-service/4f2c1ab8e0d1/catalog-info-yaml> ,
                  <{base}provenance/source/group-models/1a2b3c4d5e6f/catalog-index-yaml> .
}

A graph is typed prov:Bundle and not also prov:Entity. PROV-O makes prov:Bundle a subclass of prov:Entity, so the second type adds nothing a reasoner needs, and it would place every graph in ?s a prov:Entity, which is the pattern that enumerates a run's inputs. The repository node is typed prov:Collection alone for the same reason.

Alternatives rejected:

Alternative Why not
One semantic graph per model A fact cannot be attributed to the input that produced it where two inputs contribute to one resource.
Per-source graphs that restate the facts, the semantic graph staying per model Works, at roughly a 50% increase in quads. The facts then exist twice, which the partition avoids entirely. Held as the fallback where per-concept graph routing is impractical in a converter.
RDF 1.2 reification of each fact Exact and non-duplicating, at roughly a 94% increase in quads, and those triples survive flattening so Turtle grows too. Requires SPARQL 1.2 to query. Revisit when store support is ordinary.
Membership via dcterms:isPartOf through the folder chain One triple would complete it, but it makes model membership depend on folder policy, and folders are presentation. arch:partOfModel exists and says exactly this.
Run identifiers in graph IRIs Accumulates every revision in the union, so "the current value" stops being answerable without a curated list of active graphs. Version control already holds history.
One prov:Bundle per run wrapping everything A bundle separates provenance about provenance; it does not give per-input attribution, which is the requirement. Bundles are used here to describe each graph, which is the other thing they are for.

Consequences:

  • Graph count grows with input count: a model built from 200 files gets 200 semantic graphs. A model built from one input keeps the unpartitioned graph. That is not a flag but a consequence of the rule — partitioning one input would name a graph after the only file there is.
  • The graphs compose into a model only if the store unions them. That is configuration, and it is load-bearing rather than convenient.
  • Under Turtle, RDF/XML and N-Triples the per-fact attribution is lost. arch:partOfModel survives, so the model is still reassemblable, and the bundle descriptions survive too, so "what did this run write, and from what" remains answerable. What goes is the ability to bind a graph variable from a triple.
  • provenance is reserved as a top-level segment under {base} (DD-29).
  • A lifter that is not one of the published converters is expected to emit arch:partOfModel on every model concept it produces. Nothing else recovers membership once the graph boundary is gone.

Where a graph cannot be attributed. Geometry is not partitioned: it comes from one input, and no consumer has asked to attribute it. Where a converter receives geometry by file name alone, with no path to locate it in a repository, its views graph is left undescribed rather than described as derived from the wrong input.

Open questions. Three points remain under review, none of which changes the layout:

  • Whether prov:Bundle is the right class for a graph of domain facts. PROV-O defines a bundle as a named set of provenance descriptions, so the usage is common practice but a stretch; dcat:Dataset is the alternative. The choice is one type triple per graph and cheap to revise.
  • Whether a graph should carry a canonical hash over its contents (RDFC-1.0), so that "did this graph change" is answerable without a diff.
  • Whether a source entity should also be typed dcat:Distribution. It is a retrievable representation of a dataset, which is what the class means, and dcat:downloadURL would reconcile DD-16's preference for URLs with the path literal used here.

References:

  • DD-16 — schema-level provenance
  • DD-27 — layer discipline
  • DD-28 — derived triples
  • DD-29 — reserved segments
  • Converters — output conventions and downloads

DD-16: Source Attribution and Provenance — dcterms:source + prov:wasDerivedFrom

Scope: This record governs schema-level provenance — an ontology, class or taxonomy concept derived from a published specification or foundational text. Provenance for converted model instances is DD-15; provenance for rule-derived relationships is DD-28. See DD-27 for how the three layers coexist in one graph.

Decision: Use both dcterms:source and prov:wasDerivedFrom (or prov:hadPrimarySource) on ontology headers to declare derivation sources. They are complementary, not competing. Use dcterms:source consistently everywhere — never the legacy dc:source.

Rationale: The two properties solve overlapping but distinct problems:

  • dcterms:source is a flat, bibliographic statement: "this resource is derived from that one." It's what tooling ( Protégé, LOV, WIDOCO) picks up and displays as "sources." No commitment to a process model — no agents, activities, or timestamps. Use on both ontology headers AND individual OWL classes (to link each entity to its spec section).

  • prov:wasDerivedFrom is part of PROV-O's derivation chain. It says the same thing semantically ("entity B was generated from entity A") but plugs into a richer graph: you can attach a prov:Activity (the act of generating the ontology), a prov:Agent (the author or tool), prov:generatedAtTime, etc. If you ever need to answer "how, when, and by whom was this ontology produced from source X?", prov:wasDerivedFrom is the anchor.

  • prov:hadPrimarySource (subproperty of prov:wasDerivedFrom) is specifically meant for "the original document this content traces back to." Specifications (TOGAF, ArchiMate, BPMN, UML) and foundational research (Kotusev's books/papers) are textbook primary sources.

Pattern:

<my-ontology>
    a                     owl:Ontology ;
    dcterms:source        <https://pubs.opengroup.org/togaf-standard/architecture-content/chap02.html> ;
    prov:wasDerivedFrom   <https://pubs.opengroup.org/togaf-standard/architecture-content/chap02.html> ;
    prov:hadPrimarySource <https://pubs.opengroup.org/togaf-standard/architecture-content/chap02.html> ;
.

For book-form sources without stable URIs, mint source entities typed as bibo:Book and prov:Entity:

@prefix bibo:    <http://purl.org/ontology/bibo/> .
@prefix prov:    <http://www.w3.org/ns/prov#> .
@prefix dcterms: <http://purl.org/dc/terms/> .

<my-ontology>
    a                   owl:Ontology ;
    dcterms:source      :AuthorYear ;
    prov:wasDerivedFrom :AuthorYear ;
.

:AuthorYear
    a                 bibo:Book, prov:Entity ;
    dcterms:title     "Book Title"@en ;
    dcterms:creator   "Author Name" ;
    bibo:isbn13       "9780000000000" ;
    bibo:edition      "2nd" ;
    dcterms:date      "2021" ;
    dcterms:publisher "Publisher Name" ;
.

When to use which:

Property Use for Consumed by
dcterms:source All derivation sources (URLs preferred) WIDOCO, LOV, Protégé, documentation generators
prov:wasDerivedFrom Same sources, when traceability matters PROV-aware tools, provenance queries
prov:hadPrimarySource The canonical specification or foundational text Provenance audits, lineage tracking
rdfs:seeAlso Related but non-derivation references (older versions, community pages, alternative formats) General discovery

Note on literals. URLs are preferred as dcterms:source values here because schema-level sources are published, dereferenceable specifications. A file in a repository is not identified by a URL, so instance provenance (DD-15) splits the identity of a source file across four predicates:

Fact Predicate Form
which repository dcterms:isPartOf IRI, target typed prov:Collection
where in it dcterms:source path literal
which revision dcterms:identifier commit identifier literal
which bytes schema:sha256 digest literal

A path alone identifies a file only relative to a repository, which is why the repository is a statement rather than a prefix of a URL. The browsable, commit-pinned URL is reachable as prov:alternateOf — an assertion that the two IRIs denote the same document — with rdfs:seeAlso retained for human use. The divergence is therefore narrower than "literal versus URL": a URL-valued assertion about the source does exist, just not on dcterms:source. Both usages are valid, since dcterms:source has no enforced range, but a query written for one will not find the other. Scope source queries by graph, and prefer prov:alternateOf where a dereferenceable IRI is wanted.

Anti-patterns:

  • Using dc:source (legacy namespace) — always use dcterms:source instead
  • Using schema:citation for derivation sources — citations are for "how to cite this resource", not "where this resource came from"
  • Omitting dcterms:source and relying only on PROV — most tooling won't find it

Trade-off: Slight redundancy between dcterms:source and prov:wasDerivedFrom pointing to the same URI. This is acceptable — the two serve different consumer ecosystems and the duplication is minimal.

Element-Level Source Attribution

When the source specification has section-level anchors, individual OWL classes carry more specific provenance:

Property Purpose on elements
dcterms:source Specific section URL with fragment identifier — canonical derivation link
prov:wasQuotedFrom Same URL with fragment — indicates skos:definition was quoted verbatim from that section
rdfs:seeAlso Alternative format URLs with fragment for the same section (singlepage, PDF, etc.)
:MyElement
    a                  owl:Class ;
    skos:prefLabel     "My Element"@en ;
    dcterms:source     <https://spec-publisher.org/spec/chap09.html#sec-My-Element> ;
    prov:wasQuotedFrom <https://spec-publisher.org/spec/chap09.html#sec-My-Element> ;
    rdfs:seeAlso       <https://spec-publisher.org/spec/chap09.html#sec-My-Element>,
                       <https://spec-publisher.org/spec.singlepage/#sec-My-Element> ;
    skos:definition    '''...exact text from the spec definition box...'''@en ;
    skos:scopeNote     '''...explanatory prose following the definition...'''@en ;
.

Rules for element-level attribution:

  • Do NOT repeat the generic ontology-level URL on classes — only use more specific section URLs
  • skos:definition MUST contain the exact formal definition from the spec (the normative definition text)
  • skos:scopeNote contains the explanatory prose that follows the definition
  • Remove figure/example references from scope notes (e.g., "Figure 4-3 shows...")
  • Convert section cross-references to local class links (e.g., "(see :Plateau)" instead of "see Section 12.2.3")
  • Remove spec-internal reference markers (e.g., [G211], [REF-42])
  • arch:domainIncludes / arch:rangeIncludes go on properties only, NEVER on classes

DD-17: Stakeholder as Both Core Concept and Element

Decision: arch:Stakeholder is both a core ontology concept (affecting metamodel design) and a subclass of arch:Element (usable in models).

Rationale: Stakeholders directly affect how the architecture description is organized and thus impact the metamodel itself. At the same time, stakeholders need to appear in architecture models (e.g., ArchiMate motivation views). Making Stakeholder a subclass of Element allows the same instance to serve both roles, benefiting analysis and inference.


DD-18: ReferenceModel as Subclass of Metamodel

Decision: refa:ReferenceModel extends arch:Metamodel.

Rationale: Reference models primarily contain abstract concepts defined as classes — they are type-level artifacts. While they may contain individuals (universals common to a set of concepts, or abstract tropes used as derivation sources), the primary content is definitional.

When reference model concepts are used for derivation, prov:wasDerivedFrom should reference the original concept, maintaining traceability.


DD-19: Force Over Driver for Architecture Decision Influences

Decision: Name the class ad:Force rather than "Driver" or "Motivation" for influences on architecture decisions.

Rationale: "Force" is more generic and encompasses all influences on architecture decisions. "Driver" collides with ArchiMate's Driver concept (which has a more specific meaning). "Motivation" is also a Force but not generic enough. The name aligns with the software architecture literature (Bass, Clements, Kazman) where "architectural forces" is the established term.


DD-20: Presentation Context Scheme for Stakeholder-Specific Views

Decision: Introduce arch:presentationContextScheme to group visual notations and templates by stakeholder audience.

Rationale: The same architecture knowledge needs different visual representations for different audiences (C-Level, Business, DevOps, Architects, Security, Data Management). Rather than creating separate models, presentation contexts act as "themes" that select appropriate visual notations, templates, and abstraction levels from the same underlying knowledge graph.


DD-21: Abstract vs Concrete Elements (ABB/SBB)

Decision: Use arch:isAbstract boolean property to distinguish Architecture Building Blocks (ABBs) from Solution Building Blocks (SBBs).

Rationale: ABBs are abstract, used for modelling patterns, reference architectures, or high-level architectures. SBBs are concrete, used for actual architecture solutions and exist in CMDBs, ITSM solutions, and architecture landscape repositories. This distinction is critical for governance and portfolio management.


DD-22: [Moved] ArchiMate-Specific Decisions

ArchiMate-specific design decisions have been moved to doc/guide/archimate/design-decisions.md. This keeps the repo-wide design decisions document focused on decisions that apply to ALL Linked.Archi ontologies.

Each modelling language module may have its own design-decisions.md for language-specific choices. The repo-wide decisions in this document apply as defaults unless a module-specific decision overrides them.


DD-23: Enumerated State Vocabularies as Named Individuals

Decision: Model closed state vocabularies — lifecycle states, decision states, assessment statuses — as named individuals of a state class, attached with a plain owl:ObjectProperty. Do not declare the property owl:FunctionalProperty, and do not close the value set with owl:oneOf. Enforce "at most one state, drawn from this list" in SHACL with sh:maxCount 1 and sh:in.

Pattern:

:DecisionState a owl:Class ;
    skos:prefLabel "Decision State"@en .

:decisionState a owl:ObjectProperty ;      # not owl:FunctionalProperty
    rdfs:domain :Decision ;
    rdfs:range  :DecisionState .

:Proposed a :DecisionState ;
    skos:prefLabel  "Proposed"@en ;
    skos:altLabel   "Open"@en ;
    skos:definition "The decision has been raised but not yet settled."@en .
ex:DecisionShape a sh:NodeShape ;
    sh:targetClass ad:Decision ;
    sh:property [
        sh:path     ad:decisionState ;
        sh:maxCount 1 ;
        sh:in       ( ad:Proposed ad:Accepted ad:Rejected ad:Deprecated ad:Superseded ) ;
    ] .

Rationale: Three separate choices, each following from the minimal OWL profile (DD-2).

Individuals rather than string literals. A state individual has an IRI, so it can carry skos:prefLabel, skos:altLabel, and skos:definition, be translated, be mapped to an external vocabulary with skos:exactMatch, and be dereferenced in the published documentation. A literal "Proposed" carries none of that, and a typo in it is indistinguishable from a new value.

No owl:FunctionalProperty. A functional property asserts that the subject has at most one value — but under the Open World Assumption a reasoner does not read that as a constraint to check. Given a decision that carries two states, it entails owl:sameAs between the two state individuals. The reasoner silently merges Proposed and Accepted into one thing rather than reporting an error, and the merge then propagates through every query touching either. The declaration that looks like data quality enforcement actively destroys data quality. This is DD-2's general argument applied to a specific, easy-to-get-wrong case.

No owl:oneOf on the state class. Enumerating the class members closes the vocabulary in OWL, which prevents a downstream organization from adding a state its governance process needs (UnderReview, Delegated) without editing the published ontology. The value set is a governance constraint on our data, not a logical truth about the class, so it belongs in a shape a consumer can replace.

Alternatives considered:

Alternative Why not adopted
String literal values (arch:lifecycleState "Current") No labels, no definitions, no translation, no mapping to external vocabularies, and no way to distinguish a typo from a new value. Still present in some example models; not the pattern for new assets.
owl:FunctionalProperty on the state property Entails owl:sameAs between state individuals on any multi-valued data error, merging distinct states instead of flagging the error. Used by timefw:lifecycleState in the TIME framework — a divergence that predates this record.
owl:oneOf enumeration on the state class Closes the vocabulary against downstream extension. Used by timefw:AssessmentStatus — same divergence.
Triple-typing individuals as owl:NamedIndividual, :StateClass, skos:Concept Appropriate where the asset set has a taxonomy file to place the concepts in, as TIME does with timetax:AssessmentStatuses. Unnecessary where the states live in the ontology file alone, and it invites a second, competing home for the same vocabulary.

Consequences:

  • Nothing enforces single-state at the OWL layer. The guarantee exists only where a SHACL shape is actually written and run, so an asset set using this pattern should ship a *-shapes.ttl with the sh:maxCount 1 + sh:in property shape. arch-decision does not yet have one; the constraint is documented in skos:scopeNote on ad:decisionState and in the Extensions Guide until it does.
  • The state property carries only the current value. Where a full transition history matters, record it with prov:wasRevisionOf on successive versions of the subject, or with dcterms:modified for the last-changed timestamp.
  • The TIME framework diverges on two of the three points above. It is internally consistent and validated, so it is left as-is rather than migrated; new state vocabularies follow this record.

References: arch:ArchitectureState (core/core-onto.ttl) and ad:DecisionState (extensions/arch-decision/arch-decision-onto.ttl) are the reference implementations. The SHACL side of this record lives in extensions/arch-decision/arch-decision-shapes.ttl, where adsh:DecisionShape closes the state vocabulary with sh:maxCount 1 and sh:in. See also DD-2 for the minimal OWL profile and the OWL/SHACL division of labour, DD-6 on keeping OWL classes and SKOS concepts separate, and DD-7 for when a vocabulary belongs in a taxonomy file instead.


DD-24: skos:prefLabel is the Canonical Label; Notation Name Attributes are Retained Source Data

Decision: skos:prefLabel, carrying a language tag, is the one canonical human-readable label across every Linked.Archi metamodel. Notation ontologies additionally retain their source name attribute — bpmn:name and its equivalents — verbatim, as a plain xsd:string. The two are not alternatives. Converters emit both.

ex:t1 a bpmn:ServiceTask ;
    bpmn:name      "Charge card" ;      # source attribute, verbatim, xsd:string
    skos:prefLabel "Charge card"@en .   # canonical label, rdf:langString

Consequences for converter authors:

skos:prefLabel notation name attribute
Required yes, wherever the notation's own shape says so should be retained
Datatype rdf:langString — language tag mandatory plain xsd:string
Multiplicity one per language single-valued
Read by tooling yes — docs, palettes, templates, SPARQL, SHACL no
Layer canonical, cross-notation serialization-level fact

An untagged literal does not satisfy any notation's label shape — they all assert sh:datatype rdf:langString. "Charge card" fails; "Charge card"@en passes. This is the most common reason a converter's output fails validation while looking correct to a human reader.

Rationale.

Why keep the notation attribute at all. It is not merely a duplicate. In BPMN, 34 classes carry bpmn:name and only 7 of them are aligned to arch:Element. For the other 27 — Error, Signal, Interface, Operation, Resource, PartnerEntity, CorrelationKey, InputSet, DataInput, LaneSet, MessageFlow and the rest — bpmn:name is the only name-bearing property, and no core shape reaches them because they are not architecture elements. Removing it would either leave them nameless or force skos:prefLabel onto bookkeeping nodes, which then pollutes every label-based query. The attribute is also one of roughly 200 generated from the source metamodel alongside bpmn:id and bpmn:text; the same "it overlaps something in core" argument would remove those too, at which point the ontology stops being a faithful mapping of the specification.

Why not bridge them with rdfs:subPropertyOf. Asserting bpmn:name rdfs:subPropertyOf skos:prefLabel looks like it would make notation-native names satisfy the core rule. It does not. The entailed skos:prefLabel inherits the plain xsd:string datatype, so a correctly named element still fails — the violation simply moves from sh:MinCountConstraintComponent to sh:DatatypeConstraintComponent, reported against a label that is present and looks fine. The relationship between the two properties is policy, documented on the property itself, not an inference.

Why the label rule is notation-owned and not in core. There is deliberately no core label shape. arch:Element means "a node in a model", and several notations have nodes that are legitimately unnamed: BPMN Gateway and Event subtypes, ArchiMate AndJunction and OrJunction, BPMN TextAnnotation and Group (which carry text rather than a name), and bpmndi:BPMNDiagram (whose name the spec makes optional, which is why there is no core arch:View rule either). Those constructs are genuine elements — they have identity, they render on diagrams, they belong in element counts — so excluding them from arch:Element to satisfy a label rule would misstate the model. Being an element and being required to carry a name are separate questions, and only the notation knows the answer to the second.

Each metamodel therefore states its own rule in its own shapes, listing the classes that must be named with plain sh:targetClass: bpmnsh:RequiredNameShape, am4elsh:ArchiMateElementShape, amelsh:ArchiMateElementShape, c4sh:C4ElementLabelShape, strsh:StructurizrElementLabelShape, bssh:BackstageElementLabelShape, and the per-class shapes in BPMN Lite.

Two mechanisms were tried and rejected. sh:severity sh:Warning on a core shape does not help: under SHACL a report conforms only when it contains no results at all, so downgrading severity reclassifies output without making the graph conform, and RDF4J's ShaclSail does not distinguish severities either. An arch:labelOptional annotation with a sh:sparql exemption does not help either: SPARQL-based constraints see only the data graph, so whether the exemption is visible depends on how the consumer assembles data and schema graphs — the same fragility the rule was meant to remove.

A notation shape must not target arch:Element. In a merged multi-notation graph that applies one notation's naming policy to every other notation's elements. Target the metamodel's own classes. Abstract domain or layer roots are usually the concise way to do it, and they give you a natural place to leave connectors out: ArchiMate's junctions are declared rdfs:subClassOf arch:Element directly rather than under any domain root, so targeting the 10 domain roots in 4.0 (or 7 layer roots in 3.2) covers every named element and exempts the junctions without listing 59 classes.

Related: see DD-21 on abstract classes, and the alignment axioms in modelingLanguages/bpmn/linkedarchi-bpmn-onto.ttl for a worked example of choosing element roots deliberately rather than at the metamodel root — aligning a notation's abstract metamodel root makes every serialization artefact an architecture element.

Where alignment axioms live. Declare rdfs:subClassOf arch:Element and rdfs:subClassOf arch:QualifiedRelationship on the classes themselves, in the metamodel's own ontology file. Do not put them in a separate alignment document. A sidecar is not reachable through the ontology's owl:imports, and SHACL and RDF tooling does not dereference imports, so a consumer loading the published ontology namespace gets the classes with no connection to the core model at all — and the axioms that decide what counts as an architecture element end up being the one part of the metamodel with no generated documentation.


DD-25: One arch:Framework IRI per Language Family

Decision: A modelling language has exactly one arch:Framework individual, minted in a namespace that carries no version. Every version's manifest points arch:basedOnFramework at it, and version detail lives on the arch:Metamodel individual via owl:versionInfo.

## modelingLanguages/archimate/archimate-framework.ttl — above the 3.2/ and 4.0/ directories
amfw:ArchiMateFramework a arch:Framework ;
    skos:prefLabel "ArchiMate"@en .          # the language, not a release

## archimate3.2-metamodel.ttl
ammm:ArchiMate3.2 arch:basedOnFramework amfw:ArchiMateFramework ; owl:versionInfo "3.2" .
## archimate4-metamodel.ttl
am4mm:ArchiMate4  arch:basedOnFramework amfw:ArchiMateFramework ; owl:versionInfo "4.0" .

Problem it solves. arch:modelConformsToMetamodel ranges over arch:Metamodel, and each version publishes its own instance. That part is right and useful: a model conforms to ArchiMate 3.2, not to ArchiMate in general. The hop that should group the versions is arch:basedOnFramework — and every manifest declared it, pointing at a Framework individual minted in that manifest's own namespace. archimate3/metamodel#ArchiMateFramework and archimate4/metamodel#ArchiMateFramework were two IRIs for the same language, related by nothing, each carrying a version in its skos:prefLabel.

So the natural query returned nothing, whichever of the two IRIs you picked:

SELECT ?model WHERE {
  ?model arch:modelConformsToMetamodel/arch:basedOnFramework amfw:ArchiMateFramework .
}

and had to be written as an enumeration that grows with every release:

SELECT ?model WHERE {
  VALUES ?mm { ammm:ArchiMate3.2 am4mm:ArchiMate4 }
  ?model arch:modelConformsToMetamodel ?mm .
}

There was no fallback either: no prov:wasRevisionOf, owl:priorVersion, dcterms:isVersionOf or owl:backwardCompatibleWith linked the two metamodels, and no taxonomy had a grouping concept for them.

No new predicate was needed. arch:basedOnFramework already means "the Framework this Metamodel is a version of". It was simply being pointed at a per-version resource. The version-bearing labels — "ArchiMate 3.2" on a Framework — are the tell that the individual had been understood as a per-version thing rather than as the thing versions are of.

Rejected alternatives. Keeping the per-namespace individuals and relating them with skos:exactMatch, or linking the metamodels with prov:wasRevisionOf. Both leave the consumer walking a property path over an unbounded chain instead of taking one hop, and both grow as releases accumulate — which is the cost the enumeration already had.

Deprecation, not deletion. The old IRIs were published, so they stay, with owl:deprecated true and owl:sameAs to the new one. They are not typed arch:Framework any more, so ?fw a arch:Framework returns one ArchiMate framework rather than three. Retyping them would trade a broken query for a misleading one.

Where the boundary falls. A profile of a language shares the language's framework. BPMN Lite is a thinner reading of BPMN, not a different notation, so bpmn-lite/metamodel#BPMNLite points at bpmn/metamodel#BPMNFramework; what distinguishes Lite from the full suite belongs on the metamodel, which is where a consumer chooses between them anyway. Languages whose namespace already carries no version — UML, C4, Backstage, EDGY — needed only their labels de-versioned, since the IRI was already correct.

Framework IRI Metamodels reached in one hop
archimate/framework#ArchiMateFramework ArchiMate3.2 (3.2), ArchiMate4 (4.0)
bpmn/metamodel#BPMNFramework BPMN2 (2.0.2), BPMNLite
uml/metamodel#UMLFramework UML2 (2.5.1)
edgy/metamodel#EDGYFramework EDGY23 (23)

Consequences:

  • The language-level and the version-level question are both answerable, and each in one hop: follow arch:basedOnFramework for the language, read arch:modelConformsToMetamodel for the release.
  • A skos:prefLabel on an arch:Framework must not contain a version. Put it in owl:versionInfo on the arch:Metamodel.
  • Single-version languages should still draw the distinction. It costs nothing while latent, and ArchiMate is what happens when it is not drawn: by the time a second version exists, the wrong IRI is already published.
  • Frameworks in frameworks/ (TOGAF, Zachman, UAF, DoDAF and the rest) still mint their Framework individual in their own single namespace. That is correct while each has one version, and the same rule applies when one gains a second.

DD-26: Lifted Records Are Judged on What the Source Format Holds

Decision: A shape must be satisfiable by a record lifted from the formats converters actually read. Where a source format cannot carry the structure a shape asks for, the obligation is made conditional on evidence present in the data — never on the record's provenance, and not by lowering the severity to sh:Info.

The case that prompted it. adsh:AcceptedDecisionSelectionShape required ad:hasSelectedOption on every ad:Accepted decision. That is right for a record authored in this vocabulary, where options are first-class resources. It cannot be met by a record lifted from a document-based ADR — MADR, Nygard, or a Structurizr !adrs block — which is a title, a status, a date and a Markdown body. The options considered are prose under a heading. There is nothing in the graph to point the property at, and no way to derive one without parsing free text and guessing which heading names the outcome. A converter that minted an ad:Option from the decision title to silence the shape would be inventing model content, and asserting that alternatives were weighed when the graph has no idea whether they were.

So every correctly converted accepted ADR reported one violation with no action available. That is worse than no check: it teaches consumers to ignore the shape set, which costs more than the check gains.

The fix — condition on evidence in the data. The obligation now fires only where the record holds candidates to choose from:

adsh:AcceptedDecisionSelectionShape
    sh:or (
        [ sh:not [ sh:property [ sh:path ad:decisionState ; sh:hasValue ad:Accepted ] ] ]
        [ sh:property [ sh:path ad:hasSelectedOption ; sh:minCount 1 ] ]
        [ sh:property [ sh:path ad:hasAlternative    ; sh:maxCount 0 ] ]   # nothing to select from
    ) ;
.

A record that lists alternatives and names no outcome is still a violation — that is the record the check exists for. A record with no options at all is silent about whether options were weighed, which under the Open World Assumption is the honest reading: the answer to "was an option selected" for a prose ADR is unknown, not no. Rationale is still required, by adsh:AcceptedDecisionRationaleShape.

Rejected — sh:Info. Lowering the severity drops the check for authored records too, where it is a genuine structural error. It also misuses the convention: sh:Info marks divergence that is legitimately ambiguous in the data, as bssh:KindTypeAlignmentShape does for a retained bs:kind disagreeing with rdf:type, where a mis-mapped lift and a deliberate retyping are indistinguishable. An accepted decision that lists candidates and names no outcome is not ambiguous.

Rejected — accepting the rationale as the escape. Allowing ad:justificationDocument to stand in for ad:hasSelectedOption under-fixes and over-exempts at once. It under-fixes because a Nygard or MADR body lifted into ad:justification as a literal still fails, so it exempts one converter's output rather than the class of problem. It over-exempts because attaching a design document then silences the record that lists alternatives and names no outcome. Rationale is evidence of why; a selected option is what was decided. Two shapes, two questions.

Rejected — a lift marker as the condition. Converters should record the lift, using prov:wasDerivedFrom and the surrounding PROV activity per DD-15. No shape may depend on it. Two reasons: that provenance belongs in the provenance graph (DD-15), where a validator run over the semantic graphs cannot see it, so conformance would depend on how a consumer assembled the graph; and gating a check on "a converter produced this" lets any converter silence any check by declaring itself one. A record authored by hand whose options live in a linked design document is the same artifact and is judged the same way.

Consequences:

  • When adding a shape, ask what the formats in scope can actually express. A constraint no lift can satisfy will be met by converters ignoring the shape set, not by better data.
  • Where two shapes cover related ground, they must agree about what a valid record looks like. The selection and rationale shapes disagreed about document-based ADRs — one accepted the document as sufficient, the other could not be satisfied at all.
  • Conformance fixtures should include a lifted record, not only an authored one. examples/extensions/decisions-example.ttl carries :ADR-063 for this: state, related concepts and the body as a schema:CreativeWork, with no options. It is what structurizr2linkedarchi emits, and the arch-decision profile fails if that stops passing.
  • Severity still means what it did: sh:Violation for a malformed record, sh:Warning for an incomplete one, sh:Info for divergence the data cannot adjudicate.

DD-27: Three Provenance Layers, Distinguished by Graph and by Activity

Decision: Linked.Archi records provenance at three granularities using the same PROV-O predicates. Consumers distinguish them by the named graph, and where the graph is unavailable, by the activity the derivation went through — never by the predicate, and never by the subject's type alone.

Layer Subject types Predicates Graph Authored by Record
Specification → ontology owl:Ontology, owl:Class dcterms:source, prov:wasDerivedFrom, prov:hadPrimarySource, prov:wasQuotedFrom the asset file's own graph ontology maintainer, by hand DD-16
Source artifact → model arch:Model, arch:View, arch:Element, arch:QualifiedRelationship, ad:Decision prov:wasGeneratedBy, prov:wasDerivedFrom, prov:qualifiedDerivation; on the graph, prov:Bundle with prov:wasDerivedFrom …/graph/provenance describes …/graph/semantic/{source} converter DD-15
Derivation rule → relationship arch:QualifiedRelationship prov:wasGeneratedBy (the derivation activity, whose prov:qualifiedAssociation has the rule as prov:hadPlan), prov:wasDerivedFrom, a confidence annotation …/graph/derived in a store; beside the model in a file SHACL rule engine; the run, by what ran it DD-28
Modeller edit → concept arch:Model, arch:View, arch:Element, arch:QualifiedRelationship prov:wasGeneratedBy (the editing activity, prov:wasAssociatedWith the modeller and the user), prov:generatedAtTime; on the concept, dcterms:created and dcterms:modified …/graph/provenance, with the model's other provenance the modeller, as the concept is edited this record, What a modeller records of its edits

Why one predicate across three layers. PROV-O's derivation is deliberately granularity-neutral. Minting arch: terms per layer would fragment a standard vocabulary for no semantic gain and break PROV-aware tooling.

Why the subject's type is not sufficient. Rows two and three share arch:QualifiedRelationship. A relationship lifted from a catalogue descriptor and a relationship inferred by an ArchiMate derivation rule are both qualified relationships carrying prov:wasDerivedFrom. Only the graph, or the activity, separates them.

The graph is the primary discriminator. With source-scoped semantic graphs, a lifted fact sits in …/graph/semantic/{source}, an inferred one — in a store — in …/graph/derived, and a curated one in …/graph/model. The layer is readable from the graph IRI without dereferencing anything.

The activity is the graph-independent discriminator. Converter output carries the qualified derivation form, whose prov:hadActivity names the conversion run. A derivation names the derivation activity that generated it by prov:wasGeneratedBy, an activity whose plan is the rule. That survives flattening to Turtle, where the graph boundary does not.

# Wrong: returns ontology-from-spec, model-from-file and edge-from-rule together
SELECT ?x ?src WHERE { ?x prov:wasDerivedFrom ?src }

# Right, in a quad store: scope by graph
SELECT ?model ?src WHERE {
    GRAPH ?g { ?model prov:wasDerivedFrom ?src }
    FILTER(STRENDS(STR(?g), "/graph/provenance"))
}

# Right, in flattened Turtle: scope by the activity that performed the derivation
SELECT ?concept ?src WHERE {
    ?concept prov:qualifiedDerivation [ prov:entity ?src ; prov:hadActivity ?act ] .
    ?act a prov:Activity ; prov:wasAssociatedWith ?agent .
    ?agent schema:name "backstage2linkedarchi" .
}

# Right, in flattened Turtle: what a rule derived, by the plan of the activity that generated it
SELECT ?derivation ?rule WHERE {
    ?derivation prov:wasGeneratedBy/prov:qualifiedAssociation/prov:hadPlan ?rule .
}

Note prov:entity, lowercase — the property, not the prov:Entity class.

Requirement on derivation-rule assets. A rule is a prov:Plan, not a prov:Activity: it is a definition, applied again and again, where an activity happens once and takes time — and PROV-O makes activity and entity, which a plan is, disjoint. What generates a derivation is a derivation activity, the rule applied to its premises: a prov:Activity whose prov:qualifiedAssociation gives the rule as its prov:hadPlan. The derivation's IRI is minted from the rule and the premises, and the activity and its association are parts of it (DD-41), so that deriving again gives the same graph:

:portal am4:realizes :cap-tracking .                             # valid: a statement
:portal am4:qualifiedRealization <relationship/2cb4…> .

<relationship/2cb4…> a am4:Realization ;
    rdf:reifies <<( :portal am4:realizes :cap-tracking )>> ;
    am4deriv:derivationCertainty am4deriv:Valid ;
    prov:wasDerivedFrom :qr-portal-assignedTo-fn-tracking , :qr-fn-tracking-realizes-cap-tracking ;
    prov:wasGeneratedBy <relationship/2cb4…/activity> .

<relationship/2cb4…/activity> a prov:Activity ;
    prov:qualifiedAssociation <relationship/2cb4…/activity/association> .
<relationship/2cb4…/activity/association> a prov:Association ;
    prov:hadPlan am4deriv:DR2 .

In a flattened graph a derivation stands apart by its resource: it carries its certainty, and the activity that generated it has a rule as its plan; a potential one also by the triple it does not assert (DD-28). prov:qualifiedDerivation would add nothing: one derivation activity generates one derivation.

What runs the rules records its run. The rules record only what they can: the rule, the premises, the certainty. Running them is an activity of its own, a run, and what ran them — la-gram, a GitLab or GitHub pipeline, the platform, any other application or process — records it once the rules have finished: a prov:Activity at {base}provenance/run/{token} (DD-29), with its agent on its association (prov:agent, a prov:SoftwareAgent, which may act on behalf of a person or an organisation, prov:actedOnBehalfOf), when it ran (prov:startedAtTime, prov:endedAtTime) and the rules it ran (prov:used, their version IRI). Each derivation activity the run produced is part of it (dcterms:isPartOf): PROV has no part-whole relation between activities, and prov:wasInformedBy — one activity using what another generated — says something else. A run that makes 133 derivations is 133 derivation activities, which the rules generate, and one run, which what ran them records:

<relationship/2cb4…/activity> dcterms:isPartOf <…/provenance/run/5b1d7a30> .

<…/provenance/run/5b1d7a30> a prov:Activity ;
    dcterms:identifier "https://gitlab.example.com/nordfreight/architecture/-/jobs/4711" ;
    prov:startedAtTime "2026-11-01T09:29:12Z"^^xsd:dateTime ;
    prov:endedAtTime   "2026-11-01T09:30:00Z"^^xsd:dateTime ;
    prov:used <https://meta.linked.archi/archimate4/derivation/4.0#> ;
    prov:qualifiedAssociation [ a prov:Association ; prov:agent :shaclRuleEngine ] .

:shaclRuleEngine a prov:SoftwareAgent ;
    skos:prefLabel "derivation job, architecture pipeline"@en .

The rules do not record the run, and cannot: a SHACL rule reads only the data graph, and a run in a derivation's key would give the same derivation a new IRI on every run — two resources for one derivation, and two runs' output different throughout. So the rules run as published wherever they run, and give a derivation the same IRI in la-gram, in a pipeline and on the platform. The agent and the times are said once, on the run. PROV does not carry them over dcterms:isPartOf; where a consumer needs the agent on a derivation activity itself, what ran the rules may add it to that activity's association as well (prov:agent) — PROV lets an association name only its plan, or its agent too.

What a modeller records of its edits. The fourth row is a modeller's own: la-gram records who changed a concept, when and with which tool, as the concept is edited, so that what it saves is what it shows. Its unit is the editing activity — one user's edits in one modeller, from the first change after the model is opened or saved to the next save — not each change: a concept names only the activity that last changed it, by prov:wasGeneratedBy, with the time by prov:generatedAtTime, and an activity no concept names any more is removed. A model therefore holds four statements a concept, five an activity, and the modeller and each user once; what exactly changed in a concept is what its history — checkpoints, Git — compares. On the concept itself, in the semantic graph, dcterms:created and dcterms:modified say when, as Dublin Core says it of anything; a value set by hand stays. The activity is associated with the modeller, a prov:SoftwareAgent at an IRI of its own per version (https://app.linked.archi/la-gram/v0.3.0, that version's page), and with the user, a prov:Person with what the modeller knows of them: their name and email address as the user gives them, and their Git account — its page and username — as the Git host reports it. The activities and the users are named in the model's namespace, {ns}provenance/edit-{id} and {ns}provenance/user-{id} (IRI Minting): a modeller knows no dataset base to put them under (DD-29). The word is for a reader of the Turtle and the id is opaque; a user's id is a digest of their account, address or name, so the IRI carries nothing personal and one user is one resource on every machine.

Opening, merging, restoring a version, undoing and a collaborator's changes are not edits of this modeller's, and are not recorded as such; a merge keeps the later of two times and the activity that goes with it. In a file, the converter's layer and this one share …/graph/provenance, and the activity tells them apart: a conversion run is associated with the converter, an editing activity with the modeller and a user. A concept a modeller changes after a conversion is generated by the editing activity and keeps its prov:wasDerivedFrom the source.

A rule run is not a converter run. A converter lifts what its source says and derives nothing (DD-15); running the rules is a step of its own. In a pipeline it is a job of its own — after a conversion, over the model it produced, or apart from any conversion, over any model — and its run is keyed as a converter's is, by its job URL: its own job's, so a pipeline that converts and then derives has two runs, which never share an IRI.

What a run claims. A run that starts with no derivations — the derived graph cleared (DD-28) — produces every derivation there is, and claims them all. A run that keeps the derivations already there produces only those not there yet, since a rule derives only what is not there yet, and claims only those: the rest stay part of the runs that produced them.

The reconciliation layer. Cross-source identity links (DD-11) are a fourth kind of claim: authored rather than derived, and about two model resources rather than about an artifact. They live in their own graph, {base}graph/reconciliation, with the mechanism and the authorship recorded per link. The correspondence itself is a skos:exactMatch or owl:sameAs triple; the record about it is an RDF 1.2 reifying resource over that triple, following the qualified-relationship bridge of DD-10:

<…/graph/reconciliation> {
    bs-ex:PaymentProcessor skos:exactMatch am-ex:PaymentProcessor .

    <…/reconciliation/link-0042>
        a                    prov:Entity ;
        rdf:reifies          <<( bs-ex:PaymentProcessor skos:exactMatch am-ex:PaymentProcessor )>> ;
        prov:wasAttributedTo <…/agent/architect-a> ;
        prov:generatedAtTime "2026-08-27T10:02:00Z"^^xsd:dateTime ;
        skos:scopeNote       "Substitutability test failed; correspondence only."@en .
}

The reified triple carries the mechanism, so DD-11's requirement to record which of skos:exactMatch and owl:sameAs was used is met by the record itself rather than by a separate property. Identity decisions are authored and reviewed, never emitted by converters.


DD-28: Rule-Derived Triples Land in Their Own Graph

Decision: What a rule derives is kept apart from what the modeller stated, in a graph of its own wherever there are named graphs:

  • Within a model: {base}{notation}/{modelId}/graph/derived, never the semantic or model graphs.
  • Across models: {base}graph/derived, which belongs to no single model (DD-29).
  • In a file or an editor — a model's Turtle, an editor's model, a flattened export — there are no graphs to use: beside the model, told apart by its resource.

What an ArchiMate rule produces follows its certainty, and the two forms RDF 1.2 has. Appendix B separates derivations "certainly true in any model where these rules apply" from those "potentially true but uncertain":

  • A valid derivation is a statement: the direct triple, the qualified predicate and the resource, a relationship like any other.
  • A potential derivation is a proposition: the resource alone, reifying the triple without asserting it, until a modeller confirms it by asserting the triple, with its qualified predicate.

Either way the resource carries the certainty, the premises (prov:wasDerivedFrom) and the derivation activity that generated it (prov:wasGeneratedBy).

Rationale: Each form answers the mistake the other would make. A valid derivation left unasserted would hide from a query by triple what the specification calls certainly true: the rules would conclude that the portal realizes the capability, and :portal am4:realizes ?x would say it does not. A potential derivation asserted would return a guess as a fact, when the specification leaves it "up to the modeler to decide".

Asserting means a triple no longer says who stated it — a triple cannot. The graph can, and that is what it is for: the model and semantic graphs are what was stated, the union is what holds, and a query chooses with FROM rather than a filter. A count, a diff or a validation run over what was modelled leaves derived content out wholesale; an export or a commit takes the model graph as it is; deriving again starts with DROP GRAPH, with no retraction against asserted content. The model graph also stays the size of the model, which derivations outnumber: the NordFreight example's 35 relationships give 133 derivations, 88 of them potential, and its 35 direct triples become 74 with the valid ones.

The graph is also what bounds the trust in a valid derivation. The specification qualifies its certainty: "If a model is well designed and describes a stable state of the enterprise, these derived relationships can be trusted." A model that mixes baseline and target can chain across the two and derive a relationship that holds in neither, and the rules cannot tell. So a derivation's triple never enters a model graph, and a consumer that does not trust it leaves the graph out.

In a file there is no graph, so the same question takes a filter on the resource:

# What was stated: a relationship whose triple is asserted, not a valid derivation, nor a potential one
# that a modeller has not confirmed (their qualified predicate leads to it)
SELECT ?relationship WHERE {
    ?relationship rdf:reifies <<( ?source ?predicate ?target )>> .
    FILTER EXISTS { ?source ?predicate ?target }
    FILTER NOT EXISTS {
        ?relationship am4deriv:derivationCertainty ?certainty .
        FILTER(?certainty = am4deriv:Valid || NOT EXISTS { ?source ?leads ?relationship })
    }
}

and removing the derivations takes two updates, as a valid derivation's triple stays if the modeller also stated it:

DELETE { ?source ?predicate ?target }
WHERE {
    ?derivation am4deriv:derivationCertainty am4deriv:Valid ;
                rdf:reifies <<( ?source ?predicate ?target )>> .
    FILTER NOT EXISTS {
        ?stated rdf:reifies <<( ?source ?predicate ?target )>> .
        FILTER NOT EXISTS { ?stated am4deriv:derivationCertainty ?certainty }
    }
} ;
DELETE { ?source ?qualified ?derivation . ?derivation ?p1 ?o1 . ?activity ?p2 ?o2 . ?association ?p3 ?o3 }
WHERE {
    ?derivation am4deriv:derivationCertainty ?certainty ;
                arch:source ?source ;
                prov:wasGeneratedBy ?activity .
    ?activity prov:qualifiedAssociation ?association .
    FILTER(?certainty = am4deriv:Valid || NOT EXISTS { ?source ?leads ?derivation })    # all but a confirmed one
    OPTIONAL { ?source ?qualified ?derivation }
    ?derivation ?p1 ?o1 . ?activity ?p2 ?o2 . ?association ?p3 ?o3 .
}

The same derivation, both ways:

# In a store: the model graph and, beside it, the derived graph
<…/graph/model> {
    :portal am4:assignedTo :fn-tracking .             # and each premise's qualified predicate and resource
    :fn-tracking am4:realizes :cap-tracking .
}
<…/graph/derived> {
    :portal am4:realizes :cap-tracking .
    :portal am4:qualifiedRealization <relationship/2cb4…> .
    <relationship/2cb4…> a am4:Realization ;
        rdf:reifies <<( :portal am4:realizes :cap-tracking )>> ;
        prov:wasGeneratedBy <relationship/2cb4…/activity> .  # and the activity, and its association
}
# In a file: the same triples, in one graph
:portal am4:assignedTo :fn-tracking .
:fn-tracking am4:realizes :cap-tracking .
:portal am4:realizes :cap-tracking .
:portal am4:qualifiedRealization <relationship/2cb4…> .
<relationship/2cb4…> a am4:Realization ;
    rdf:reifies <<( :portal am4:realizes :cap-tracking )>> ;
    prov:wasGeneratedBy <relationship/2cb4…/activity> .
In a store In a file
What holds: :portal am4:realizes ?x :cap-tracking, over the union :cap-tracking
What was stated the two premises: FROM <…/graph/model> the two premises: the query above
Removing the derivations, to derive again DROP GRAPH <…/graph/derived> the two updates above

Across models. A practice may decide to derive across models. That is a run of its own, over the models it chooses, and what it derives belongs to none of them: it is kept in {base}graph/derived, its resources in urn:linked-archi:, as they name no one model's namespace. A mapping is not the place for it. A mapping states a correspondence, authored and reviewed; a derivation is a rule's conclusion, computed. The bridge belongs to mappings and reconciliation, the conclusion does not:

The models… The published rules What the practice needs
Share the element's IRI Derive it, valid or potential as usual Nothing beyond the run
Have separate IRIs, linked by skos:exactMatch (DD-11) Derive nothing: they join on one IRI Its own rules file, with the link as a third premise
Use different notations (BPMN and ArchiMate) Derive nothing: their predicates are ArchiMate's Its own rules file, the type-level crossmapping and the instance link

A practice's own rule has its own plan, and what it derives through skos:exactMatch is potential at most: that link was chosen because the two nodes are not safely interchangeable, and Appendix B speaks of certainty within a model. With the link a premise, revoking it removes the derivation on the next run.

Values a rule computes. The same line runs through other rules. The TIME rules assert the values they compute (timefw:previousDisposition, timefw:dispositionMovement), with a reifier recording the derivation activity: computed facts, over which an assessor's own value takes precedence.

Consequences:

  • A consumer wanting what holds queries the union, which is the default graph in most stores. One wanting what was stated scopes to the model and semantic graphs in a store, or uses the filter above in a file.
  • A potential derivation stays out of a query by triple until it is confirmed. Confirming one in a store moves its resource, with its derivation activity and that activity's association, into the model graph, beside the triple and qualified predicate the confirmation asserts; dropping the derived graph then leaves it. A valid derivation needs no confirming.
  • Deriving again after a relationship was removed starts from no derivations: what rested on it stays until then.
  • Tooling that materializes into a store-local graph should map that local name to this template when the results are published.
  • The confidence annotation remains required. The graph answers "is this derived"; the certainty answers "how much weight does the rule claim".

DD-29: Reserved Top-Level Segments Under the Base IRI

Decision: The base IRI of a published dataset is partitioned by first path segment. Notation slugs (archimate, bpmn, plantuml, c4, leanix, backstage, and any further notation) occupy that space. Two segments are reserved and may not be used as a notation slug: provenance, which holds the content-addressed provenance nodes, and graph, which holds the dataset-wide graphs that belong to no single model.

{base}provenance/source/{repo}/{sha}/{path}
{base}provenance/commit/{sha}
{base}provenance/person/{digest}
{base}provenance/run/{token}
{base}provenance/agent/{digest}
{base}provenance/derivation/{repo}/{sha}/{path}/{run}

{base}graph/reconciliation
{base}graph/derived

Per-model graphs are not affected: they sit under {base}{notation}/{modelId}/graph/…, where graph is a segment of a model IRI rather than of the base (DD-15).

Rationale: Provenance nodes are identified by their content, not by the model that happened to read them. Placing them under a model or a notation would turn one file at one revision into several unrelated subjects, and one conversion run into one activity per model — neither of which is answerable in an aggregate. A file read by two models has to be one node for "everything derived from this file" to be a question at all. The reconciliation graph is reserved for the same reason from the other direction: an identity link relates two models, so it belongs to neither. So does a derivation across models, which keeps the dataset-wide derived graph (DD-28); a derivation within one model keeps that model's.

The node kinds are second-level rather than reserved individually. source, commit, run, agent, person and derivation sit under provenance, because reserving six further words among the notation slugs would leave "is this a notation or a node kind?" unanswerable from the IRI.

Consequences:

  • Adding a notation requires checking its slug against this list. The check is trivial and the failure is not: a notation named provenance or graph would collide silently with platform nodes in the same namespace.
  • Provenance nodes are shared across models and runs, but statements about them are still written into each model's own provenance graph, so a single graph remains a complete description of that model's lineage.
  • A modeller, which edits one model and knows no dataset base, names its editing activities and the users making them in the model's namespace instead, {ns}provenance/edit-{id} and {ns}provenance/user-{id} (IRI Minting); its own agent is an IRI of its own per version.

DD-30: Membership Is Stated by the Member — arch:inView and arch:inModel

Decision: A concept's membership in a model and its presence in a view are stated by two properties that both put the member in the subject position: arch:inModel (arch:ModelConcept → arch:Model) and arch:inView (arch:ModelConcept → arch:View). Neither is transitive, and neither is related to arch:partOf. The three properties they replace — arch:exposedInView, arch:partOfModel and arch:contains — are retained as owl:deprecated in core 0.4.0.

Rationale: Membership had accumulated three overlapping properties with no stated relationship between them, and the overlap had already produced a shape graph that validated nothing.

Two properties, not one. arch:View is a subclass of arch:ModelConcept, and a view may present other views. A single container-first arch:contains covering both levels would render "this model holds this view" and "this view presents that view" as the same triple pattern with an arch:View in object position either way, leaving them indistinguishable. The split is forced by the class hierarchy, not chosen for style.

Member as subject. viewConformsToViewpoint, modelConformsToMetamodel, modelRepresentsSystem and basedOnFramework all describe the dependent thing rather than the container. arch:contains was the only container-first membership property, so it was the exception rather than the pattern. One direction rule for the whole core is worth more than the convenience of an inverse.

Independent of arch:partOf. arch:partOf is an owl:TransitiveProperty between two ModelConcepts. Hanging view membership under it would let transitivity leak — E inView V plus V partOf W would entail E partOf W, conflating presentation with composition. And arch:inModel could not be a subproperty of it at all: arch:Model is not an arch:ModelConcept, so the inherited range would fail immediately.

Not derived from the visual layer. Where diagram geometry exists, core-vis already says something more precise — an arch-vis:ArchNode carrying arch-vis:view and arch-vis:archElement locates a concept on a canvas. That is not a substitute. The visual layer lives in the views named graph, which serialization profiles are designed to drop wholesale, and several notations supply no coordinates at all. arch:inView is the coarser statement that survives all of it, so both are emitted and neither is inferred from the other at query time.

The validation gap that prompted this. archimate3.2-viewpoint-shapes.ttl expressed its element and relationship conformance constraints over arch:exposedInView, which no converter emitted. The SPARQL constraints therefore returned zero rows and SHACL reported conformance — a view drawing elements its viewpoint's arch:includesConcept palette forbids passed silently. The 4.0 equivalent used $this arch:contains ?element with a view as subject and an element as object, violating both the declared domain (arch:Model) and range (arch:View) of that property. Having one property that data actually carries is what makes viewpoint conformance checkable.

Alternatives rejected:

Alternative Why not
Keep arch:exposedInView and arch:partOfModel under their existing names, and only retire contains Lowest churn, and it fixes the redundancy. But it leaves the asymmetry, and leaves arch:partOfModel sharing a stem with arch:partOf while having unrelated semantics that cannot be expressed as a subproperty — precisely the reading the rename removes.
Rewrite the conformance shapes over arch-vis:view / arch-vis:archElement instead Costs no extra triples, but makes a semantic conformance rule depend on the visual graph. It would then break under the no-views and no-geometry serialization profiles, and couple ArchiMate's viewpoint policy to core-vis.
Declare arch:contains as owl:inverseOf arch:inModel and keep both Unsound, not merely redundant. arch:inModel admits any ModelConcept as subject while arch:contains declares rdfs:range arch:View, so the inverse of ex:Element1 arch:inModel ex:Doc would entail ex:Doc arch:contains ex:Element1 and, through that range, ex:Element1 a arch:View.
Materialise arch:inView from the visual layer with an OWL property chain Needs an inverse of arch-vis:archElement, which core-vis does not declare, plus a reasoner in a pipeline that has none — for one triple per concept-view pair.
Enforce one model per concept with owl:FunctionalProperty Entails owl:sameAs between the two models instead of reporting the conflict. Same reasoning as DD-23; the bound is archsh:InModelShape in core-shapes instead.

Consequences:

  • arch:exposedInView and arch:partOfModel are declared rdfs:subPropertyOf their replacements, so data written against the old vocabulary still entails the current properties for a consumer running RDFS. There is no reasoner in the converter pipeline, so for output this project generates the change is a cutover, not a soft migration.
  • arch:contains gets no rdfs:subPropertyOf and no owl:inverseOf, for the range reason above. Legacy arch:contains triples therefore entail nothing and have to be rewritten rather than reasoned over.
  • A QualifiedRelationship carries arch:inView directly. It is already a resource with arch:source and arch:target, so no reification or RDF-star annotation is involved — the hedge to that effect in the old arch:exposedInView definition was a leftover from the rdf:Statement design those two properties replaced.
  • arch:inModel is bounded at one value and arch:inView is unbounded. Neither is required: a concept presented in no view is ordinary, and a concept read from a quad store may carry membership in its named graph instead. A metamodel that wants either mandatory states sh:minCount 1 against its own classes.
  • Viewpoint conformance in the ArchiMate shape graphs becomes live rather than vacuous, which means models that were reported clean may now report warnings. That is the point of the change, but it is a behavioural difference on unchanged data.

DD-31: A Look per Kind Is a Class; a Look per Audience Is a Notation Set

Decision: A kind of element that needs a look of its own is a subclass with a arch-vis:VisualNotation of its own: C4 draws a database as a cylinder because c4:Database is a subclass of c4:Container with its own descriptor. A different look for a different audience is a different arch-vis:NotationSet, which a presentation context picks with arch:usesNotationSet. Notation data carries no conditions on element values: a descriptor describes a class, never "elements of this class whose property has this value".

Rationale: There should be one way to say each thing. A look that follows a kind of element is a statement about the model — "this container is a database" — and belongs in the ontology, where it is a type a palette offers, a viewpoint lists, SHACL validates and SPARQL selects. A look that follows the reader is a statement about presentation, and that is what notation sets and presentation contexts exist for. The notation lookup stays a function of the class alone (Visual notation guide — Fallback Logic), so a palette entry and a drawn element always agree.

Tried and withdrawn. C4's database, mobile-app, web-browser and grey "external" looks were briefly modelled as variants: descriptors with arch-vis:appliesWhen conditions over c4:containerType and c4:external. It worked, but it gave the notation a second way to distinguish kinds, made every renderer read element data to choose a style, made the lookup per element rather than per class, and left the palette unable to offer "a database".

Grounded in the source. The C4 subclasses are the kinds the official documentation names: the container kinds c4model.com lists on its container page (database, mobile app, client-side web application), and the people and software systems outside the scope that a system context diagram shows.

The same in ArchiMate. The kinds of access — read, write, read-write — are subclasses of Access (ReadAccess, WriteAccess, ReadWriteAccess; a plain Access is unspecified), and a directed association is a DirectedAssociation, in both ArchiMate versions. Each has a descriptor that puts the arrowheads where the specification draws them. The standard models these as attributes (accessType, isDirected). The attribute accessType is deprecated in favour of the classes, and an importer of the exchange format maps both attributes to the classes.

Alternatives rejected:

Alternative Why not
Conditional descriptors (arch-vis:appliesWhen over element property values) A second way to say what a subclass says; renderers must read element data; the lookup is no longer per class; the palette cannot offer the kind.
A look the modeller picks per element, stored with the view Not backed by a model fact: the same element could be a cylinder in one view and a box in another, and no query can find the databases.
One look per class, dropping the variants Loses what C4 diagrams communicate — a database, an external system — on the canvas.

Consequences:

  • The C4 ontology has c4:Database, c4:MobileApp, c4:ClientSideWebApp under c4:Container, and c4:ExternalPerson and c4:ExternalSoftwareSystem; the taxonomy, the label shape and the viewpoints list them.
  • Viewpoints list a subclass wherever they list its parent, because a tool may filter its palette by exact class.
  • External containers and components are not modelled: c4model.com does not describe them. Their pictures remain.
  • Changing an element's kind is a change of type (retyping), not of a property value.

DD-32: A Notation Declares Its Own Shapes — a Fallback and Path Templates

Decision: core-vis declares the eight core shapes every renderer draws natively (RoundedRectangle, Rectangle, Octagon, Ellipse, Circle, Hexagon, Diamond, Parallelogram). A shape only one notation draws is declared in that notation's file, in its namespace, as an arch-vis:ShapeType with an arch-vis:fallbackShape (a core shape) and its geometry as path templates: arch-vis:outlinePath, arch-vis:detailPath, arch-vis:contentBox, arch-vis:labelBox and arch-vis:shapeVariables. A template is SVG path data in absolute commands whose numbers may be {expressions} over w, h and the variables (+ - * /, parentheses, min(), max()). A shape moves to core-vis when a second notation needs it.

Rationale: The shape vocabulary was growing by every notation's pictures — ArchiMate's 3D box and banded objects, EDGY's arrow and pill, C4's person and browser window — each used by one notation, each meaningful only to a renderer that had code for it. Declaring the shape where it is used keeps the core small and puts the geometry in the data, so a renderer draws a new notation's shapes without a release, and one that cannot evaluate templates still draws something sensible from the fallback.

Templates, not stretched pictures. A picture stretched to the element's size distorts what has to stay fixed — a band thickens, a pill's ends stop being semicircles, a person's head turns oval — and slicing it into fixed margins cannot keep a centred circle round or an arrow's tip in proportion to the height. Expressions state the proportions and the limits the published pictures use (a band at most 14 deep, a 3D depth at most 12), and reproduce the pictures exactly at their size.

Parsed, not executed. The expression grammar is deliberately tiny so a renderer parses it; a template is data published to the web, and no renderer should evaluate it as code.

Alternatives rejected:

Alternative Why not
Keep every shape in core-vis The core grows with every notation, and only renderers with code for each name can draw them.
A SKOS concept scheme of shapes Changes the representation, not the ownership; enumerations here are named individuals (DD-23). arch-vis:fallbackShape gives what skos:broader would.
An SVG picture per shape, stretched or nine-sliced Cannot keep round parts round or proportional parts proportional (above).
A shared ArchiMate shape file imported by both versions Each notation set is self-contained and loaded on its own; ArchiMate 3.2 and 4.0 each declare their copies.

Consequences:

  • ArchiMate 4.0 and 3.2, EDGY and C4 declare their shapes in their notation files. EDGY's edgynot:RightArrow is current again, and edgynot:TagPill and edgynot:MetricPill are deprecated in favour of edgynot:Pill.
  • core-vis-shapes checks that a shape with an outline names exactly one core fallback.
  • A renderer counts a shape as core only by its core-vis IRI, never by a local name that happens to match.

DD-33: Model Questions Are SPARQL Executables Bound to Concerns

Decision: A question the model answers is an arch:ModelQuestion: the question itself — one sentence ending in a question mark — as its skos:prefLabel, the SPARQL that answers it in SHACL Advanced Features' sh:select, sh:construct or sh:ask, its prefixes named through sh:prefixes and declared once with sh:declare, and its inputs declared with sh:parameter. It is bound to the 42010 terms the core already describes viewpoints and deliverables with — arch:questionAddressesConcern, arch:questionTargetsStakeholder, arch:questionHasPurpose, arch:questionFitsViewpoint — and says what a row means (arch:answers), what it does not prove (arch:doesNotProve), and, for a finding, how serious it is and which column names what it is about (arch:findingSeverity, arch:findingFocus). The questions a language publishes form a question set: instance data whose root is an arch:QuestionSet, linked from a metamodel with arch:hasQuestionSet.

Rationale: The same questions were being written three times — as a modelling tool's example queries, as the queries of deliverable sections, and as templates an analysis agent picks by keyword — and each copy drifted from the viewpoint it claimed to follow. A question defined once, and bound to the concerns its answer informs, is offered by a tool beside the views it fits, asked by a deliverable section for the concerns it answers, and found by an agent through arch:stakeholderHasConcern and arch:viewpointFramesConcern rather than by matching words.

A model question is not a concern. A concern is an interest a stakeholder holds in the system — the impact of change, completeness — named by a noun phrase, framed by viewpoints and never settled by one answer. A model question asks one thing the architecture description answers — "What is affected if this element changes?" — and informs the concerns it addresses; a concern is informed by many questions and by views. Concerns are often worded as questions, so the class says what it is asked of, its label is a question and a concern's is not, and arch:doesNotProve states what the model's answer does not settle about the system.

SHACL Advanced Features for the executable part. sh:SPARQLExecutable, sh:prefixes/sh:declare and sh:parameter are standard, and already in the stack that validates models. Prefixes become data instead of text repeated in every query.

Parameters are core properties. As in SHACL, the variable a parameter binds is the local name of its sh:path, so the core declares the inputs once — arch:focus, arch:model, arch:view, arch:viewpoint, arch:conceptType, arch:from, arch:to — and every question set, of any language, binds the same variables. A runner pre-binds a parameter with VALUES at the start of the outermost WHERE group, and binds only the parameters a question declares, so the stored query is valid SPARQL that runs unchanged in any tool. They are never asserted in model data.

A question's answer does not depend on what can be inferred. Converters assert arch:Element and arch:ModelConcept beside a concept's own type for convenience, a triplestore with RDFS inference adds a language's abstract classes too, and a model drawn in a modelling tool asserts neither. A question that reports or groups by type uses the most specific one; read as "any rdf:type", two elements of different types that share a name would be reported as duplicates of the same type through arch:Element.

The metamodel is read once per query. Model data is in the default graph; a question that also needs the metamodel reads it through { P } UNION { GRAPH ?g { P } }, which holds whether the metamodel is in the default graph or in one named graph per document. Made once per row, that lookup grew with the square of the model; made once per query — a sub-select of the types concerned — it answers the same in milliseconds.

Relationships are followed along their direct triples. A question asks what holds in the model, and the direct triple is what holds: what the modeller stated, and what a valid derivation adds once the model's derivations are loaded. A potential derivation asserts no triple (DD-28), so a question that follows triples never takes a proposal for a fact, and none needs a filter for one. Where a question asks what serves, realizes, is assigned to or triggers what, it follows the chains the valid derivation rules follow (DR 2 to DR 8) as property paths anchored on the relationship it asks about, and answers the same with the derivations loaded, each then one hop, as without them. Four questions do not walk — application dependencies, technology under applications, requirement traceability, unrealized capabilities: on a generated model of 350 000 triples their walks took from 3.6 seconds to over two minutes, where a modelling tool asks a question on its main thread. They follow a few fixed steps, and a longer chain only once it is derived. A question about the relationship itself — whether a resource is in step with its triple, the kind of an access — reads its qualified resource, and a proposition, a resource whose triple is not asserted and to which nothing leads, is no error to it.

Alternatives rejected:

Alternative Why not
Example queries as .rq files in each tool Copies drift, and nothing ties a query to the concern it answers or the viewpoint it fits.
arch:Question Read beside arch:Concern, "a stakeholder's question" is easily taken for the concern itself.
arch:CompetencyQuestion Ontology engineering's term for a question a knowledge base must answer: precise for ontologists, opaque to most architects.
arch:ModelQuery Says it executes, and loses that it is a stakeholder's question bound to concerns.
A question set as an owl:Ontology A question set is instance data, like a set of deliverable templates; the documentation generator classifies such assets by the absence of owl:Ontology.
Parameter properties in each question set Every language's questions would bind differently named variables for the same input, and one set would depend on another for its parameters.
Reusing arch:inModel, arch:inView, arch:viewConformsToViewpoint as parameter paths They describe model data, and the variables would be ?inModel, ?viewConformsToViewpoint.
Reusing arch:targetsStakeholder for questions Its rdfs:domain is arch:Viewpoint: a question using it would be inferred to be a viewpoint.
Following relationships along their qualified resources A potential derivation has its resource too: every such question would need a filter for it, and every new one would have to remember it.
Walking the rules' chains in every question Too slow for the four that list across the whole model: from 3.6 seconds to over two minutes on 350 000 triples.

Consequences:

  • archsh:ModelQuestionShape and its companions check that a question has its label, ending in a question mark, one query, a stage and well-formed parameters, and that a finding names its severity and focus.
  • A deliverable section asks questions with arch:sectionAsks; arch:sectionQuery remains the inline form for a single query.
  • A tool runs a finding question beside SHACL validation and shows its rows as results on the concept its arch:findingFocus names.
  • What the rules propose is asked apart: Where could the model be more concrete? lists the potential derivations no modeller has confirmed, and Which relationships give rise to the most potential derivations? the stated relationships they rest on — each in the ArchiMate 4.0 and 3.2 question sets, answering only when the model's derivations are loaded.

DD-34: An Audience's Name Is a SKOS-XL Label; What a Diagram Label Says Is an Expression — Both per Presentation Context

Decision: What an element is called for one audience and what its label says on a diagram shown to that audience are two things, and each is said once.

  • The canonical name stays skos:prefLabel (the labelling contract in the core shapes). A name for one audience is a SKOS-XL label — skosxl:Label, its text skosxl:literalForm, language tagged — given to the element as skosxl:altLabel, its literal form also the element's plain skos:altLabel.
  • What a label says on a diagram is a core-vis arch-vis:LabelExpression: text with {…} placeholders for the element's name, its type and its properties, given with arch-vis:labelExpression on a diagram element's own style, on a concept's arch-vis:VisualNotation, or on a presentation context.
  • Both are for one audience with core's arch:inPresentationContext, whose object is a concept of a metamodel's arch:presentationContextScheme; without it they are for every audience.
  • In an expression, {name} is the element's name for the context shown — its SKOS-XL name for that context, else its skos:prefLabel — and {skos:prefLabel} is the canonical name, whatever the context.
  • Of the label expressions, the first that applies wins: the diagram element's own for the context shown, its own for every context, its concept's notation's for the context shown, its notation's for every context, the context's own. With none, the label is the element's name for the context shown.

Rationale: A presentation context is an audience — executive, architect, developer — and an audience differs in more than the look. It reads other names ("Card payments" for an executive, pgw-svc for a developer) and wants other things under them (the type, the owner, the interfaces). The look already follows the context through arch:usesNotationSet (DD-31); names and labels should follow it as directly, not through a notation set, which several contexts may share — every ArchiMate context uses the standard notation.

Names are data; labels are presentation. What an element is called for an audience belongs to the element: it holds in every view, in the model tree and search of a tool that shows it, in SPARQL and in reports — so it is model data. What a label shows is a template over that data, the same for every element of a kind — so it belongs to the notation, the context, or the one diagram element that needs its own. Writing an executive name into a label expression would mean an expression per element; writing "the type under the name" as a name would mean a name per element per audience.

SKOS-XL for names. It is the W3C's way to say something about a label — here, which audience it is for — and it keeps the labelling contract: tools that read plain SKOS still find every name, as skos:prefLabel or skos:altLabel.

Why skosxl:altLabel. SKOS-XL makes every skosxl:prefLabel a skos:prefLabel too, and SKOS allows one skos:prefLabel per language: a preferred label per audience in English would give an element several canonical English names.

The scoping property is core's. It is said of model data (a SKOS-XL label) and of diagram data (a label expression), so it belongs with arch:usesNotationSet and arch:presentationContextScheme, not in core-vis.

Alternatives rejected:

Alternative Why not
Label expressions scoped to a notation set Several contexts share a set — every ArchiMate context uses the standard one — so an audience could not have its own labels without a notation set of its own.
skosxl:prefLabel per context Every one is also a skos:prefLabel: several canonical names per language, against SKOS and the labelling contract.
dcterms:audience for the context Its range is dcterms:AgentClass: a presentation context would be inferred to be a class of agents.
Names per audience as label expressions only One expression per element per audience, and nowhere but on diagrams.
Names per audience as plain skos:altLabel A plain literal cannot say which audience it is for.
arch-vis:inPresentationContext The property scopes model data too; core-vis is the diagram layer.

Consequences:

  • Core 0.5.0 adds arch:inPresentationContext; core shapes 0.4.0 check that a SKOS-XL label has one language-tagged literal form and at most one context, that no skosxl:prefLabel is for one context, that an element has at most one name per context and language, and — a warning — that each name is also a plain skos:altLabel.
  • core-vis 0.7's arch-vis:LabelExpression is for one presentation context with arch:inPresentationContext; arch-vis:labelExpression may be said of a presentation context. arch-vis:inNotationSet keeps its one meaning: a notation's set.
  • A modelling tool asks for the active context, labels with it, and switches labels and names when the context is switched — whether or not the context picks another notation set.
  • Names and labels per presentation context documents every case, and examples/labels-per-presentation.ttl shows each one with the label it gives in each context.

DD-35: An Audience's Picture Is an ImageObject; a Diagram Element's Look per Audience Is a Style per Context

Decision: Pictures and looks per audience follow the pattern of names and labels (DD-34): several values, each for one presentation context (arch:inPresentationContext) or for every context, at most one per context.

  • An element's picture for every audience is arch:prefVisNotation; one for an audience is an arch:altVisNotation whose value is a schema:ImageObject with schema:contentUrl (an xsd:anyURI) and arch:inPresentationContext. A value may still be the image's own IRI, as published notations write it. arch:prefVisNotation and arch:altVisNotation say where they apply with arch:domainIncludes — concepts, model concepts, visual notations — not rdfs:domain skos:Concept.
  • A diagram element may have several arch-vis:style values: at most one for every context and at most one for each. Drawn for a context, its style for that context is laid over its style for every context, value by value. arch-vis:style is no longer an owl:FunctionalProperty.
  • A diagram element drawn as its icon (arch-vis:IconCentric) shows, unless its own style names an arch-vis:iconSymbol, its element's picture for the context shown, then its notation's glyph. Drawn as a box, it shows that picture inside, unless its style gives it a picture or an icon of its own; the badge stays the notation's glyph — unless its style says arch-vis:useElementPicture (core-vis 0.8), which makes the picture its badge.

Rationale: The aim is a diagram that shows each audience its own picture, drawn its own way — inside the box for developers, as the whole figure for executives. That is two things. A picture that belongs to an element — a logo, a product image — is model data, like its name: it holds in every view and in documentation, so it is on the element. How a diagram element shows it — inside, at a position, or as its figure — is that diagram element's look, so its look has to be able to differ per audience: a style per context.

An ImageObject for an audience. An image's own IRI cannot carry which audience it is for, and the same image may serve several elements and audiences; arch:altVisNotation's range is already schema:ImageObject, a resource that can — exactly as a SKOS-XL label does for a name.

The domains. With rdfs:domain skos:Concept, giving an element a picture made it a SKOS concept under RDFS.

Several styles, each for a context. A style is the one place a diagram element's look is said, and the look per audience is the same kind of statement; letting a style name its context keeps one place and one pattern.

The badge keeps the type — unless asked. In ArchiMate the badge says what kind of element it is, so on a box the element's picture is drawn inside it and the badge is left to the type. A picture replaces the glyph where the element is drawn as its icon, which is where a picture is meant to be the figure, and in the badge where a diagram element's style asks for it (arch-vis:useElementPicture) — for an audience that knows the types already. core-vis 0.7 drew the picture only as the icon: choosing an audience then showed nothing of it on a box, while its name for that audience was shown. core-vis 0.8 draws it inside the box, and adds the badge. The badge follows the element's picture rather than holding a copy of it, as an icon drawn IconCentric with no icon of its own already did.

Alternatives rejected:

Alternative Why not
A single style with per-context overrides hung under it (arch-vis:contextStyle, say) Keeps arch-vis:style single-valued, but a new term and a second shape of the same idea; several styles each optionally for a context follow names, pictures and label expressions.
The context on the image's own IRI The same image may be used for several elements and audiences; it is not this element's picture for this audience.
A picture per audience only on the diagram element (arch-vis:image per context) The picture of an element would be repeated on every diagram element of it, in every view, and never reach documentation.
An element's picture replacing the badge by default It would hide the element's type wherever a picture is given; a diagram element's style asks for it instead.
The element's picture copied into the diagram element's arch-vis:iconSymbol for the badge A copy: a new picture for the element, or its picture for another context, would not be followed.

Consequences:

  • core 0.5.0: arch:inPresentationContext also scopes a schema:ImageObject and an arch-vis:Style; the two picture properties use arch:domainIncludes. Core shapes 0.4.0 check pictures: one address and one context at most, an address for one with a context, no context on an arch:prefVisNotation, one picture per context.
  • core-vis 0.7: arch-vis:style may have several values; core-vis shapes 0.3.0 check at most one for every context and one per context, and that a style is for at most one context. Data with one style per diagram element is unchanged in meaning.
  • core-vis 0.8: an element's picture is drawn inside a box; arch-vis:useElementPicture makes it the badge; core-vis shapes 0.4.0 check that it is one xsd:boolean.
  • A modelling tool's image settings for a diagram element — a picture inside, as the figure, or as the badge — can be made for the presentation chosen or for every presentation.
  • Names, Labels and Pictures per Presentation Context and examples/labels-per-presentation.ttl show every case.

DD-36: A Classification Dimension Is a Concept, Its Order a Thesaurus Array; the Palette and the Diagram Each Have Their Order

Decision: A taxonomy that classifies along several dimensions — ArchiMate's by layer (by domain in 4.0) and by aspect — keeps each dimension a skos:Concept, named as what it is (Domain, Layer, Aspect), its groups skos:broader it (DD-37). Where the groups have an order, an ISO 25964 thesaurus array gives it: a skos:OrderedCollection, typed iso-thes:ThesaurusArray as well, attached to the dimension with iso-thes:superOrdinate and listing its groups in skos:memberList. Two further ordered collections in the taxonomy say how tools present the classification, and the metamodel manifest points to each, as it points to its default notation set:

  • arch:paletteGrouping — the dimensions a palette groups element types by, the main one first: a section for each group of the first dimension, in its array's order; within a section, element types in their groups' order in the other dimensions, then by name.
  • arch:diagramGroupOrder — the groups a diagram keeps in bands, top band first. It may take groups from different dimensions and need not follow the palette's order.
:Domain          a skos:Concept ; skos:topConceptOf <https://meta.linked.archi/archimate4/tax#> .
:BusinessDomain  a skos:Concept ; skos:broader :Domain .                    # the classification

:DomainOrder                                                                 # the order
    a                      skos:OrderedCollection, iso-thes:ThesaurusArray ;
    iso-thes:superOrdinate :Domain ;
    skos:memberList        ( :CommonDomain :BusinessDomain :ApplicationDomain :TechnologyDomain
                             :StrategyDomain :MotivationDomain :ImplementationAndMigrationDomain ) .

Rationale: The classification and the order are two things, and each takes the construct made for it. skos:broader is the classification: the Business Domain is narrower than Domain, which a SKOS browser, a SPARQL query or a person reading the hierarchy follows without knowing of any order. A collection is SKOS's construct for a list of concepts and, ordered, for their order — but a collection is not a concept, so it has no place in the hierarchy, and SKOS has no property that says whose narrower concepts it lists. ISO 25964's SKOS extension fills that gap: iso-thes:ThesaurusArray is a group of sibling concepts, and iso-thes:superOrdinate attaches it under the concept they are narrower than. A tool finds a dimension's order from the dimension, by a published term, and one that never reads the array still has the whole classification. The array is unordered as a skos:Collection; typing it a skos:OrderedCollection as well gives it the order.

Kept in step. The groups are stated twice, as narrower concepts and as members of the array, and the two could drift apart; the CI run checks that each array lists every concept narrower than its superordinate, once, and nothing else.

Two orders, not one. The palette and a layered diagram want different orders: the palette lists the core layers first, while a diagram puts motivation and strategy at the top. ArchiMate 3.2 has no motivation layer — motivation is an aspect there — yet its diagrams draw it on top; a band order is an arrangement, so it can list the Motivation aspect first among the layers without changing the classification. ArchiMate 4.0's Common Domain holds elements used in every domain; leaving it out of the band order places each by the elements it is related to.

In the taxonomy, pointed to by the manifest. The lists are made of the taxonomy's own concepts, so they live beside them; the manifest says which lists are the language's, as it says which notation set is its default. A tool follows the pointer rather than searching for a typed list, so two lists in one taxonomy cannot make it ambiguous, and the same properties can later be set on a viewpoint that arranges its views differently. The palette grouping lists the dimensions themselves, the concepts; each brings its own order.

Alternatives rejected:

Alternative Why not
The dimension an ordered collection of its groups, not a concept The classification flattens: the groups become top concepts, or move under a broader concept, and the dimension leaves the hierarchy a SKOS browser or a query follows.
The order in a list linked to the dimension by a property of our own, or by rdfs:seeAlso A new term for what ISO 25964 names, or a link that does not say what it links; a tool would need to be told either.
A rank on each group (sh:order or an own property) The order is spread over every group and read back by sorting; adding a group can renumber others, and two groups can share a rank.
A core class typing the lists (arch:GroupOrder), found by searching Nothing points to the list; a tool searches each taxonomy for the type, and a second typed list makes it ambiguous.
One order for the palette and the diagram They want different orders, and ArchiMate 3.2's motivation is not a layer.
The band order on the notation set A notation set says how each concept looks, not how a diagram arranges the language's groups.

Consequences:

  • Core: arch:paletteGrouping and arch:diagramGroupOrder, presentation properties of arch:Metamodel.
  • ArchiMate 3.0, 3.1, 3.2 and 4.0 taxonomies: a thesaurus array for each element dimension — :LayerOrder (3.x) or :DomainOrder (4.0), and :AspectOrder — and :PaletteGrouping and :DiagramGroupOrder. The 3.2 and 4.0 manifests point to the last two. The relationship categories have an order too, :RelationshipOrder, the specification's; a palette groups the relationship types by category in it. Each category's relationships have their order too, strongest first as the specification lists them: :StructuralRelationshipOrder, :DependencyRelationshipOrder and :DynamicRelationshipOrder, thesaurus arrays under their categories. The order of strength the derivation rules apply, weakest first (:StructuralStrength, :DependencyStrength), stays apart from it. A group of element types may order its own members the same way, where aspect and name do not give the order wanted: ArchiMate 4.0's :CommonDomainOrder, behaviour first.
  • The CI run checks every thesaurus array against the concepts narrower than its superordinate.
  • A tool groups and orders its palette, and keeps a diagram's elements in bands, from data — no layer or aspect named in its code. Build Your Own Modelling Tool states the palette's rules (PAL-11) and the bands'.

Decision: The ArchiMate 4.0 and 3.2 taxonomies name each classification dimension as the concept it is — Domain (Layer in 3.2) and Aspect, with "Element by Domain" and the like as alternative labels — and each of its narrower concepts is one domain, layer or aspect, defined as such. Next to each skos:broader and skos:narrower, they write the ISO 25964 relation it is:

  • A domain, layer, aspect, sub-aspect or relationship category is a kind of its broader concept: iso-thes:broaderGeneric.
  • An element type is part of its domain (or layer) and of its aspect: iso-thes:narrowerPartitive.
  • A relationship type is a kind of its category: iso-thes:narrowerGeneric. The categories are kinds of relationship, narrower than :Relationship.
  • An and- or or-junction is a kind of junction: iso-thes:narrowerGeneric. A junction is a concept of the language beside the elements and the relationships, in no domain, layer or aspect, so :Junction is a top concept of its own.
:Domain          a skos:Concept ; skos:prefLabel "Domain"@en ; skos:altLabel "Element by Domain"@en .
:BusinessDomain  skos:broader  :Domain ;            iso-thes:broaderGeneric    :Domain ;            # a domain
                 skos:narrower am4:BusinessActor ;  iso-thes:narrowerPartitive am4:BusinessActor .  # part of it
:InternalActiveStructure
                 skos:broader  :ActiveStructureAspect ; iso-thes:broaderGeneric :ActiveStructureAspect ;
                 skos:narrower am4:BusinessActor ;  iso-thes:narrowerPartitive am4:BusinessActor .
:StructuralRelationship
                 skos:broader  :Relationship ;      iso-thes:broaderGeneric    :Relationship ;
                 skos:narrower am4:Composition ;    iso-thes:narrowerGeneric   am4:Composition .

Rationale: ISO 25964 tests a kind-of link with "every X is a Y", and typing the links makes each concept say what it means. "Element by Domain" names how the elements are divided — what ISO 25964 calls a node label — and is no concept anything is a kind or a part of; Domain is one, and the Business Domain is a domain. A domain or an aspect is then not a class of elements, so an element type is no kind of it: a business actor is part of the business domain and of the internal active structure aspect. What kind of element it is — an internal active structure element — is said of classes, by the ontology (am4:BusinessActor rdfs:subClassOf am4:InternalActiveStructureElement), which the aspect concept points to with rdfs:seeAlso. The taxonomy says where an element type belongs, the ontology what it is. Part-of holds where the part belongs to one whole: each element type is under one domain or layer and one aspect. Relationship categories are classes of relationship — a composition is a structural relationship — so kind-of holds from a relationship type up to the concept for relationship.

Next to SKOS, not instead. The ISO 25964 properties are sub-properties of skos:broader and skos:narrower, so a reasoner would infer the SKOS link; written out, a tool that reads SKOS alone — a palette, a SKOS browser, a query — sees the hierarchy without inference.

Kept in step. Each link is stated twice; the CI run checks that in a taxonomy that types any link, each SKOS link has one ISO 25964 type next to it and each typed link its SKOS link.

Alternatives rejected:

Alternative Why not
Keep "Element by Domain" and "Element by Aspect", every link kind-of Every link passes only by reading each concept as a class of elements, and the dimensions as two concepts for "element"; they stay node labels, not concepts.
Kind-of from an aspect to its element types "A business actor is an internal active structure element" holds of classes; under Aspect, kind-of all the way up makes a business actor an aspect.
One "Element" concept, the dimensions as labelled arrays under it (ISO 25964's node labels) The dimension leaves the concept hierarchy, which DD-36 keeps it in.
The instance relation (iso-thes:broaderInstantial) from a domain to Domain The Business Domain is strictly one domain, an instance; kind-of is the common reading, and treats domains, layers, aspects and sub-aspects alike.
3.2's Relationship by Category kept under ArchiMate Relationship Two concepts for relationship, one narrower than the other.
3.2's ArchiMate Concept above relationships and junctions The elements are classified by layer and by aspect, not under it, so it classified only what Relationship and Junction already do; ArchiMate 4.0 has no such concept.

Consequences:

  • ArchiMate 4.0 and 3.2 taxonomies alike: top concepts :Domain (:Layer in 3.2), :Aspect, :Relationship and :Junction, the earlier names ("ArchiMate Relationship", "ArchiMate Connector") kept as alternative labels in 3.2.
  • ArchiMate 3.2 taxonomy: its classification follows the specification, which the one-whole rule brought to light: Strategy is a layer only (§3.5, §7), its elements in the aspects §7 gives them; a Structure aspect stands above Active and Passive Structure, the resource directly under it — a structure "neither active nor passive" (§7.2.1); and the physical elements are part of the Technology Layer (§3.5, §10.5), not a layer of their own.
  • Each domain, layer and aspect, and each top concept, cites its section of the specification (dcterms:source).
  • ArchiMate 3.0 and 3.1 keep their untyped classification.
  • The CI run checks every typed taxonomy's links against their SKOS links.

DD-38: The Order of Proposal Is Ordered Collections the Manifest Names, by the Kinds of the Two Elements, Under One Rule

Decision: A metamodel names the orders in which a modelling tool proposes relationships when two elements are connected with arch:relationshipProposalOrder, as it names its palette grouping and diagram group order (DD-36): skos:OrderedCollections of relationship types, in its taxonomy. One with no arch:domainIncludes or arch:rangeIncludes is the general order; the others name the kinds of element they apply to, by the ontology's abstract classes, and a subclass is of its superclass's kind. One rule, core's definition of the property, combines them: a tool proposes what the language lets a modeller draw directly, then what it permits only as the conclusion of a derivation, then the relationship to use where no other fits; within each group, a relationship takes the place the most specific order that lists it gives it — both elements named before one, a subclass before its superclass.

am4mm:ArchiMate4 arch:relationshipProposalOrder am4tax:ProposalOrder, am4tax:BehaviorProposalOrder, … .

am4tax:BehaviorProposalOrder
    a                   skos:OrderedCollection ;
    arch:domainIncludes am4:BehaviorElement ;
    arch:rangeIncludes  am4:BehaviorElement ;
    skos:memberList     ( am4:Triggering am4:Flow am4:Composition am4:Aggregation am4:Serving
                          am4:Specialization ) .

Rationale: What a tool proposes first depends on both elements: between two processes one triggers the next, a process realizes the service it provides, a collaboration aggregates its roles. One general order, strongest first, gets the behaviour wrong, and a handful of exceptions for concrete pairs leaves every other pair to it. The kinds the ontology already has — behaviour, service, strategy behaviour, motivation, composite — say it once for every element of the kind, and the same lists serve ArchiMate 3.2 and 4.0, because the relationship tables decide what each permits and a list only orders it.

Each definition says one thing. The tables say what is permitted and whether directly; the orders say the order; the figures the specification draws (draws… in the relationship tables) say what it illustrates, which a tool may show but does not rank by. As a ranking tier, the figures split the order — a relationship they do not draw fell below every one they do, so composition between two processes came after flow in 4.0 and before it in 3.2 — and an edge between abstract types, expanded to every pair beneath, put assignment first between two roles.

Derivation still demotes. Letting a derived relationship keep the place its order gives it was measured over every pair of element types: it put a derived relationship before a direct one in 46 pairs, 42 of them for the worse — in 3.2, across layers, triggering before the realization the tables permit directly.

Each order earns its place. An order that, taken out, changes what is proposed for no pair is not written: the general order, with the three groups, already gives assignment first from active structure to behaviour and access from behaviour to passive structure.

Named, not searched for. A tool follows the pointer from the metamodel's own document, so a model file cannot add an order, and with two languages loaded each metamodel's orders are its own.

Alternatives rejected:

Alternative Why not
A core class typing the orders (arch:RelationshipProposalOrder), found by searching Any loaded graph, a model file included, could change the proposals, and nothing says which language an order is for.
One general order, and exceptions for concrete pairs Every pair no exception names takes the general order, which puts structure before behaviour.
The metamodel figures as a ranking tier They describe the metamodel; they split the order and, expanded from abstract types, rank oddly.
A derived relationship ranked only by its order 42 pairs worse for 4 better.
The general order read from the category arrays, with no list The rule would need to know where the arrays are and that association goes last; the list is checked against them instead.

Consequences:

  • Core: arch:relationshipProposalOrder, a property of arch:Metamodel in the modelling category — guidance for modelling, which a tool with no diagram uses too — its definition the rule; arch:RelationshipProposalOrder removed.
  • ArchiMate 4.0 and 3.2 taxonomies: the general order and nine more — between behaviour elements, from internal behaviour to a service, from internal active structure to a service, between strategy behaviour elements, between capabilities, from a collaboration, between motivation elements, to a meaning or a value, from a composite element — and the manifests name them.
  • From internal active structure to a service (added 2026-11-29): every relationship the tables permit there is derived, so the general order alone proposed assignment first from an application component to its service. Realization comes first now, then serving and assignment. An interface is external active structure: its assignment to the service it exposes is drawn directly, and stays first. The first proposal changes for 23 pairs, 9 in 4.0 and 14 in 3.2.
  • The CI run checks that each manifest names one general order, the specification's with association last, and every scoped order of its taxonomy, and that each scoped one lists only relationships the tables permit between some elements of the kinds it names.

DD-39: A Governance Process Is an Element of a Model of the Practice

Decision: The process concepts of the Architecture Processes extension — ap:ArchitectureProcess, ap:ProcessActivity, ap:ProcessTask, ap:ProcessMilestone, ap:ProcessDeliverable and, through it, ap:InformationItem — are element types: subclasses of arch:Element, as ap:ProcessRole is through arch:Stakeholder. The extension has a metamodel manifest (apmm:ArchitectureProcesses), a taxonomy, and a relationship type for each link worth drawing, each naming the existing ap: predicate as its arch:unqualifiedForm. The lifecycle stages stay values: ap:atLifecycleStage sets one on an element.

ap:ArchitectureProcess rdfs:subClassOf arch:Element .

ex:ArchReviewProcess a ap:ArchitectureProcess ;
    ap:hasActivity ex:ReviewExecution ;
    ap:governs     ex:PaymentPlatform .

Rationale: A process is no constituent of the system it governs: a review board is not a component of the platform it reviews. That is a statement about what a process is, and it is kept — a process relates to the architecture with ap:governs, ap:input and ap:output, never as one of its parts. Whether it can be placed in a model is another question. Core defines arch:Element as the elements or nodes used in models, not as the parts of a system; arch:Stakeholder, as much outside the system as a process, is one. A model of the architecture practice — who reviews what, in which steps, producing which deliverables — is a model, and its nodes are elements.

What it gives. A modelling tool works with elements and the relationships between them: with the process concepts outside arch:Element, a process description could only be written as data and read by query. As element types, a process map, a view of who performs and approves what, and a view of what a process governs are drawn like any other view, and validated by the same element shapes.

What follows. The classes that specialise these — the processes, activities, tasks, information items and deliverables of ISO/IEC/IEEE 42020, 12207 and 15288, and EA on a Page's processes and phases — are element types too. A class that only groups its subclasses is marked arch:isAbstractClass.

Which process type. ap: describes the practice's own processes. The enterprise's business processes are modelled in the language of the model — ArchiMate's business process, BPMN; a model may hold both.


DD-40: The Core Has Four Relationship Types, for Elements No Language Relates

Decision: The core defines four relationship types of its own, each a subclass of arch:QualifiedRelationship with its unqualified predicate and its qualified property: arch:Association (arch:associatedWith, a symmetric property — it has no direction), arch:DependsOn (arch:dependsOn, with the inverse arch:dependencyOf), arch:HasPart (arch:hasPart) and arch:Refines (arch:refines). They relate any two model concepts. A modelling tool offers them where the loaded metamodels permit no relationship between two elements, and not where one does. Depends On runs from a model concept to one it needs, to work or to be specified or built, so that a change to the second may affect the first. It is not transitive. The core notation (DD-42) draws it as a dashed line with an open arrowhead at the concept depended on, and nesting does not draw it.

A language's relationship types relate its own concepts, and a tool offers them only there. The hints on a type's predicate (arch:domainIncludes, arch:rangeIncludes) name the classes of its own language that it relates: C4's c4:uses names C4's people, software systems, containers and components, and Basic's basic:connection names Basic's three element types. A language that publishes relationship shapes lists in them the pairs each type relates, in the form ArchiMate's take from its relationship tables: per relationship type, an sh:or of each source class with its target classes, and per source class, the targets its direct triples may reach. ArchiMate, C4, Backstage and LeanIX publish theirs so, and there the shapes decide what a tool offers as well as what validation accepts. arch:Element or arch:ModelConcept at one end of a type whose other end names a class of its own stands for any concept of any language: the decision extension's links run from an option to any concept it changes. A type whose hints name only core classes, or none, says nothing about any language's concepts, and a tool offers it only between concepts of the metamodel that defines it. A tool never offers a relationship type marked arch:isAbstractClass true.

ex:Billing arch:associatedWith ex:LatencyRisk .          # an ArchiMate component and an ATAM risk
ex:Billing arch:qualifiedAssociation ex:rel-1 .
ex:rel-1 a arch:Association ;
    arch:source ex:Billing ;
    arch:target ex:LatencyRisk ;
    rdf:reifies <<( ex:Billing arch:associatedWith ex:LatencyRisk )>> .

ex:Billing arch:dependsOn ex:PaymentsApi .               # an ArchiMate component and a Backstage API
ex:Billing arch:qualifiedDependsOn ex:rel-2 .
ex:rel-2 a arch:DependsOn ;
    arch:source ex:Billing ;
    arch:target ex:PaymentsApi ;
    rdf:reifies <<( ex:Billing arch:dependsOn ex:PaymentsApi )>> .

c4:uses arch:domainIncludes c4:Person, c4:SoftwareSystem, c4:Container, c4:Component .     # C4's own
ad:modifiesConcept arch:domainIncludes ad:Option ; arch:rangeIncludes arch:ModelConcept .  # any concept
# Everything a change to the payments API may affect, however long the chain.
SELECT DISTINCT ?affected WHERE { ?affected arch:dependsOn+ ex:PaymentsApi }

Rationale: A model draws on several metamodels — a language, and the extensions and frameworks added beside it. Each defines the relationships between its own element types: between an element of one and an element of another, or between two of a metamodel that defines no relationship types, nothing was permitted, and nothing could be drawn. The core already said what two model concepts can be to each other whatever their kind — one is a part of the other, one refines the other — as properties; as relationship types, and with an association that says the least, they can be drawn.

Why only where nothing else is permitted. A language's relationship says more than the core's: ArchiMate's composition and association carry the specification's meaning and its derivation rules, and a tool that offered arch:HasPart beside them would invite two ways to say one thing. So the core's types are the fallback of a pair, not an alternative to its language.

Why a symmetric property. An association has no direction, and says so in the data: a tool draws a relationship type from its source to its target, with an arrowhead, unless its predicate is symmetric.

Why a dependency among them. Association, the one that claims nothing specific, has no direction, and Has Part and Refines have a direction but say something else, so without Depends On nothing could say between concepts of different languages that one needs the other. A question about the impact of a change follows a dependency's direction, and an association cannot be followed one way. The core names that analysis among its question stages (arch:AnalysisStage: "Dependencies, traceability, realization and the impact of change"). A dependency holds whatever the kind of concept, as a part and a refinement do, and many of the languages define one of their own: UML's Dependency and its Usage, Backstage's dependsOn, the decision extension's dependsOn, C4's and LeanIX's uses, and ArchiMate's serving, which runs the other way, from what serves to what is served.

Why "depends on" and not "uses". Using is one kind of depending — UML's Usage is a subclass of its Dependency — and reads oddly between two decisions or two requirements. A type offered for any pair, as Association is, should say no more than holds for any pair.

Why from the dependent. The arrow points at what is needed, as UML's and Backstage's dependencies do: ex:Billing arch:dependsOn+ ?needed is everything Billing needs, and ?affected arch:dependsOn+ ex:PaymentsApi everything a change to the API may affect. arch:dependencyOf is declared for data written the other way round; read as the inverse, it is the same statement.

Why not transitive. arch:hasPart is an owl:TransitiveProperty; arch:dependsOn is not. A chain of dependencies is a path that a question follows when it wants one (arch:dependsOn+), and a dependency the model states stays distinct from one that only follows from others. Declared transitive, every indirect dependency a reasoner inferred would look stated.

Why dashed. Has Part and Refines are solid lines with an open arrowhead at the target (DD-42). A third such line would leave a reader to tell a dependency from a part by its label alone. A dashed line is also how UML draws a dependency.

The languages' own dependencies. Each language's dependency predicate is a subproperty of arch:dependsOn or arch:dependencyOf, so that one question follows dependencies across languages (DD-44).

Why a language names its own classes. A tool reads the hints to decide what to offer between two elements, and arch:Element there admits every element of every loaded language. A language that wrote it to mean "any of my elements" had its relationship offered between elements of two other languages: C4's Uses between an ArchiMate component and an EDGY capability. Because a language's type was then permitted, the core's types were not offered there at all, and a line drawn so could not be changed to one of them. Naming its own classes says what the language meant, and leaves arch:Element to the types that relate any concept.

Why a type that names no class of its own stays in its language. Some types have no predicate to carry hints, such as BPMN's message flow association and UML's transition, and a metamodel published elsewhere may name only arch:Element. Neither says anything about the concepts of other languages, and a tool reads nothing into that: such a type relates the concepts of the metamodel that defines it, which are those of the documents its manifest names as its concepts, and of what those import.

Why never an abstract type. An abstract relationship class classifies its subclasses, as EDGY's Enterprise Relationship does its Link, Flow and Tree. It carries no hints, so it admitted every pair, and a tool offered it first between any two elements.

Why the shapes list the pairs too. Hints guide a tool and decide nothing, so shapes that admitted any element at an end let a model hold, unreported, a relationship a tool no longer offered: C4's Using between a C4 container and an ArchiMate component. Listed as ArchiMate's are, the shapes reject it as they reject an ArchiMate relationship outside ArchiMate's tables, and a tool that reads them offers what they permit. A converter that relates an element no class of the language describes, such as a Structurizr workspace's custom element, writes one of the core's types instead.


DD-41: One IRI Layout for Every Tool — Resources by Kind, Shapes in Their View

Decision: Every tool that mints IRIs for model data — la-gram, la-gram-git, every converter and the ArchiMate derivation rules — writes them in one layout, one level below DD-29:

{base}{notation}/{modelId}/        the model namespace, declared on the model with VANN
{ns}model                          the arch:Model
{ns}{kind}/{id}                    a resource with an identity of its own: element, relationship, view, folder, …
{view}#{node|link}-{id}            a shape drawn in a view: a node or a link, named in the view's IRI
{shape}-{part}[-{key}]             a part of a shape: its style, its route's cells and points, its label
{owner}/{part}[/{key}]             a part of any other resource: a name, a picture, a folder's list entry

{notation} is the notation's slug. The ArchiMate converter writes model there by default (--path-model) and keeps it, so the element, relationship and view IRIs it has written keep their form. No tool reads the segment: a model's namespace is the one it declares.

The namespace is an https: or http: IRI that ends in / and holds no # or ?. A shape adds the one # an IRI may hold, so a namespace with a # would give it two, and a URN has no path for a name relative to @base to resolve against or for a page to be served from. la-gram and the converters refuse any other namespace for a new model.

A node or a link is drawn in one view and never moves to another, so it is named in that view: the view's IRI as it was minted, #, the kind, - and an identifier unique within the view. A shape's parts stay in its fragment, joined with -: {view}#link-{id}-point-0. An IRI holds at most one #, and after it every name is joined with -, which a Turtle local name holds as it is.

The identifier is chosen in this order:

  1. a random UUID, chosen when the resource is made in a modeller, and kept for life;
  2. otherwise, the source's own identifier, where the source format keeps it unique within the model, or for a shape within its view;
  3. otherwise, a digest of what identifies the resource.

A shape that the source gives no identifier of its own takes the identifier of what it shows, its element or its relationship, which a view draws once: Structurizr's, PlantUML's and LeanIX's nodes and links are named so. A converter fails a conversion in which two shapes of one view would get one IRI, or in which a shape would get the IRI of another shape's part: a node n1-style beside a node n1.

The form is fixed per source format and does not change with the other files of a run. Where a format keeps its identifiers unique only within a file, as BPMN does, a view's shapes all come from one file, so their ids are unique in it. An element or relationship keeps its id, and the same id in two files of one model names one resource, which the converter checks the files agree on. An identifier is one path segment, except where the source identifies a resource by several parts: a Backstage entity is {kind}/{namespace}/{name}. The source identifier is kept as skos:notation.

Two rules hold for every tool:

  • Meaning is read from the triples. An IRI is read for two things only: the model namespace a resource is in, by the model's vann:preferredNamespaceUri, and the resource a shape or a part belongs to. Whatever follows a # is in the view before it; which of the view's shapes a part belongs to is read from the triples that name it. Any other part belongs to the nearest enclosing resource, cut at a /.
  • A tool never rewrites the local part of an IRI, whichever tool minted it. A namespace change swaps the namespace and keeps every local part. It is done on the main branch, in a commit of its own, and a converted model gets a new namespace by being converted again with a new base.

Rationale:

  • One layout across tools. The converters already write {kind}/{id} for elements, relationships and views, and linked-archi-apm and linked-archi-platform build …/element/{id} and …/view/{id} in their queries and checks. la-gram was the one tool writing {kind}-{id}. A reader that takes more from an IRI than the two things above has to move to the triples, as rdf2docs must (see Consequences).
  • A shape is part of its view. A node, a link, its route, its style and its label mean nothing outside the view that draws them, and a node never moves to another view: Duplicate view and paste make new ones. Named in the view's IRI, a shape's IRI pasted in a browser opens the view's page and scrolls to the shape, because the browser fetches the view and keeps the fragment. Measured on the converters' sample outputs, from the ArchiMate, BPMN, PlantUML and Structurizr converters (2,637 nodes, links and route points in nine graphs): every shape's IRI names a view page that exists, and every fragment matches exactly one id on the view pages rdf2docs generates. On a rebuild of ArchiSurance's ArchiMate views as la-gram saves a model (938 nodes, 386 links and 1,647 parts of them), every shape and every part of one opens its view. Named {ns}node/{id}, none does.
  • Few collisions, checked, and no digests. Structurizr, PlantUML and LeanIX name a node after the element it shows, so one id appears in every view that draws the element: 34 LeanIX ids and 11 PlantUML ids in ArchiSurance. Scoped by the view, they keep the source's names and collide nowhere. BPMN's shape ids, unique only within a file, are unique within a view. A - can run a shape's id and a part's name together: the style of node n1, {view}#node-n1-style, is the IRI of a node whose id is n1-style. A UUID never ends in a part's name. A source id that does is caught where the shapes are named: a converter fails the conversion, and la-gram's Exchange import gives that shape a UUID.
  • Re-runs. Source identifiers and digests depend on the source alone, and their form does not depend on which other files a run converts. Converting an unchanged source gives an unchanged graph, and git diff shows changes rather than churn (ADR 0008).
  • Merging does not decide the layout. Seven three-way merge scenarios were run with la-gram-git merge and with git merge-file on the flat layout, shapes nested under their view and shapes as {ns}node/{id}: different views, the same view, a link rerouted on both sides, a point inserted at the start of a route, additions against renames, nodes added to one view on both sides, and a namespace change against a rename. Every layout gave the same conflicts and the same merged triples. The merge compares IRIs as whole strings and finds what a shape or a part belongs to from the triples, so a fragment changes nothing. The only scenario that broke every layout was the namespace change, hence the rule on namespace changes.
  • Size. A prefix per kind keeps a resource's name short (me:{id}). A Turtle prefixed name holds a / or a # only escaped, so a writer binds a prefix per view to {view}#, named by a digest of the view's IRI so that it does not change when other views come and go, and writes a shape as mv3ef7da72:node-{id} and its style as mv3ef7da72:node-{id}-style instead of repeating its view in every name. la-gram's import of the ArchiSurance 3.1 Exchange file (27,401 triples), whose view ids are the source's short ones such as id-54880, is 1,006 KB as Turtle, against 1,172 KB with la-gram's flat names and 1,030 KB with its shapes relative to @base; gzip takes them to 61 KB, 113 KB and 60 KB. With every id a UUID, as la-gram names what it makes, the layout is within 1% of the flat names, and smaller gzipped. The import's 3,202 shapes and parts of shapes are written 6,194 times with their view's prefix, and joined with / after the # they would take 11,058 escapes, 11 KB.
  • Three forms are kept for identity. The ArchiMate converter's model segment and Backstage's three-segment identifiers stay as they are. So does a BPMN collaboration diagram whose view no index names: it is the first process of its participants that the file defines, so its IRI is the process's, {ns}element/{processId}, rather than {ns}view/{id}. Changing any of them would rename IRIs already written and referenced, every ArchiMate element, every Backstage entity or every such view, for a consistency no tool reads.

Alternatives rejected:

Alternative Why not
Flat local names, {ns}element-{uuid} (la-gram until now) Short prefixed names (m:element-…), but a second layout beside the converters', and a reader that takes a model from the IRI files every flat model under its notation.
Names after the # joined with /, {view}#node/{id}/style Reads as a path, but a Turtle prefixed name holds a / only escaped, so every shape and part of one is written mv3ef7da72:node\/{id}\/style.
Shapes as resources of their own, {ns}node/{id}, with a digest of the view and the element where the source names a node after it (this decision's first draft) The shortest Turtle (mn:{id}), but a shape's IRI pasted in a browser finds no page unless a generator writes a redirect for every shape, a digest hides both the view and what the node shows, and the name leaves out the one thing a shape never changes, its view.
Shapes as paths under their view, {ns}view/{v}/node/{id} (converters until now) Scoped by the view as this decision is, but view/{v}/node/{id} is the path of a page that does not exist, so a pasted IRI finds nothing, and it reads as a resource below the view to a reader that takes a model or a page from the path. For a BPMN view that is its process it named view/{diagramId}, which is not the view's IRI: 105 of ArchiSurance's 1,698 shapes.
Prefixes per view numbered in order, v1:, v2: Shorter, but adding or removing a view renumbers the prefixes after it, and every line that names one of their shapes changes in a diff.
Moving the ArchiMate converter to archimate/ Renames every element, relationship and view IRI it has written, and every reference to them, for a segment no tool reads. A deployment that wants the slug passes --path-model archimate, as linked-archi-platform does.
One segment for a Backstage reference: component:default:payments-service, or percent-encoded Renames every Backstage element. A : cannot appear in a Windows file name, which a reader writing one file per resource needs, and percent-encoding leaves the IRI unreadable. The three segments parse back, because no part of a reference can hold a /.
An identifier whose form depends on the run: for BPMN nodes, the shape id for one file and a digest for several Adding a file renames every node of the others.
BPMN nodes named by the shape id alone, {ns}node/{shapeId} Shape ids are unique only within a file, and bpmn.io derives them from the element's id, so an element drawn in two files' diagrams gives two shapes with one IRI.
Random UUIDs in converters Every run mints new IRIs, so diffs, merges and links to the model break.
The specific type in the IRI, {ns}ApplicationComponent/{id} A retype changes the identity.
Positions for every part Inserting a value renumbers the parts after it. Positions are kept only where the position is the identity: an rdf:List cell and its point, and the second and later anonymous composites of one kind under one owner.
A kind for derivations, {ns}derivation/{digest}, and the derivation activity as a resource of its own A derivation is a qualified relationship of its relationship's class, which relationship names, and its activity exists only for the derivation it generated.
Derived names keyed with PartIri.encode, which prefixes each part with its length SPARQL's STRLEN counts characters, where Kotlin and JavaScript count UTF-16 code units, so the rules and the tools would build different keys for an IRI outside the Basic Multilingual Plane. No IRI holds a space, so IRIs joined by spaces are unambiguous.
Keeping SHA-1 for derived names, as {ns}derivation-{sha1} had it A second digest beside the converters', for names that change once anyway.

Consequences:

  • The converters' model, node and link IRIs change once. The model, {base}{notation}/{modelId} today, becomes {ns}model; {ns}view/{v}/node/{id} becomes {view}#node-{id}, and {ns}view/{v}/link/{id} and the ArchiMate converter's …/connection/{id} become {view}#link-{id}, their parts joined to them with -. The ids stay the source's, and a BPMN view's shapes move to the view's own IRI. The identity lock does not catch the change, since it records model and view ids and those stay, so the converters' changelog declares it. Each converted model says that its old IRI is replaced, as the converters do for a model whose id changes: owl:sameAs and dct:isReplacedBy from the old IRI, dct:replaces from {ns}model. Element, relationship and view IRIs keep their form, the ArchiMate converter's model segment, Backstage's three segments and a BPMN view that is its process included.
  • The converters' root folder, which no source identifies, changes once too, in the same change: {ns}folder becomes {ns}folder/am-root (decided 2026-11-19). As {ns}folder it is a prefix of every other folder's IRI, so the owner rule reads {ns}folder/Views as one of its parts and the root's own list entries, {ns}folder/item/{digest}, as a folder with a two-segment id.
  • The LeanIX converter's stakeholders keep {ns}stakeholder/{key}, and stakeholder joins the kinds of IRI Minting. An arch:Stakeholder is an element, but one keyed by an email address, an id space of its own beside the fact sheet ids, for the reason a decision record has a kind of its own.
  • la-gram mints {kind}/{uuid} for resources and {view}#node-{uuid} and {view}#link-{uuid} for shapes, joins a shape's parts to it with - and other parts with /, from now on. What it already minted keeps its name, parts included ({ns}element-{uuid}, {ns}node-{uuid}, {ns}node-{uuid}-style, {link}-p{i}), and it keeps reading those parts as their owner's. Copy and paste takes a part as its placement's when it is named under it with - or with /.
  • la-gram's Exchange import changes. It mints element-{id} and view-{id} today and gives nodes and links UUIDs; it names them as the ArchiMate converter does from now on, so an import and a conversion of one file give the same local names. A node or a connection whose id would name another shape's part, which the converter refuses, gets a UUID.
  • la-gram's Turtle writer gets its own step for encoding an IRI: a prefix per kind first, then a prefix per view, escaping what a local name cannot hold, then an IRI relative to @base, then the full IRI. N3.js cannot do this as it is. Given a baseIRI, it makes an IRI relative before it looks for a prefix, so an element comes out as <element/…>, never me:…, and it leaves an IRI in full when a later segment is shorter than three characters, as in documentation/5/README.md.
  • la-gram takes any absolute IRI as a model's namespace today, a URN or one holding a # included, and the converters any absolute base IRI. From now on la-gram refuses such a namespace for a new model and the converters such a base, and the conformance check reports a model saved with one.
  • The ArchiMate derivation rules mint in the layout, and la-gram names a relationship it qualifies as they do, so the two give it one IRI. A derivation is {ns}relationship/{digest}, keyed by the rule and its two premises; its derivation activity is a part of it, {derivation}/activity, and the activity's association a part of the activity, {derivation}/activity/association. A relationship the model states only as a triple, which the rules and la-gram give a qualified relationship, is {ns}relationship/{digest}, keyed by the triple. The digest is the converters', the first 20 hex characters of the SHA-256, and the key joins the rule's name and the IRIs with spaces. The names were {ns}derivation-{sha1}, {ns}derivation-activity-{sha1}, {ns}derivation-activity-{sha1}-association and {ns}relationship-{sha1}; what was derived or qualified under them keeps its name, and the rules do not derive or qualify it again.
  • The BPMN converter changes in three places:
    • A node or a link is {view}#node-{shapeId} or {view}#link-{edgeId}, in the view's IRI: the view the index names, else, for a collaboration diagram, the first process of its participants that the file defines, else {ns}view/{diagramId}, a process diagram's included. Today the shapes sit under view/{diagramId} even where the view is the process. A view's shapes come from one file, whose shape ids are unique, so no digest is needed. Elements and relationships keep their ids, and the converter's existing check still fails a conversion whose files describe one id differently.
    • A shape's or an edge's BPMNLabel is a part of it, {node}-label or {link}-label. Today it is a node, named after the label's own id where it has one.
    • The random _gen_ UUID it gives an element with no id and no parent to name it under becomes a digest of the file and the element's place in it.
  • Structurizr, PlantUML and LeanIX name a node or a link after the element, relationship or fact sheet it shows, in its view: {view}#node-{elementId}.
  • The Structurizr converter names a documentation section by its owner and its file, {ns}documentation/{ownerId}/{file}, instead of its position under the owner, so a section added does not rename the ones after it. A section without a file keeps its position, which is stated as schema:position either way.
  • rdf2docs finds a resource's model from arch:inModel, which the converters state on elements, relationships and views, and from the model namespace for shapes and parts, which carry none. Today it drops the last two segments of the IRI. It writes pages for elements, relationships and views only, links to a shape as its view's page and the fragment, and gives every shape on a view page its fragment as id, which needs the diagram in the page rather than an <img>.
  • A conformance check reports a model resource whose IRI does not follow the layout, and the names minted before this decision as legacy.

Related: IRI Minting, the layout in detail: kinds, shapes, how each source's identifiers are chosen, parts, how Turtle writes them, static publishing, legacy names, examples and the conformance check.


DD-42: The Core's Relationship Types Have a Notation, Consulted After Every Language's

Decision: The core's own relationship types (DD-40) get a notation set of their own, https://meta.linked.archi/core-notation#CoreNotation, in core/core-notation.ttl. No metamodel manifest names it and no presentation context picks it: a tool loads it with the core, as it loads core-shapes, and consults its set after the default sets of every loaded metamodel — the last fallback layer of the lookup (Visual Notation Guide). It has a descriptor for each of the core's types, and two of them let nesting draw the relationship instead of a line (arch-vis:nestedEnd):

Descriptor For Line Nesting
archnot:AssociationNotation arch:Association solid, nothing at either end not drawn by nesting
archnot:DependsOnNotation arch:DependsOn dashed, an open arrowhead at the concept depended on not drawn by nesting
archnot:HasPartNotation arch:HasPart solid, an open arrowhead at the part the part inside the whole (arch-vis:TargetEnd)
archnot:RefinesNotation arch:Refines solid, an open arrowhead at the concept refined the refining concept inside the refined one (arch-vis:SourceEnd)
archnot:HasPartNotation
    a                      arch-vis:VisualNotation ;
    arch-vis:notationFor   arch:HasPart ;
    arch-vis:inNotationSet archnot:CoreNotation ;
    arch-vis:lineStyle     arch-vis:SolidLine ;
    arch-vis:sourceDecor   arch-vis:NoDecoration ;
    arch-vis:targetDecor   arch-vis:OpenArrowhead ;
    arch-vis:nestedEnd     arch-vis:TargetEnd .

archnot:RefinesNotation
    a                      arch-vis:VisualNotation ;
    arch-vis:notationFor   arch:Refines ;
    arch-vis:inNotationSet archnot:CoreNotation ;
    arch-vis:lineStyle     arch-vis:SolidLine ;
    arch-vis:sourceDecor   arch-vis:NoDecoration ;
    arch-vis:targetDecor   arch-vis:OpenArrowhead ;
    arch-vis:nestedEnd     arch-vis:SourceEnd .

# A view drawn inside the box of the element it details: the nesting shows the relationship.
ex:PaymentDetailView arch:refines ex:PaymentService .

# Two elements that no loaded language relates, one drawn inside the other: the inner one is a part.
ex:OrderService arch:hasPart ex:FraudCheck .

Rationale: A view is a model concept, and arch:refines already says that a view may refine an element — a sequence diagram detailing a process. A diagram shows that by drawing the view's reference inside the element's box, as ArchiMate shows composition by nesting; an editor that nests one thing in another offers the relationships the nesting may stand for, and reads which they are from the notation (arch-vis:nestedEnd, core-vis 0.5). The core's types had no notation, so nesting a view in an element could stand for nothing.

Why Has Part nests too. arch:HasPart is the core's whole–part relationship, and a part drawn inside its whole is how nesting draws ArchiMate's composition and aggregation. With arch-vis:nestedEnd on its descriptor, nesting one concept in another that no loaded language relates it to can say that the inner one is a part of the outer one. An editor that nests two such concepts therefore offers Has Part as well as Refines.

Why a set of its own, consulted last. The core's types relate concepts that no loaded language relates, whatever the language, so their notation cannot belong to a language's set, and a manifest that named it would make it that language's. Consulted after every language's default set, it never overrides a language: a set that publishes a descriptor for a core class is found first.

Why state each line. The lines are the ones DD-40 has a tool draw for a relationship type with no notation: from its source to its target, with an arrowhead, unless its predicate is symmetric, as arch:associatedWith is. Stated as data, they no longer rest on a tool's built-in default, which the lookup leaves at a solid line, so every tool draws the core's types alike. A tool that followed DD-40 draws them as it did before this set existed. Depends On's line is dashed besides, so that a dependency is not read as a part or a refinement (DD-40).

Why only the core's relationship types. A descriptor for arch:Element or arch:QualifiedRelationship would also reach every class that nothing nearer describes (step 4 of the lookup), and so replace each tool's built-in default for every language that publishes no notation of its own.


DD-44: Languages Align Their Dependencies with the Core's; Inferences Stay Out of Models

Decision: A language whose predicate states a dependency declares it a subproperty of the core's (DD-40): arch:dependsOn when it runs from the concept that needs to the one needed, arch:dependencyOf when it runs the other way. The language states it in its own ontology, on the predicate, never on its qualified relationship class. The core questions read it: archq:what-depends-on-it and archq:what-it-depends-on follow every aligned predicate, each read in its own direction, two steps out. What a reasoner infers from the alignment is for queries only, and is never written into a model.

Language Predicate A subproperty of
ArchiMate 4.0, 3.2 am4:serves, am:serves arch:dependencyOf
TOGAF 10, 9.2 togaf:usedBy, togaf9:usedBy arch:dependencyOf
TOGAF 10, 9.2 togaf:dependsOn, togaf9:dependsOn arch:dependsOn
UML uml:dependsOn, and uml:uses through it arch:dependsOn
Backstage bs:dependsOn, and bs:usesResource through it arch:dependsOn
LeanIX lmm:uses arch:dependsOn
Architecture decisions ad:dependsOn arch:dependsOn
am4:serves      rdfs:subPropertyOf arch:dependencyOf .   # A serves B: B depends on A
togaf:dependsOn rdfs:subPropertyOf arch:dependsOn .
# What depends on the payments API, one step out, whatever the language.
SELECT DISTINCT ?dependent WHERE {
  { ?p rdfs:subPropertyOf* arch:dependsOn .    ?dependent ?p ex:PaymentsApi }
  UNION
  { ?p rdfs:subPropertyOf* arch:dependencyOf . ex:PaymentsApi ?p ?dependent }
}

Rationale: DD-40 gives the core a dependency type, but the dependencies most models hold are a language's own, and a question about the impact of a change had to know each language's predicate and the way it runs: ArchiMate's serving from what serves to what is served, TOGAF's depends-on from what needs to what is needed. Aligned once in each language, they are followed by one question, and a language added later joins by declaring its own.

Why a subproperty of either. A serving runs from the provider to the one it serves, the other way from a dependency. As a subproperty of arch:dependencyOf it keeps its direction and still says which end depends on the other; an inverse declared for each such predicate would add a term to every language for nothing a query needs.

Why on the predicate, not the class. A Serving's arch:source is the provider and a Depends On's is the dependent, so am4:Serving cannot be a subclass of arch:DependsOn. A language's class under a core class would also change how a tool treats it: the most general class of its predicate, the line it inherits from its superclass's notation (DD-42).

Why the questions read the alignment. A model is often queried without a reasoner — la-gram's store infers nothing — so the questions read the subproperties from the metamodel, as they read relationship predicates from arch:unqualifiedForm, and answer the same on a store that infers. SPARQL cannot follow predicates read at query time to any length, since + takes no variable, so the questions go two steps, as archq:reaches-in-two-hops does. A tool that wants the whole chain reads the predicates first and writes the path: (arch:dependsOn|togaf:dependsOn|^arch:dependencyOf|^am4:serves)+.

Why inferences stay out of models. A tool that opens a model makes a relationship of each bare triple whose predicate a relationship type names, arch:dependsOn among them. A model saved with a reasoner's B arch:dependsOn A beside each A am4:serves B would open with a Depends On next to every Serving: one dependency, stated twice.

Why these predicates. Each states a dependency by its own definition: serving is one of ArchiMate's dependency relationships, and the others say so in their names. ArchiMate's access, a data dependency for which a write leaves unclear which end depends on the other, its influence, between motivation elements, and C4's uses, which means "uses or interacts with", each need a judgement and are not aligned. ArchiMate 3.0 is deprecated and the 3.1 ontology does not import the core, so neither is aligned.


DD-45: A Node's Drawing Order Is a Number, Among the Nodes Beside It

Decision: A diagram says which node is drawn above which with arch-vis:zOrder (core-vis 0.10), an integer on a node. It orders the node among the nodes drawn in the same place: the view's top level, or the inside of one container (arch-vis:inNode). The higher is drawn above the lower. Absent, it is 0, and nodes with the same zOrder are drawn in the order of their IRIs, by code point, the later above. A nested node is drawn above its container, whatever either's zOrder. Where lines are drawn is the tool's.

# A group drawn behind the two elements it highlights, without holding them; a note on top.
ex:HighlightShape   a arch-vis:ContainerNode ; arch-vis:view ex:Landscape ; arch-vis:zOrder -1 .
ex:OrderServiceNode a arch-vis:ArchNode ; arch-vis:view ex:Landscape ; arch-vis:archElement ex:OrderService .
ex:PaymentsNode     a arch-vis:ArchNode ; arch-vis:view ex:Landscape ; arch-vis:archElement ex:Payments .
ex:ReviewNote       a arch-vis:LabelNode ; arch-vis:view ex:Landscape ; arch-vis:zOrder 1 .

Rationale: A diagram's drawing order was nowhere in its data. RDF has no order, and a tool drew the nodes in whatever order its store returned them, so two overlapping nodes could swap places after a save and a load, and a modeller could not keep a shape behind the elements it frames. A converted file lost its order too: the ArchiMate exchange format draws a view's nodes in the order the file lists them, and a converter now keeps that order as zOrder.

Why a number on each node, not a list. A list of a container's children (an rdf:List) would need blank nodes or a cell per entry, and two people reordering different nodes of one view would both change the same list: a conflict on every reorder. A number is one value per node, so a merge conflicts only where both sides moved the same node.

Why among the nodes beside it. Drawing order only matters between nodes that can overlap at the same level. What is nested is drawn inside its container, so it is above it in every tool, and the numbers of nodes in different containers never compare.

Why the IRI order breaks ties. Most nodes never get a zOrder, and every tool must still draw them in the same order, so the order of the nodes without one, or with the same one, is stated: by IRI. A tool that brings a node to the front gives it one more than the highest beside it, and to the back one less than the lowest. Only the order counts, so the numbers need not be dense.


DD-46: Multiplicity Is Data on the Relationship; Constraints on Conforming Data Are Generated From It

Decision: The core says how many concepts may be at each end of a qualified relationship with arch:sourceMultiplicity and arch:targetMultiplicity (core 0.8.0): a plain string in the common notation, n, *, n..m or n..*. A language whose specification defines multiplicity, or a custom metamodel, declares its own properties as subproperties of these and narrows the notation in its own shapes. A model states multiplicity as data on the relationship resource. OWL restrictions, SHACL shapes and database schemas that constrain data conforming to a model are generated from that data, into an artifact of their own; they are never written into the model.

# ArchiMate 4.0 (Section 5.6) narrows the core's: n is positive, m greater than n, none at a junction.
am4:sourceMultiplicity rdfs:subPropertyOf arch:sourceMultiplicity .
am4:targetMultiplicity rdfs:subPropertyOf arch:targetMultiplicity .

# UML 2.5.1 (§7.5, §11.5): an association end's; UML's rules are the core's (UML-DD-15).
uml:sourceMultiplicity rdfs:subPropertyOf arch:sourceMultiplicity .
uml:targetMultiplicity rdfs:subPropertyOf arch:targetMultiplicity .

# A model: a claim is related to exactly one policy, a policy to any number of claims.
ex:ClaimPolicy a am4:Association ;
    arch:source ex:Claim ; arch:target ex:Policy ;
    am4:sourceMultiplicity "*" ;     # how many claims one policy is related to
    am4:targetMultiplicity "1" .     # how many policies one claim is related to
What Between Expressed as
What a language requires of a model metamodel and model the core's and the language's SHACL shapes: a multiplicity is well written, one per end
What a model says, constraints on the world included within the model data: the multiplicity properties on the relationship resource
What data conforming to the model must satisfy model and its instances a generated artifact: SHACL shapes, OWL restrictions, a database schema

Rationale: Multiplicity is a fact stated in a model about something outside it. ex:Claim is an individual, typed with a metamodel class (UML-DD-1): it stands for the kind of thing a claim is, and the model holds no claims. "Each claim is related to exactly one policy" is a constraint on claims, which only data about claims can be checked against: an application's records, a database, a knowledge graph of instances.

Why not OWL in the model. An OWL cardinality restriction is on a class, so ex:Claim would have to be one: the same IRI as an individual of the model and a class of claims, the punning DD-6 rules out, or a second ontology beside the model, saying the same thing twice. And under the open-world assumption a restriction does not report a claim with two policies; it concludes the two policies are one (DD-2). UML-DD-8 keeps a UML generalization out of rdfs:subClassOf for the same reason: in a model, a statement about types is data, not an axiom.

Why not SHACL in the model. A shape in the model would target claims, and the model has none, so it would check nothing in the model. What the model's own shapes check is the model: that a multiplicity is well written, one per end, and in ArchiMate never on an end connected to a junction. That is the boundary: shapes check a multiplicity's value, never what it says.

Why generated, into an artifact of its own. A model is sometimes the source of a schema: a data model a database is built from, an information model an integration is checked against. The multiplicity values are then what the schema's constraints are generated from — 1 as sh:minCount 1 ; sh:maxCount 1 or a mandatory foreign key, * as none — in the form the target technology needs, one model giving several. The generated artifact cites the model it was derived from (prov:wasDerivedFrom) and is kept apart from it, as publication shapes are kept apart from what makes a UML model valid (UML-DD-14) and derived relationships from stated ones (DD-28, DD-44). The model stays the one place each constraint is stated, so there is never a question of which of two statements of it is right.

Why data, and a string. A property on the relationship is one triple: drawn at a line's end, edited in a property panel, merged line by line, asked about in SPARQL. A restriction or a shape is a structure of blank nodes, and is on a class or a property everywhere it is used, not on one relationship between two elements. A string in the notation people write and read keeps one value per end; a query that needs the bounds reads them from it (STRBEFORE(?m, ".."), STRAFTER(?m, ".."), * as no upper bound).

Why in the core, with each language's own. Multiplicity on a relationship's ends is not one language's: ArchiMate 4.0 and UML have it, and so do data models. The core gives it one meaning, so a tool reads and draws it for any language. A language whose specification defines it says so with its own subproperties, citing its specification, and narrows it in its shapes where its rules are stricter than the core's — ArchiMate 4.0's are, UML's are not; a language that does not define it gets none. The core's shape reads a language's values through rdfs:subPropertyOf* in the metamodel loaded with the model, as the core questions read dependencies (DD-44), and nothing is inferred into the model.

What "at the source end" means. The multiplicity at an end, not of the element there: on a relationship from A to B, the source multiplicity is how many A one B may be related to, and the target multiplicity how many B one A may. A derived relationship has none of its own.

DD-47: Shared Looks Are Named Styles a Diagram Element's Style Is Based On; a Concept Keeps a Look of Its Own

Decision: A team's standard looks are an arch-vis:StyleSet (core-vis 0.11): named arch-vis:Styles, each arch-vis:inStyleSet the set, with a skos:prefLabel and, optionally, a skos:definition of what it is for. A named style is for every presentation context; its look for one audience is another style of the set, for that context (arch:inPresentationContext) and arch-vis:basedOn it, at most one for each context — so the set is complete for each audience, what a look for one does not set being the style's for every context. A model names the sets its diagrams use with arch-vis:usesStyleSet; a set is kept in the model, or published in a document of its own. A diagram element takes a named style by basing its own style on the style for every context, arch-vis:basedOn: it is drawn with the named style's values — its look for the context shown, then its look for every context — wherever its own style sets none. A model concept keeps a look of its own with arch-vis:conceptStyle in the same way: one for every presentation context and one for each, as names and pictures for an audience are given. Its looks are kept for its diagram elements to take, never drawn by themselves: a diagram element whose style is based on the concept's look for every context is drawn with them. A style based on is based on none.

ex:model arch-vis:usesStyleSet ex:styles .
ex:styles a arch-vis:StyleSet ; skos:prefLabel "Acme standard styles"@en .
ex:to-retire a arch-vis:Style ;
    arch-vis:inStyleSet ex:styles ;
    skos:prefLabel      "To retire"@en ;
    arch-vis:fillColor  "#fce8e6" ;
    arch-vis:lineColor  "#d93025" .
# Its look for executives: a stronger red.
ex:to-retire-executive a arch-vis:Style ;
    arch-vis:inStyleSet        ex:styles ;
    arch:inPresentationContext am4pc:ExecutiveContext ;
    arch-vis:basedOn           ex:to-retire ;
    arch-vis:fillColor         "#f28b82" .

# A diagram element in that style, its outline heavier: for executives, #f28b82.
ex:billing-node-style arch-vis:basedOn ex:to-retire ; arch-vis:lineWidth 3 .

# A system's own look, for every context and for executives, taken by one diagram element.
ex:booking arch-vis:conceptStyle ex:booking-look, ex:booking-look-executive .
ex:booking-look a arch-vis:Style ; arch-vis:fillColor "#c8e6c9" .
ex:booking-look-executive a arch-vis:Style ;
    arch:inPresentationContext am4pc:ExecutiveContext ;
    arch-vis:fillColor         "#2e7d32" .
ex:booking-node-style arch-vis:basedOn ex:booking-look .

Value by value, a diagram element drawn for a context takes the first that says it: its style for the context, then the style that one is based on — its look for the context, then for every context; its style for every context, then the style that one is based on, the same way; its concept's notation (arch-vis:style lists it).

Rationale: A look could only be given to each diagram element. A team's standard colours — what is to be retired, what is strategic — were set again on every diagram element, by hand or with a format painter, and a change to a standard reached none of the diagrams already drawn. A system that should stand out had no look of its own to give its diagram elements, for everyone or for one audience.

Why based on, not copied. A copy is drawn the same by every reader, but it is a copy: change the standard and the diagrams keep the old one, and nothing says which diagram elements were in it. Based on, the diagram element says which standard it follows, a change to the standard is drawn everywhere it is followed, and what the diagram element sets itself stays its own. A format that has no shared styles — the ArchiMate exchange format — is written with each diagram element's values resolved, and a copy pasted into a model that does not have the style takes its values.

Why one level. The style based on is based on none, and a diagram element's style is not based on another diagram element's: the values come from one place, so a reader resolves a look without following a chain or guarding against a loop, and a standard is one resource to change. A named style's look for one context is based on the style, but it is part of it, not a second level: a diagram element is based on the style for every context, never on its look for one, and the look for the context shown is read through it.

Why a look for each audience inside the style. A standard such as "To retire" may need to say more to executives than to developers. Kept with the style it varies, that look is complete for each audience — a look not given for one is the style's for every context — a diagram element based on the style is drawn right for whoever reads it, and one change reaches each. A separate set for each audience would have to repeat every style, and a diagram element would have to name one style per audience.

Why a concept's looks are not drawn by themselves. Drawn everywhere, its look would set aside its type's notation in every diagram already drawn, which is what the notation is for; a system that keeps a look of its own is drawn as its type is until a diagram element is given that look, which then follows the system's. Its looks for each context are part of that look, so they follow the same rule: one rule for every look a concept keeps, and a diagram element not given it is drawn as its type to every audience. A name or a picture for an audience is the concept's wherever it is shown (DD-34, DD-35); a look is how a diagram shows it, and the diagram element's own styles are the diagram's word.

Why a set of styles and not a notation set. A notation set gives each class one look (DD-31), and a reader picks a set by audience. A named style is chosen for some diagram elements of any class, whatever the audience: a different question, with its own resource.

Why not arch:inModel for a set. arch:inModel is for a model's concepts, and its domain would make a set one. A model names the sets it uses, in the model or published, with one property either way.


DD-48: A Cross-Language Mapping Is Written Once per Pair and Listed on Both Languages' Manifests

Decision: The type-level mappings between two languages are written in one document, kept in the crossmappings/ folder as {a}-{b}.ttl, with the namespace https://meta.linked.archi/crossmappings/{a}-{b}#. Every manifest whose concepts a document maps lists it with arch:crossLanguageMappings. That listing is generated from the documents into a marked block in each manifest; it is never written by hand.

# crossmappings/togaf-archimate.ttl: written by hand, once
togaf:Capability                    skos:closeMatch    am4:Capability .
togaf:LogicalApplicationComponent   skos:closeMatch    am4:ApplicationComponent .

# Generated into togaf-metamodel.ttl and into both ArchiMate manifests
togafmm:TOGAF10   arch:crossLanguageMappings <https://meta.linked.archi/crossmappings/togaf-archimate#> .
am4mm:ArchiMate4  arch:crossLanguageMappings <https://meta.linked.archi/crossmappings/togaf-archimate#> .
What Where How
The mappings between two languages one document per pair in crossmappings/ written by hand, and reviewed
Which manifests list a document a marked block in each of them generated from the documents
That the rules hold validate.sh --crossmappings, part of the CI run checked on every push

Rationale: Why once per pair. The documents used to be kept by source language, one per language with its mappings to every other. A pair both languages cared about was then written on both sides: TOGAF ↔ UAF was in TOGAF's document and in UAF's, and the two copies had drifted — three of eighteen correspondences were on one side only. SKOS defines the reverse of every mapping property (skos:exactMatch, skos:closeMatch and skos:relatedMatch are symmetric, skos:broadMatch and skos:narrowMatch each other's inverse), so a second copy adds no meaning, only a second thing to keep in step.

Why both manifests list it. A manifest is how a tool finds what belongs to a language. Listed on the source side only, the six documents that mapped onto ArchiMate could not be found from ArchiMate. Because the mapping properties read both ways, "this document maps the metamodel's concepts onto another language's", which is what arch:crossLanguageMappings says, is true from either side.

Why the listing is generated. A document's sides follow from what it maps: each manifest names its concept namespace with arch:modelConcepts, so the namespaces in a document's rows say which manifests it relates. A listing written by hand is a second statement of that, and it drifts as the copies did — the ArchiMate 3.2 → 4.0 mappings were added without being listed on either manifest. Generated, the listing follows the documents, and the CI run fails when a block is out of date or a manifest lists a document outside it.

Why a folder of its own. In a language's folder a pair has no natural owner, which is how TOGAF ↔ UAF came to be written twice. The core is the foundation every language depends on, and must not depend on any of them.

Why the direction is fixed. SKOS symmetry is an entailment, and no reasoner computes it here: a query sees a row in the direction it was written. So the direction is a rule, not a choice per document: ArchiMate, the language most documents map to, is always the object; between its releases, the older is the subject; between two other languages, the subject is the one whose specification publishes the mapping (UAF → DoDAF), and otherwise the one the mapping was first written from. A query starting from the object side asks in both directions, as the authoring guide shows.

Why a document imports nothing. It defines no terms, only correspondences between others'. Whoever loads it starts from one side and has that vocabulary; importing both sides would load the other one into every consumer of either.

What was retired. The seven per-language documents were replaced, not redirected. Each new document names the one it replaces with dcterms:replaces:

Retired namespace Replaced by crossmappings/…
https://meta.linked.archi/togaf/crossmappings# togaf-archimate, togaf-uaf
https://meta.linked.archi/uaf/crossmappings# uaf-archimate, uaf-dodaf, togaf-uaf
https://meta.linked.archi/time-framework/crossmappings# time-archimate, time-togaf, time-backstage
https://meta.linked.archi/bpmn/crossmappings# bpmn-archimate
https://meta.linked.archi/leanix/crossmappings# leanix-archimate
https://meta.linked.archi/backstage/crossmappings# backstage-archimate
https://meta.linked.archi/archimate/crossmappings-3.2-4.0# archimate3-archimate4

The rules for writing, reviewing and changing a document are in Authoring Cross-Language Mappings.


Conformance Principles

Principles derived from the design decisions above. Use as a quick reference for conformance reviews of new or updated ontology files.

P-1: No arch:Relationship class

The arch:Relationship class has been removed from the core ontology. Relationship types are standard owl:ObjectProperty declarations. No file should declare instances or subclasses of arch:Relationship.

Check: grep -r "arch:Relationship" core/ extensions/ modelingLanguages/ examples/ should return zero hits ( excluding deprecated files and comments).

P-2: No rdf:Statement dependency

arch:QualifiedRelationship does not extend rdf:Statement. No property should be declared as rdfs:subPropertyOf rdf:subject, rdf:object, or rdf:predicate. The bridge to the direct triple is rdf:reifies ( RDF 1.2), not old-style reification.

Check: No rdfs:subClassOf rdf:Statement or rdfs:subPropertyOf rdf:subject/rdf:object/rdf:predicate in any active ontology file.

P-3: Schema-level vs instance-level mapping

arch:unqualifiedForm is a schema-level annotation property used on class and property definitions to declare which unqualified predicate a qualified form corresponds to. It must not appear on instance data. At the instance level, the unqualified predicate is available via rdf:reifies.

P-4: Three-declaration pattern for relationship types

Every relationship type in a metamodel should produce three declarations:

  1. Unqualified predicate — owl:ObjectProperty (e.g., am:serves)
  2. Qualified class — rdfs:subClassOf arch:QualifiedRelationship with arch:unqualifiedForm pointing to the predicate (e.g., am:Serving)
  3. Qualified predicate — owl:ObjectProperty with rdfs:range pointing to the qualified class and arch:unqualifiedForm pointing to the unqualified predicate (e.g., am:qualifiedServing)

See DD-10 for rationale and the Relationship Modelling Guide for full examples.

P-5: No OWL 2 punning for relationship types

Do not use the same IRI as both an owl:ObjectProperty and an owl:Class. The old pattern of declaring a relationship type as a arch:Relationship (making it simultaneously a property and an instance of a class) is retired. Use separate IRIs for the predicate and the qualified class.

P-6: arch:source and arch:target are standalone properties

arch:source and arch:target are standard owl:ObjectProperty declarations on arch:QualifiedRelationship. They have no rdfs:subPropertyOf relationship to rdf:subject or rdf:object.

P-7: Always emit the direct triple

Consumers doing analytics, SPARQL traversal, and reasoning depend on the direct triple. When producing model data, always emit the unqualified triple alongside the qualified resource. The qualified resource alone is not sufficient.

P-8: Always emit a language-tagged skos:prefLabel

skos:prefLabel is the canonical label and must carry a language tag — "Charge card"@en, not "Charge card". A notation's own name attribute (bpmn:name and equivalents) is retained source data and does not satisfy the label requirement. Emit both. See DD-24.

P-9: Align everything that is a node to arch:Element, including unnamed constructs

arch:Element means "a node in a model". Routing gateways, events and junctions are nodes: they have identity, they render on diagrams, they belong in element counts, so they are arch:Element. Whether they must carry a name is a separate question, answered by the metamodel's own label shape. Do not exclude a construct from arch:Element to dodge a naming rule.

Do not align a notation's abstract metamodel root either — bpmn:BaseElement and its equivalents make every serialization artefact an architecture element and inflate every element count. Align the roots that are genuinely model nodes.

P-10: Each metamodel owns its own label rule, and never targets arch:Element

core-shapes.ttl carries no label shape. Every metamodel with a shapes graph declares which of its classes must be named, using plain sh:targetClass against its own classes. Targeting arch:Element would apply that notation's naming policy to every other notation in a combined dataset. Abstract domain or layer roots are usually the concise target set, and they leave connectors out naturally.

P-11: Kinds are classes, audiences are notation sets, and a notation's own shapes name a core fallback

A descriptor describes a class: no file declares a look that depends on an element's property values (DD-31). A shape outside the eight core ones is declared in the notation that draws it, with arch-vis:fallbackShape and its path templates (DD-32).

Check: core-vis-shapes (:NotationShapeTypeShape) validates every shape with an outline; grep -r "appliesWhen" core/ modelingLanguages/ extensions/ should return zero hits.

P-12: A mapping between two languages is written once, and its listing is generated

Type-level mappings live in crossmappings/, one document per pair of languages, with ArchiMate on the object side. No manifest lists a mapping document by hand: the arch:crossLanguageMappings block is generated from the documents (DD-48).

Check: validate.sh --crossmappings, part of the CI run.