Knowledge architecture · reconstructed

From semantic structure to RDF notation

Semantic layer to RDF notations architecture A context layer, identified as the ontology, forms the outer boundary around a semantic layer containing a TBox for RDF Schema vocabulary axioms such as subClassOf and subPropertyOf, an RBox for OWL property axioms, and an ABox for instance assertions including owl:sameAs, whether asserted explicitly or inferred implicitly. The model becomes an abstract representation, then RDF, then concrete notations and serialization formats including Turtle and JSON-LD. CONTEXT LAYER ONTOLOGY SEMANTIC LAYER ABSTRACTS ENCODES SCHEMA TBox RDFS vocabulary axioms subClassOf · subPropertyOf ROLE AXIOMS RBox OWL property axioms transitive · symmetric · inverse DATA ABox RDF instance assertions owl:sameAs · explicit or inferred Abstract representation model independent MODEL RDF (entities and relationships denoted using standardized identifiers) EXPRESSED THROUGH NOTATIONS Turtle JSON-LD Other notations LEGEND FOCAL CONCEPT COMPONENT TRANSFORMATION FLOW

Reading the architecture

The TBox supplies RDFS vocabulary axioms such as subClassOf and subPropertyOf; the RBox supplies OWL role/property axioms; and the ABox supplies instance-level assertions, including owl:sameAs equivalence stated explicitly or inferred through reasoning. Together they form the semantic model, which is represented abstractly as RDF and then written using a concrete notation.

Source fidelity

The context layer is shown as the enclosing ontology—the formal frame within which the semantic layer is interpreted. “Other notations” preserves the handwritten “etc.” without adding unsupported formats. View the published original visualization.

Additional visualization · worked example

Context Layer informed by Ontology

This rendition makes the architecture concrete: the Ontology contains the TBox and RBox, while the enclosing Context Layer contains the TBox, RBox, and ABox. Solid lines denote asserted relations; the dotted Alice-to-Carol relation is inferred through the transitivity of ancestorOf.

Context Layer informed by Ontology: an Ontology box encloses a TBox subclass scaffold and an RBox transitive-property declaration; the wider Context Layer also contains an ABox with Alice, Bob, and Carol, where asserted ancestor relations are solid and the inferred Alice-to-Carol relation is dotted.
OpenLink-style rendition. Blue-outlined regions are individual hyperlinks and support mouse, touch, and keyboard navigation. Open the canonical PNG.
Architecture for interoperable systems

Semantic and Context Layers via Open Standards

Most data systems can tell you what a value is. Far fewer can tell you what it means within a shared universe of discourse. An ontology supplies that contextual frame: the concepts, relationships, constraints, and identity anchors through which a semantic layer becomes interpretable.

The sketch above captures a compact but consequential architecture. At the top sits a semantic layer: a TBox that defines terminology and class semantics with RDF Schema (RDFS), an RBox that defines role/property axioms with OWL 2, and an ABox that supplies assertions about actual things. Around it sits the context layer—basically, the ontology that establishes the formal frame in which those terms, relationships, and assertions are understood. Beneath this ontology-enclosed semantic model is RDF—not a file format, but an abstract graph model that can be expressed through multiple concrete notations and serialization formats, including Turtle and JSON-LD.

This separation matters because syntax alone does not produce interoperability. Two systems can exchange perfectly valid JSON and still disagree about the identity of the things being described, the meaning of their properties, or the conditions under which a statement should be applied. Open standards give us a way to make those assumptions explicit.

The ontology is the context: it establishes the shared frame in which terms, entities, relationships, and assertions acquire usable meaning.

The semantic layer: shared meaning before shared data

The semantic layer begins with distinctions borrowed from knowledge representation. The TBox—the terminological component—defines the kinds of things a domain recognizes and their class-level relationships. Classes such as Person, Organization, Product, or Invoice live here.

RDF Schema provides a standard vocabulary for declaring classes, properties, domains, ranges, and class and property hierarchies through rdfs:subClassOf and rdfs:subPropertyOf.

The RBox—the role or relationship component—is where OWL adds richer property axioms. It can state that a property is transitive or symmetric, that one property is the inverse of another, and that properties are equivalent, disjoint, functional, inverse-functional, reflexive, or asymmetric. These are not additional instance records; they are formal characteristics of the relationships used to connect individuals. The OWL 2 structural specification defines these object-property axioms explicitly.

The ABox—the assertional component—contains claims about particular entities: this organization issued this invoice; this product has this offer; this document was generated by this activity. It can also contain an explicit owl:sameAs assertion that two identifiers denote the same individual; the same equivalence can be inferred implicitly through OWL reasoning. The TBox supplies the class vocabulary, the RBox defines the behavior of relationships, and the ABox uses both to describe the world.

Keeping the three components conceptually distinct produces leverage. Class vocabulary and relationship axioms can evolve without being buried inside application code, and instance data can be interpreted by software that was not present when the data was created. A row in one database, an object in an API response, and a statement in a document can all refer to the same identified entity and use the same published predicate.

The context layer: ontology as the frame

A semantic statement rarely stands alone. “Alice approved the payment” is useful, but an operational system will immediately ask: Which Alice? What is an approval? Acting in what role? On behalf of whom? At what time? Against which policy? Using which source record? Is the assertion current, superseded, inferred, or disputed?

The ontology provides this context layer. It defines the domain’s universe of discourse and supplies the classes, relationships, rules, and reusable vocabularies needed to interpret the semantic layer. In practical systems, that ontological frame commonly covers:

The open-standards ecosystem already provides useful ontological building blocks. PROV-O defines an RDF vocabulary for entities, activities, agents, derivation, attribution, and delegation. RDF Schema and OWL define domain vocabularies and axioms. RDF datasets provide a default graph plus named graphs, giving applications a standard structural basis for organizing distinct assertion sets. SHACL describes constraints over RDF graphs, allowing a system to state and test what acceptable contextualized data should look like.

The key architectural choice is to make the ontology explicit rather than hide its assumptions in code, prompts, middleware, or undocumented conventions. Once the contextual frame is represented with identifiers and shared vocabularies, it can be queried, validated, exchanged, and audited using the same graph machinery as the domain data it governs.

RDF is the model—not the notation or serialization format

The lower half of the visual makes a distinction that is often missed. RDF is an abstract data model. The current RDF 1.2 Concepts specification describes RDF graphs as sets of subject–predicate–object triples and RDF datasets as a default graph plus zero or more named graphs. An RDF document represents that graph or dataset using a concrete notation that also serves as a serialization format.

Turtle and JSON-LD are two such RDF notations and serialization formats. Turtle is compact and well suited to human authoring and inspection. JSON-LD 1.1 carries Linked Data through familiar JSON structures and integrates naturally with Web applications. They may look very different, yet both can represent the same underlying graph.

This gives architecture an escape hatch from format lock-in. One team can work in JSON-LD, another in Turtle, and a third through a SPARQL endpoint. As long as their documents map to the same identifiers and graph statements, the meaning survives the change in notation or serialization format.

An open standards stack

The diagram becomes more useful when read as a small stack of separable responsibilities:

Identity
IRIs give entities, properties, graphs, agents, and policies globally referenceable names.
Semantic layer
The TBox, RBox, and ABox work together to provide shared terminology, relationship semantics, and instance assertions.
Terminology
RDF Schema publishes the class and property vocabulary and the subClassOf and subPropertyOf hierarchies that form the TBox.
Relations
OWL property axioms form the RBox, defining characteristics such as transitivity, symmetry, inversion, functionality, and property chains.
Assertions
RDF graphs express ABox facts—including owl:sameAs equivalence asserted explicitly or inferred implicitly—while remaining independent of storage layout.
Context
The enclosing ontology supplies the shared contextual frame, reusing vocabularies such as PROV-O for source, agent, activity, time, and scope.
Validation
SHACL states machine-readable expectations for nodes, properties, cardinalities, datatypes, and relationships.
Access
SPARQL queries the graph by meaning and relationship rather than by one application’s table or object layout.
Exchange
Turtle, JSON-LD, and other RDF notation–serialization format combinations carry the same abstract model across tools and organizational boundaries.

Why this matters now

The context problem becomes acute when software agents participate in workflows. A model can generate a plausible answer from text, but an accountable agent needs more: stable identifiers, source lineage, authorization boundaries, validation rules, and evidence that another system can inspect independently.

A semantic layer helps the agent understand that two differently shaped records refer to the same kind of entity—or the same entity. An ontology supplies the broader context needed to determine whether a statement is applicable and trustworthy for the task at hand. Open standards keep both layers from becoming proprietary memory trapped inside one model, vendor, vector index, or application.

This is also why a knowledge graph should not be reduced to “a database with edges.” The durable value lies in the contract around the edges: globally referenceable identities, published semantics, explicit provenance, reusable constraints, and a standard query model. The graph becomes a medium through which independent systems can exchange not just values, but interpretable claims.

A practical implementation pattern

  1. Start with identifiers. Mint or reuse stable IRIs for the entities, concepts, agents, and policies that must survive outside one application.
  2. Find, reuse, and cross-reference shared vocabularies. Create your own only as a last resort. That said, you can begin with your own vocabulary and progressively cross-reference it with shared ontologies as you—or, increasingly, your agents—discover them. Construct only the smallest useful set of TBox and RBox terms and axioms.
  3. Represent assertions separately. Keep domain facts in ABox graphs and preserve their source boundaries rather than flattening everything into an anonymous pool.
  4. Attach additional context progressively. Record provenance, time, delegation, validation state, and applicable policy using named resources and reusable vocabularies.
  5. Validate and expose. Use SHACL to validate graph-shape conformance, SPARQL for inquiry, and content negotiation or APIs to deliver the graph in the notation and serialization format each consumer can use.

The point is not to deploy every standard at once. It is to keep the architecture open at each boundary. Begin with the identifiers and semantics that remove the most ambiguity. Add context where decisions require evidence. Add validation where downstream systems need guarantees. Preserve the abstract graph so that serialization and storage remain implementation choices rather than permanent constraints.

The durable architecture

The sketch’s lasting insight is the separation of concerns through containment. The semantic layer separates class terminology in the TBox, relationship axioms in the RBox, and instance assertions in the ABox. The enclosing context ontology establishes the shared interpretive frame—including identity, provenance, time, policy, and purpose. RDF supplies a common abstract model. Open notations and query standards make the result portable.

When these pieces are collapsed, meaning leaks into code and context disappears into operational exhaust. When they are separated but connected through open standards, data becomes easier to integrate, agents become easier to govern, and decisions become easier to explain.

That is the real promise of semantic and context layers: not another abstraction for its own sake, but a Web-native foundation for exchanging claims whose meaning and conditions of use can travel together.