A Story of Reification
How Linked.Archi got from rdf:Statement to RDF 1.2 reifiers
Part of a series on qualified relationships: Qualified Relationships without Losing Your Predicates records the design as it stood in April 2026, this article 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.
Every relationship in an architecture model has to be two things at once. It has to be an edge, so that a query can walk from an application to everything it depends on. It also has to be a thing in its own right, with a name, a validity date, a source, an approval state, and sometimes a second occurrence recorded by someone else. ArchiMate relationships carry names, documentation and properties, and can themselves be connected to other relationships, so a graph that keeps only the edge loses what the modeller put there.
This is how Linked.Archi got from one to the other in RDF: from the n-ary relation pattern and rdf:Statement, through RDF-star, to the reifiers of RDF 1.2. I follow one relationship at the fictional tour operator from earlier posts. Availability Search serves the Booking Engine by re-checking availability before a booking is committed. That relationship needs its own label, a validity date, the person who asserted it, the decision it came from (ADR-042), an approval state, and a second, separately evidenced occurrence, because a CMDB import has observed the same dependency.
A triple says one thing
The first snippet carries the full prefix set; later snippets reuse these prefixes.
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix arch: <https://meta.linked.archi/core#> .
@prefix am4: <https://meta.linked.archi/archimate4/onto#> .
@prefix ex: <https://model.example.com/tour-operator#> .
ex:AvailabilitySearch a am4:ApplicationComponent ; skos:prefLabel "Availability Search"@en .
ex:BookingEngine a am4:ApplicationComponent ; skos:prefLabel "Booking Engine"@en .
ex:AvailabilitySearch am4:serves ex:BookingEngine .
This is the form traversal wants. A SPARQL property path such as am4:serves+ walks it directly, and so does any RDFS or OWL reasoner. But the triple has no identity of its own. There is nowhere to put the label, the date, the source or the approval state. If a reviewed design and a CMDB import both assert it, the graph holds it once, because an RDF graph is a set of triples. The two occurrences collapse into one, and so does any record of which source said what.
Making the relationship a node
The textbook first answer is to turn the relationship into a node. The W3C Working Group Note Defining N-ary Relations on the Semantic Web (2006) describes this as its first pattern: introduce a class for the relation, and give each instance properties for its participants and attributes.
# The relationship becomes a node of its own; the direct triple is gone
ex:AvailabilityRecheck a ex:ServingRelation ;
ex:provider ex:AvailabilitySearch ;
ex:consumer ex:BookingEngine ;
skos:prefLabel "Availability re-check before booking commit"@en ;
ex:validFrom "2026-03-15"^^xsd:date ;
prov:wasDerivedFrom ex:ADR-042 .
The relationship now has an identity and can carry anything. The cost is that ex:AvailabilitySearch am4:serves ex:BookingEngine no longer exists. Every query, path and reasoner has to go through the node, and the predicate am4:serves has gone from the data, replaced by a class and two role properties that each model defines for itself. Some ArchiMate ontologies keep both forms: ArchiMEO declares relationships as OWL classes, such as archi:Flow, and as object properties, such as archi:flowsTo.
The Note also draws a distinction this story keeps meeting. Its section on reification separates statements about a statement, such as who made it or where it came from, from an n-ary relation, which describes an instance of the relation itself. An architecture relationship needs both.
Describing a triple without stating it
RDF has its own vocabulary for this. RDF reification describes a triple with a resource of type rdf:Statement:
ex:AvailabilitySearch am4:serves ex:BookingEngine .
ex:stmt-017 a rdf:Statement ;
rdf:subject ex:AvailabilitySearch ;
rdf:predicate am4:serves ;
rdf:object ex:BookingEngine ;
skos:prefLabel "Availability re-check before booking commit"@en ;
ex:validFrom "2026-03-15"^^xsd:date ;
prov:wasAttributedTo ex:HeadOfDistribution .
It takes four triples just to name the statement. Describing a statement does not assert it, so the direct triple has to be written separately, and nothing formally ties ex:stmt-017 to it. RDF 1.2 Schema points out that two such reifications with the same subject, predicate and object need not denote the same thing. That suits occurrences, but it does not help anyone who expects a link to the triple. The same document now lists rdf:Statement and its three properties under legacy vocabularies.
It is also the obvious first choice, and Linked.Archi made it, together with the node. The first core ontology, in late 2019, made its relationship class both at once: an n-ary relationship node and an rdf:Statement, with the source and target mapped to the statement's subject and object and the relationship type used as rdf:predicate.
The rdf:Statement superclass was dropped soon after. Relationship types became resources, such as amate:Serving, with their own source and target properties: the n-ary pattern of the previous section, without the direct triple. The two approaches kept meeting, though. The architecture decision ontology of 2020 hung an n-ary node, ForceInfluence, which qualified how a force influenced a decision, off a reified statement. The archimate2rdf converter takes the rdf:Statement route for ArchiMate, and also writes the direct triple so that SPARQL queries stay simple.
Two detours
Two other patterns were on the table. Singleton properties (Nguyen, Bodenreider and Sheth, WWW 2014) mint one predicate per relationship occurrence and link it to the generic one. The linking property is written under ex: here so that it is not mistaken for a standard term:
ex:serves-017 ex:singletonPropertyOf am4:serves ;
skos:prefLabel "Availability re-check before booking commit"@en .
ex:AvailabilitySearch ex:serves-017 ex:BookingEngine .
Each occurrence gets an identity, but am4:serves is no longer the predicate, so queries and shapes keyed on it stop matching. A named graph per statement puts each relationship in its own graph and describes the graph. That works too, but it uses up the named-graph slot, which Linked.Archi already uses for provenance per source (DD-15).
RDF-star: quoting the triple
RDF* came from Olaf Hartig and Bryan Thompson's 2014 paper Foundations of an Alternative Approach to Reification in RDF. It lets a triple be quoted and used as the subject of another triple, without the four reification triples. The community version, RDF-star and SPARQL-star, became a Final Community Group Report in December 2021, and the W3C RDF-star Working Group took it on for standardization.
ex:AvailabilitySearch am4:serves ex:BookingEngine .
<< ex:AvailabilitySearch am4:serves ex:BookingEngine >>
skos:prefLabel "Availability re-check before booking commit"@en ;
prov:wasAttributedTo ex:HeadOfDistribution .
<< ex:AvailabilitySearch am4:serves ex:BookingEngine >>
prov:wasGeneratedBy ex:CMDBImport-2026-09 .
I started experimenting with RDF* around 2021. Version 0.3.2 of the core ontology, from May 2021, made relationship types properties again: arch:Relationship became a subclass of arch:ModelConcept and owl:ObjectProperty, its instances were used as predicates, and a relationship was described further "using RDF* or rdf:Statement for reification". Its history note records that rdf:Statement was initially the default and that RDF-star became the preferred way as it matured, with rdf:Statement kept for the case where two relationships of the same type join the same pair of elements. RDF-star is lighter, and the direct triple stays where it is. The problem is identity. Under the 2021 report, a quoted triple denotes the same thing wherever it appears, so both blocks above describe one thing. The reviewed design and the CMDB observation merge, and there is no way to say "this occurrence". The rdf:Statement exception in version 0.3.2 was a workaround for exactly that.
Read the same text as RDF 1.2 Turtle and it means something else. << s p o >> is now a reified triple, shorthand for a fresh blank-node reifier plus rdf:reifies. Each block gets its own blank node, so the two descriptions become two reifiers. Old RDF-star data does not fail to parse; it quietly changes shape.
RDF 1.2: a reifier with a type
RDF 1.2 separates the triple from its occurrences. In RDF 1.2 Concepts, a triple term can appear only as the object of another triple. A reifying triple has the predicate rdf:reifies and a triple term as its object, and its subject is the reifier. The reifier, not the triple term, is what gets described. An unasserted triple term claims nothing; when the triple is asserted as well, the reifier's triples become a triple annotation. RDF 1.2 Schema allows several reifiers for one proposition, for example from different sources, which RDF-star could not express.
This was the piece Linked.Archi was missing. The reifier does not have to be an anonymous annotation node. It can be a typed architecture object: am4:Serving, a subclass of arch:QualifiedRelationship. Each relationship is now written four ways: the direct am4:serves triple for traversal, am4:qualifiedServing from the source element to the relationship resource, the resource itself with its own arch:source, arch:target and metadata, and rdf:reifies joining the resource to the triple. In Turtle 1.2 the designed occurrence fits in one statement, and the CMDB observation becomes a second reifier of the same triple:
ex:AvailabilitySearch am4:qualifiedServing ex:serving-017 ;
am4:serves ex:BookingEngine ~ ex:serving-017 {|
a am4:Serving ;
arch:source ex:AvailabilitySearch ;
arch:target ex:BookingEngine ;
arch:approvalState arch:Approved ;
prov:wasDerivedFrom ex:ADR-042
|} .
<< ex:AvailabilitySearch am4:serves ex:BookingEngine ~ ex:serving-017-observed >>
a am4:Serving ;
arch:source ex:AvailabilitySearch ;
arch:target ex:BookingEngine ;
prov:wasGeneratedBy ex:CMDBImport-2026-09 .
The designed and the observed occurrence now sit side by side instead of merging, and the core ontology treats both as managed architectural objects with identity and lifecycle, not as a workaround. Here the n-ary view, an instance of a relation, and the reification view, a statement about a triple, meet in one resource. RDF 1.2: Why and How works through the same relationship in full: the long form, N-Triples, SPARQL 1.2 queries and their SPARQL 1.1 fallback, validation and migration.
The rules that came out of this are short. DD-10 keeps predicates and relationship resources apart and bridges them with rdf:reifies, and the conformance principles on the same page turn that into checks. Always emit the direct triple (P-7). Do not depend on rdf:Statement (P-2). arch:unqualifiedForm links a relationship class to its predicate at schema level only (P-3); at instance level the predicate is read from rdf:reifies.
The route from there was not straight either. arch:QualifiedRelationship first appeared in March 2024, as a subclass of arch:Relationship with arch:source, arch:target and arch:simpleRelationship, which the ontology marked as a close match of prov:unqualifiedForm from the PROV-O qualified-relation pattern. In March 2026 it briefly became a subclass of rdf:Statement, and the 2019 names arch:relSource and arch:relTarget came back, now defined under rdf:subject and rdf:object, with arch:relPredicate under rdf:predicate. In April 2026 that superclass was removed, the generic relationship class went with it, arch:source and arch:target returned, rdf:reifies became the bridge and arch:unqualifiedForm arrived. The class's history note records the change.
What changed in practice
Validation targets the typed reifier. In the core shapes, QualifiedRelationshipShape requires exactly one arch:source and one arch:target, and the ArchiMate 4.0 ServingShape checks the source and target matrix. Neither needs triple terms, so both run on any SHACL engine. SHACL 1.2 adds a way to constrain reifiers directly; the companion guide covers it.
arch:source and arch:target are also the fallback for tools without triple terms. RDF 1.2 Concepts defines a Basic conformance level that does not include them, and a tool at that level can still read every relationship through those two properties.
Before RDF 1.2, RDF4J could write RDF-star quoted triples as opaque urn:rdf4j:triple: IRIs, which parse without error and mean nothing to other tools. The Linked.Archi converters moved to RDF4J 6 in July 2026, emit real triple terms, and have a test that rejects the old form. The shapes do not compare the triple term with arch:source and arch:target; a separate query does, using the SPARQL 1.2 triple-term functions to check that each reified triple matches its reifier's arch:source and arch:target and is asserted. The companion's tool support section lists the other tools tested.
None of the RDF 1.2 or SPARQL 1.2 documents is a Recommendation yet. On 3 October 2026, RDF 1.2 Concepts is a Candidate Recommendation and RDF 1.2 Semantics a Candidate Recommendation Draft, while RDF 1.2 Turtle, RDF 1.2 Schema and SPARQL 1.2 Query are Working Drafts. For provenance per fact, DD-15 rejected RDF 1.2 reification, because it nearly doubled the number of quads and required SPARQL 1.2 to query, and kept source-scoped named graphs instead. In Linked.Archi, reifiers are for relationship occurrences.
Related
- Design Decisions: DD-10: predicates and relationship resources, kept apart and bridged
- Relationship Modelling Guide: the full pattern, RDF 1.2 section
- RDF 1.2: Why and How, the Linked.Archi Way: how to write, query, validate and migrate Linked.Archi relationships in RDF 1.2
- Core ontology:
arch:QualifiedRelationshipand its properties - ArchiMate 4 ontology:
am4:Servingand the other relationship types - The Capture Wall: every relationship is born reified
- Capture along the Squiggle: designed and observed relationships as separate reifiers
- Sealing the Knowledge-Leaking Pipes: the same tour operator
- Tracing EA Services to the Architecture They Change: where ADR-042 came from
- Minimal OWL + SHACL in meta.linked.archi: why constraints live in SHACL
Linked.Archi Publications