RDF Triples

Type: Standard

What are RDF Triples

RDF (Resource Description Framework) triples are the fundamental unit of semantic knowledge representation. Each triple consists of three parts: subject, predicate, object - forming a statement like "Customer Portal (subject) serves (predicate) Customer Self-Service (object)".

Defined by W3C RDF specification, triples form the foundation of architectural knowledge graphs. See Architectural Knowledge Graph

Structure

Subject - The resource being described (URI or blank node)

Predicate - The property or relationship type (URI)

Example:

@prefix am4: <https://meta.linked.archi/archimate4/onto#> .
@prefix ex:  <https://model.example.com/acme#> .

ex:CustomerPortal am4:serves ex:CustomerSelfService .

Why Triples for Architecture

Graph-Native - Naturally represents interconnected architectural knowledge

Flexible Schema - Add new relationship types without restructuring data, unlike relational databases

Queryable - SPARQL enables complex queries across relationships

Linkable - Connect to external vocabularies (Wikidata, Schema.org, industry ontologies)

Inference - Derive new knowledge from existing triples using OWL reasoning

Architectural Examples

@prefix am4:  <https://meta.linked.archi/archimate4/onto#> .
@prefix ad:   <https://meta.linked.archi/arch-decision#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix ex:   <https://model.example.com/acme#> .

# Elements typed by the ArchiMate 4 ontology
ex:CustomerPortal a am4:ApplicationComponent ;
    skos:prefLabel  "Customer Portal"@en ;
    skos:definition "Web-based self-service portal."@en .
ex:CustomerApi a am4:ApplicationInterface ; skos:prefLabel "Customer API v2"@en .
ex:CustomerSelfService a am4:Service ; skos:prefLabel "Customer Self-Service"@en .

# Relationships
ex:CustomerPortal am4:composedOf ex:CustomerApi ;
                  am4:serves     ex:CustomerSelfService .

# A decision about the element, from the decision log
ex:ADR-017 a ad:Decision ;
    skos:prefLabel "Build the portal as a single-page application"@en ;
    ad:relatedConcept ex:CustomerPortal .

# Cross-tool provenance: where each statement came from
ex:CustomerApi prov:wasDerivedFrom <https://git.example.com/api-specs/customer.yaml> .
ex:ADR-017     prov:wasDerivedFrom <https://wiki.example.com/adr/017> .

See the Linked.Archi ontologies for the complete vocabularies and the relationship modeling guide for how relationships are represented.

Benefits

Interoperability - Standard format understood by semantic web tools

Extensibility - Add new predicates without breaking existing data

Integration - Merge triples from multiple sources into unified graph. See Semantic Integration

Reasoning - Infer implicit knowledge from explicit statements

Querying - Generate stakeholder views by querying the graph. See Stakeholder-Driven Views