Qualified Relationships without Losing Your Predicates

Type: Guide
Published: 2026-04-10
Read time: 9 mins read
Licence: CC BY 4.0
A relationship needs a plain triple for traversal and a resource for its metadata; this April 2026 guideline maps the two at schema level and, as then proposed, on each occurrence.
qualified-relationshipsarchimateshaclrdf

Part of a series on qualified relationships: this guideline records the design as it stood in April 2026, A Story of Reification tells how Linked.Archi arrived at its relationship pattern, RDF 1.2: Why and How shows how to write, query and validate it, and Custom Relationship Types on ArchiMate 4 adds relationship types of your own.

Written on 10 April 2026. Later that month the core ontology adopted the schema mapping as arch:unqualifiedForm, and chose rdf:reifies over the instance-level predicate proposed here. What happened next says how.

When you model architecture knowledge as RDF, a relationship needs two representations:

  1. a plain triple, for traversal and analytics;
  2. a qualified relationship: a resource for the relationship's metadata, such as confidence, status, provenance, diagram context, validity or viewpoint. It also keeps apart several occurrences between the same two elements.

This guideline separates two ideas that are easy to mix:

  • Schema mapping: the metamodel says which plain predicate a qualified form stands for.
  • Instance-level predicate selection: each occurrence says which predicate it instantiates.

Kept apart, they make an ontology easier to explain, validate, query and extend. That matters most when you define your own ArchiMate subset on the Linked.Archi core.

Why a relationship needs both representations

Plain triples are for graph work

Plain triples keep the graph RDF-native. The examples use an illustrative ArchiMate subset under example.org:

@prefix am: <https://example.org/archimate-subset#> .
@prefix ex: <https://example.org/model#> .

ex:AppSvc1 am:serves ex:BizProc1 .

Use them for:

  • traversal: what depends on what;
  • reachability and impact analysis;
  • SPARQL property paths;
  • reasoning;
  • graph views that understand predicates.

Qualified relationships are for metadata and multiplicity

As soon as you say anything about the edge, you need a node:

@prefix arch:    <https://meta.linked.archi/core#> .
@prefix prov:    <http://www.w3.org/ns/prov#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix ex:      <https://example.org/model#> .

ex:qr-003 a arch:QualifiedRelationship ;
  arch:source ex:AppSvc1 ;
  arch:target ex:BizProc1 ;
  prov:wasDerivedFrom ex:diagramEdge-79 ;
  dcterms:description "Shown on Viewpoint A"@en .

You also need one for:

  • several serving edges between the same pair, with different evidence, viewpoints or time windows;
  • conflicting statements, such as a proposed and a current one.

Two ideas that are easy to mix

Schema mapping, at metamodel level

A statement made once, in the ontology: "this qualified form stands for that plain predicate." It is structural knowledge about the vocabulary.

Predicate selection, at instance level

A statement made on each occurrence: "this occurrence instantiates predicate X." It makes each occurrence self-contained.

The proposal: name both explicitly

  • Use arch:unqualifiedForm for the schema mapping. It plays the role that prov:unqualifiedForm plays in the PROV-O qualified-relation pattern.
  • Add an instance-level predicate pointer to the core. The core never defined one, so it is written here as prop:predicate, under example.org.

Treat qualified relationships as occurrences, not as predicates.

Pattern A: the schema mapping in the ontology

This is the PROV-O approach. You create a qualified property and map it to the plain predicate in the schema.

The schema of an ArchiMate subset

@prefix arch: <https://meta.linked.archi/core#> .
@prefix am:   <https://example.org/archimate-subset#> .
@prefix amq:  <https://example.org/archimate-subset/qualified#> .
@prefix owl:  <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

# The element subset
am:Element a owl:Class ; rdfs:subClassOf arch:ModelConcept .
am:ApplicationService a owl:Class ; rdfs:subClassOf am:Element .
am:BusinessProcess    a owl:Class ; rdfs:subClassOf am:Element .

# The plain predicate, used in ordinary triples
am:serves a owl:ObjectProperty ;
  rdfs:domain am:Element ;
  rdfs:range  am:Element .

# The class of qualified relationship occurrences
amq:Serving a owl:Class ;
  rdfs:subClassOf arch:QualifiedRelationship .

# The qualified property, from the source element to an occurrence
am:qualifiedServing a owl:ObjectProperty ;
  rdfs:domain am:Element ;
  rdfs:range  amq:Serving ;
  # The schema mapping: qualifiedServing stands for serves
  arch:unqualifiedForm am:serves .

What Pattern A gives

  • Clarity in the ontology: am:qualifiedServing is the qualified form of am:serves.
  • Easy targeting in SHACL: validate serving edges by targeting am:qualifiedServing.
  • A pair that tools and documentation can show: serves for the plain triple, qualifiedServing for the resource.

Pattern B: the predicate on each occurrence

Each occurrence points to the predicate it instantiates, so it can be read on its own.

The pointer

@prefix arch: <https://meta.linked.archi/core#> .
@prefix prop: <https://example.org/proposed#> .
@prefix owl:  <http://www.w3.org/2002/07/owl#> .
@prefix rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

prop:predicate a owl:ObjectProperty ;
  rdfs:domain arch:QualifiedRelationship ;
  rdfs:range  rdf:Property .

An occurrence that names its predicate

@prefix arch: <https://meta.linked.archi/core#> .
@prefix prop: <https://example.org/proposed#> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix am:   <https://example.org/archimate-subset#> .
@prefix ex:   <https://example.org/model#> .

ex:qr-004 a arch:QualifiedRelationship ;
  arch:source    ex:AppSvc1 ;
  arch:target    ex:BizProc1 ;
  prop:predicate am:serves ;
  prov:wasDerivedFrom ex:diagramEdge-80 .

What Pattern B gives

  • A consumer that sees ex:qr-004 can read it without knowing which qualified property led to it.
  • Custom predicates can come in without a new qualified property for each.

The recommendation: both, for ArchiMate subsets

For a custom ArchiMate subset, the guideline recommended three steps:

  1. Define the schema mapping once, from the qualified form to the plain predicate.
  2. Also store the predicate on each occurrence.
  3. Check with SHACL that the two agree.

The redundancy was deliberate. The schema mapping serves governance, validation and documentation. The predicate on each occurrence serves robustness, portability and generic tools.

A combined example

The schema adds the mapping:

@prefix arch: <https://meta.linked.archi/core#> .
@prefix am:   <https://example.org/archimate-subset#> .

am:qualifiedServing arch:unqualifiedForm am:serves .

The data carries the plain triple, the qualified property and the occurrence with its predicate:

@prefix arch: <https://meta.linked.archi/core#> .
@prefix prop: <https://example.org/proposed#> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix am:   <https://example.org/archimate-subset#> .
@prefix amq:  <https://example.org/archimate-subset/qualified#> .
@prefix ex:   <https://example.org/model#> .

# The plain triple: always emitted or materialized
ex:AppSvc1 am:serves ex:BizProc1 .

# The qualified occurrence: emitted when it carries metadata or has siblings
ex:AppSvc1 am:qualifiedServing ex:qr-005 .

ex:qr-005 a amq:Serving ;
  arch:source    ex:AppSvc1 ;
  arch:target    ex:BizProc1 ;
  prop:predicate am:serves ;
  prov:wasDerivedFrom ex:diagramEdge-81 .

Keeping the two consistent with SHACL

Three rules matter:

  1. A qualified relationship has one source, one target and one predicate.
  2. The plain triple exists, or can be materialized.
  3. Where a qualified property leads to an occurrence, the occurrence's predicate matches the property's schema mapping.

The shape below covers the first two. It is illustrative; adapt it to your shapes graph:

@prefix sh:   <http://www.w3.org/ns/shacl#> .
@prefix arch: <https://meta.linked.archi/core#> .
@prefix prop: <https://example.org/proposed#> .
@prefix am:   <https://example.org/archimate-subset#> .

am:ServingOccurrenceShape
  a sh:NodeShape ;
  sh:targetClass <https://example.org/archimate-subset/qualified#Serving> ;
  sh:property [ sh:path arch:source ; sh:minCount 1 ; sh:maxCount 1 ] ;
  sh:property [ sh:path arch:target ; sh:minCount 1 ; sh:maxCount 1 ] ;
  sh:property [ sh:path prop:predicate ; sh:minCount 1 ; sh:maxCount 1 ] ;
  # Materialize the plain triple
  sh:rule [
    a sh:SPARQLRule ;
    sh:construct """
      PREFIX arch: <https://meta.linked.archi/core#>
      PREFIX prop: <https://example.org/proposed#>
      CONSTRUCT { ?s ?p ?o . }
      WHERE {
        $this arch:source ?s ;
              arch:target ?o ;
              prop:predicate ?p .
      }
    """ ;
  ] .

For the third rule, add a constraint: an occurrence reached through am:qualifiedServing must name am:serves as its predicate. That rule binds the schema mapping to the choice made on each occurrence.

Two anti-patterns

Occurrences used as predicates

Do not let occurrence nodes become rdf:Property. A relationship type is a predicate. A relationship occurrence is a resource. Mixing the two makes the data harder to validate and reason about, and tools behave inconsistently.

The schema mapping on instances

Keep arch:unqualifiedForm in the schema, and the predicate pointer on occurrences. A term used for both drifts: sometimes it means the mapping, sometimes the chosen predicate. SHACL and SPARQL show the ambiguity at once.

Guidance for subset designers

Use the schema mapping when

  • the relationship types are known, as in an ArchiMate subset;
  • you want strong governance and validation driven by shapes;
  • you want consistent documentation and modelling patterns.

Use a predicate on each occurrence when

  • you ingest from tools that carry relationship metadata, such as views and evidence;
  • occurrences must stand on their own;
  • you expect extensions and custom predicates.

Always provide plain triples when

  • your main consumers do analytics, traversal and impact analysis;
  • you want RDF-native interoperability;
  • you want simple SPARQL queries to work.

Checklist

  • Every occurrence you care about is an arch:QualifiedRelationship, with arch:source, arch:target and a predicate.
  • Every relationship type in the subset has a plain predicate, such as am:serves.
  • Every type has a qualified form, such as am:qualifiedServing, mapped to the plain predicate with arch:unqualifiedForm.
  • The plain triple, ?source ?predicate ?target, is asserted or materialized for traversal.
  • SHACL checks that the occurrence and the plain triple do not contradict each other.

What happened next

Later in April 2026 the core ontology took Pattern A: arch:unqualifiedForm maps each qualified class and qualified property to its predicate. It did not take Pattern B. RDF 1.2 offered a better pointer: rdf:reifies links each occurrence to a triple term, which names the predicate together with its subject and object. Nothing extra has to be kept in step.

Design principle P-3 records the split: the schema mapping stays in the schema, and the instance-level predicate is read from rdf:reifies. P-4 sets out the three declarations of every relationship type. Its example names the qualified property after the class it leads to, am:qualifiedServing, as this article now does.

A Story of Reification tells the whole route. Custom Relationship Types on ArchiMate 4 shows the pattern as it stands, with the agreement check that the third SHACL rule asked for.