Two Perspectives on Keeping Agent Knowledge Under Your Own Control

Neo4j's Enterprise Knowledge Layer manifesto, compared and contrasted against OpenLink's agent-rdf-memory stack alignment post β€” two answers to the same question: how does an enterprise, or an agent operator, retain control of its own knowledge instead of leaking it into a frontier model? agent-rdf-memory answers simply: an RDF-based harness informed by ontologies, held in loosely-coupled form, built entirely on open standards.

5 Convergent 6 Divergent 11 Dimensions
2
Source Articles
13
FAQ Pairs
14
Glossary Terms

KG curated by document-to-kg-skill, rdf-infographic-skill, and Claude Sonnet 5 on behalf of Kingsley Idehen

IntroductionπŸ”—

Two organizations, one week apart in July 2026, published the same diagnosis: agents fail not because the model is weak, but because meaning was never written down anywhere the agent could read it β€” and both are, at bottom, offering a perspective on AI agent harnessing that lets an enterprise, or an agent operator, retain control of its own knowledge rather than leaking it into a frontier model.

Neo4j's Enterprise Knowledge Layer (EKL) proposes a property-graph substrate spanning an entire business β€” ontology, enterprise data, and decision-trace memory β€” that every agent queries continuously, so that meaning stays inside a platform the enterprise itself operates rather than baked as static context into every frontier-model prompt. OpenLink's agent-rdf-memory takes the identical structural idea and narrows it to a single agent's own conduct. Put simply, it is an RDF-based harness informed by ontologies (homegrown and/or shared), held in loosely-coupled form and built entirely on open standards β€” a behavioral contract representable using a variety of document types (RDF-Turtle, JSON-LD, RDF/XML, etc.), retrieved via SPARQL query or filesystem search, subject to operator preference, that keeps identity, preferences, and session history queryable and under the operator's own control rather than re-derived from scratch, or silently absorbed by whichever model happens to be running.

The benefit? Neither approach trusts a chat transcript or a prompt string to hold institutional knowledge. Both externalize meaning into a governed, queryable graph the owner controls β€” one for a business, one for an agent's own operating discipline β€” instead of letting that knowledge leak into, or depend on, any single frontier model.
Convergent β€” both approaches agree in substance Divergent β€” they differ in kind, not just detail
The Two Sources

What Each Article Actually ArguesπŸ”—

The Enterprise Knowledge Layer

JesΓΊs Barrasa, AI Field CTO, Neo4j · July 20, 2026 · 18 min read

Argues that enterprise AI fails when agents each rebuild "meaning" privately, causing semantic duplication and drift. Proposes the EKL: a governed substrate of ontology (technical, domain, process, policy, organization layers), enterprise data (queried in place via the Ontology-Based Semantic Layer, or materialized in the full EKL), and memory (decision traces that compound over time). Concludes: "Intelligence is a commodity. Knowledge is the moat."

How agent-rdf-memory Aligns With the Agent Engineering Stack

Kingsley Idehen, OpenLink Software · July 22, 2026

Maps Brij Kishore Pandey's 11-layer Agent Engineering Stack (Model, Context, Memory, Tools, Skills, Orchestration, Identity, Policy & Guardrails, Observability, Evaluation, Runtime) onto the concrete files of the agent-rdf-memory repository, scoring 7 layers Fully Implemented, 3 Partially Covered, and 1 (Model) Out of Scope β€” with every GitHub link verified against the live repository tree before publication.

The Comparison

11 Dimensions, Side by SideπŸ”—

Each dimension is drawn only from what the two source articles actually state, not inferred capability.

Convergent

Enterprise AI fails when meaning is duplicated across agent prompts and MCP servers. Fix: lighter agents over a smarter shared substrate β€” "organizational knowledge as queryable as data and as actionable as code."

A coding agent behaves inconsistently across sessions and models unless its own operating knowledge β€” identity, preferences, prior sessions β€” is written down once as SPARQL queryable or filesystem searchable RDF. In essence, agent-rdf-memory is simply an RDF-based harness informed by ontologies (homegrown and/or shared), held in loosely-coupled form and built entirely on open standards.

Divergent
Neo4j EKL

Property graph (Neo4j): labeled nodes and relationships with key-value properties, queried in Cypher.

agent-rdf-memory

RDF triples using a variety of notations and syntaxes (Turtle, JSON-LD, RDF/XML, N-Triples, etc.): subject-predicate-object statements using W3C standards (RDF, RDFS, OWL, SKOS) and schema.org vocabulary, queried in SPARQL.

Neo4j EKL

Hybrid: LLM-assisted bottom-up discovery from schemas, query logs, and glossaries, reconciled top-down by human ratification; names industry standards (FIBO, SNOMED) as optional alignment examples customers often reach for, not ontologies the platform itself formally imports.

agent-rdf-memory

Ontology-driven throughout, not merely rule-driven: ontology.ttl formally imports shared ontologies (OPAL, PROV-O, the Event Ontology) alongside homegrown classes, and a typed entities/ registry gives every entity a canonical type for deterministic resolution and reconciliation. preferences.ttl separately grows the behavioral-rule layer incrementally, one HowToStep at a time, from user corrections.

Convergent
Neo4j EKL

Decision-trace memory: every EKL interaction leaves a trace of which of several valid paths worked, so "the ontology holds what's possible; memory holds what's proven," and the next run starts further along.

agent-rdf-memory

Three explicit tiers: episodic memory in dated sessions/ files, semantic memory in entities/, and long-term behavioral memory in preferences.ttl β€” governed by its own session-governance sub-HowTo.

Neo4j EKL

A dedicated policy ontology and organization ontology, federated like data mesh: domain teams own their own definitions, a platform team owns the shared substrate, and access rules are enforced computationally at query time.

agent-rdf-memory

preferences.ttl is itself the policy layer, manifesting a Knowledge Graph deployed using Linked Data principles (i.e., a Semantic Web): 140+ HowToSteps, many implemented as hard blocking gates that fail closed, with a public/private file split (preferences.private.ttl, gitignored) enforcing the data boundary.

Neo4j EKL

Agents query the EKL continuously at request time β€” never cache or carry a static copy, since the layer is both larger than any context window and constantly changing.

agent-rdf-memory

SPARQL-routed context selection over a Virtuoso endpoint: prompt-intent classification picks a relevance budget, not a full dump, following a mandatory 9-step session-start retrieval protocol with a graceful file-read fallback.

Divergent
Neo4j EKL

Not separately modeled beyond the organization ontology's roles, responsibilities, and ownership β€” no cryptographic agent- or user-identity mechanism is described in the article.

agent-rdf-memory

core.ttl carries both agent and user identity as first-class RDF resources; a verified-identity sub-HowTo runs openssl certificate-modulus checks against WebID-linked credential bundles for whoami-class requests.

Neo4j EKL

Modular: the Ontology-Based Semantic Layer (OBSL) keeps master/transactional data external and queried in place; the full EKL can additionally materialize frequently-needed slices as domain data products inside the layer.

agent-rdf-memory

Fully materialized: every session, preference, and entity is written as an RDF document that provides operational context β€” there is no external-data mode, since the agent's harness, via preferences.ttl, is what is being modeled.

Neo4j EKL

You engineer the EKL on top of a commercial graph platform (Neo4j): the vendor sells the substrate and reusable methodology, but the enterprise's own meaning is always bespoke, populated by its own team.

agent-rdf-memory

As showcased by the public git repository of plain-text RDF-Turtle and Markdown files, model-agnostic by design: any LLM or agent harness (Claude, GPT, DeepSeek, GLM, Grok) can read and extend the same contract without a hosted service.

Neo4j EKL

Enterprise-wide: customers, subscriptions, compliance processes, org structure β€” knowledge about the business the agent acts on behalf of.

agent-rdf-memory

Agent-scoped by default β€” the agent's own behavioral contract, session history, and skill library β€” but not limited to it: business-domain entities are equally modelable, with entity types drawn from homegrown and/or shared ontologies giving the system deterministic entity resolution and reconciliation. The same objective the EKL pursues from the enterprise inward, agent-rdf-memory pursues from the agent's own operating substrate outward.

Neo4j EKL

Enterprise meaning stays inside a governed graph substrate the enterprise itself operates; agents query it at request time instead of having business definitions, policy, and process knowledge baked as static context into every prompt sent to a frontier model. This keeps sensitive institutional knowledge from leaking outward β€” though the substrate is still coupled to the Neo4j platform as its engine.

agent-rdf-memory

Simply an RDF-based harness informed by ontologies (homegrown and/or shared), held in loosely-coupled, plain-text, open-standard documents under the operator's own repository. Because it is not bound to any single model vendor β€” Claude, GPT, DeepSeek, GLM, and Grok can all read and extend the identical contract β€” an agent's identity, preferences, and history never need to reside inside, or be re-sent as opaque context to, a frontier model provider's own systems.

The Bottom Line

Convergence ThesisπŸ”—

Despite opposite data models and opposite scopes β€” enterprise business vs. agent self-conduct β€” both artifacts land on the same argument: intelligence is now a commodity available to everyone at the same API price, so the only durable advantage left is a faithful, governed record of what an organization, or an agent, actually knows and has learned, kept under its own control rather than leaked into a frontier model it does not own. Neo4j states this directly: "Intelligence is a commodity. Knowledge is the moat." β€” defended inside a platform-coupled graph substrate. agent-rdf-memory defends the identical moat with the opposite coupling strategy: a loosely-coupled, ontology-informed RDF harness, built entirely on open standards, that refuses to let any behavioral rule live only in a chat transcript that evaporates the moment the session ends β€” or only inside one vendor's model.

Method

How This Comparison Was ProducedπŸ”—

Retrieve both source articles in full

Fetched the Neo4j blog post directly, and located the OpenLink post's actual body inside its embedded post-content iframe rather than the weblog listing page.

Extract each article's core argument and terms

Identified Neo4j's EKL definitional layers (technical, domain, policy, organization ontology; OBSL vs. full EKL) and OpenLink's 11-layer Agent Engineering Stack scorecard as the load-bearing structure of each source.

Reuse the existing agent-rdf-memory companion entity, not re-mint it

Bound a prefix to the already-published agent-rdf-memory-stack-alignment-inline-links.html companion RDF and referenced its repository resource directly, per the cross-document local-term-reuse rule.

Reuse the canonical ComparisonDimension term via its origin prefix

Bound the cdx: prefix to ComparisonDimension's canonical corpus origin document rather than re-minting a local class, per the ontology cross-reference gate.

Build an eleven-dimension comparison table

Selected eleven axes β€” including knowledge control vs. frontier-model leakage β€” and classified each as convergent or divergent based on what each source article actually states, not inferred capability.

Generate the RDF, HTML, and Markdown companions

Transformed the comparison into RDF-Turtle via document-to-kg-skill, rendered it as this HTML infographic via rdf-infographic-skill, and wrote the Markdown companion.

FAQ

Frequently Asked QuestionsπŸ”—

What is Neo4j's Enterprise Knowledge Layer (EKL)?

A shared, governed substrate β€” built on a property graph β€” where an enterprise's ontology, enterprise data, and decision-trace memory live, accessible continuously to every agent, tool, and application rather than being rebuilt inside each one.

What is agent-rdf-memory?

A queryable behavioral contract in RDF β€” representable as RDF-Turtle, JSON-LD, RDF/XML, or other open-standard document types β€” for AI coding agents: a hub-and-spoke preferences.ttl with 140+ HowToStep entries, companion howto/*.ttl specification files, episodic sessions/, and a typed entities/ registry, retrieved via a mandatory 9-step session-start protocol combining SPARQL query and filesystem search.

What do both approaches agree on?

That the reasoning model itself is not the bottleneck. Frontier LLMs are commoditized and rented by the token; the durable advantage is a governed, queryable record of meaning that agents draw on instead of re-deriving or duplicating it per session or per agent.

How do the two differ in data model?

EKL is built on Neo4j's property graph and queried in Cypher. agent-rdf-memory is RDF triples using a variety of notations and syntaxes (Turtle, JSON-LD, RDF/XML, etc.), using W3C standards (RDFS, OWL, SKOS) and schema.org terms. For instance, it can be queried in SPARQL over an endpoint β€” such as what a Virtuoso instance provides, whether run locally, on-premise, or hosted across various clouds (AWS, Azure, GCP).

How is the ontology built in each approach?

EKL uses a hybrid method: LLMs propose mappings bottom-up from real schemas and glossaries, and humans ratify what's authoritative. The article names two industry standards, FIBO and SNOMED, as optional alignment examples customers often reach for β€” it does not describe the EKL platform itself formally importing them. agent-rdf-memory is ontology-driven throughout: its own ontology.ttl formally imports shared ontologies (OPAL, PROV-O, the Event Ontology) alongside homegrown classes, and a typed entities/ registry gives every entity a canonical type for deterministic resolution and reconciliation. preferences.ttl separately grows the behavioral-rule layer incrementally, one HowToStep at a time, from user corrections.

How does each approach handle agent memory and traceability?

EKL captures a decision trace on every interaction so the ontology holds what's possible while memory holds what's proven. agent-rdf-memory separates memory into three explicit tiers: episodic session files, semantic entity files, and long-term behavioral rules in preferences.ttl.

How does governance work in each?

EKL federates governance the way data mesh federates data: domain teams own their own definitions, a platform team owns the shared substrate, and a policy ontology enforces access computationally at query time. agent-rdf-memory's preferences.ttl is itself the policy layer, manifesting a Knowledge Graph deployed using Linked Data principles (i.e., a Semantic Web), implemented as hard, fail-closed compliance gates plus a public/private file split.

What query language does each use?

Cypher against Neo4j for the EKL. SPARQL against a Virtuoso endpoint for agent-rdf-memory, selected via prompt-intent classification as a bounded relevance budget rather than a full context dump.

Does either approach address agent identity directly?

Only agent-rdf-memory does, explicitly. Its core.ttl models both agent and user identity as RDF resources, with a verified-identity sub-HowTo that runs openssl certificate-modulus checks for whoami-class requests. The EKL article does not describe a comparable identity mechanism.

Is either approach vendor-dependent?

EKL is engineered on top of a commercial graph platform (Neo4j) β€” "you don't buy it, you engineer it" β€” but the substrate itself is a vendor product. agent-rdf-memory is a plain-text git repository, model-agnostic by design.

Which has the bigger scope β€” enterprise data or agent conduct?

EKL is enterprise-wide in scope: customers, processes, compliance, org structure. agent-rdf-memory is agent-scoped by default β€” it models how the agent itself should behave β€” but is not limited to that: its ontology-driven design (homegrown and/or shared ontologies typing every entity) extends equally to business-domain entities, giving it deterministic entity resolution and reconciliation as a byproduct.

Can the two approaches be combined?

In principle yes: an agent could consult an enterprise-scale EKL (property graph) for business grounding while using an agent-rdf-memory-style RDF contract (SPARQL) for its own operating identity, preferences, and session history β€” the two operate at different layers and neither precludes the other.

What is the real, shared perspective behind both approaches?

Both are offering a perspective on AI agent harnessing that lets an enterprise, or an agent operator, retain control over its own knowledge rather than leaking it to a frontier model β€” as static prompt context, as duplicated MCP-server logic, or simply by having no record of it outside a vendor's chat transcript. EKL keeps that control inside a governed, enterprise-operated graph platform. agent-rdf-memory keeps it even more directly: it is simply an RDF-based harness informed by ontologies (homegrown and/or shared), held in loosely-coupled form and built entirely on open standards, so the knowledge never has to live inside, or be re-derived by, any single frontier model.

Glossary

Key TermsπŸ”—

Enterprise Knowledge Layer (EKL)
Neo4j's term for a shared, governed substrate of ontology, enterprise data, and memory that agents, tools, and applications query continuously rather than each rebuilding meaning independently.
Ontology-Based Semantic Layer (OBSL)
The core, minimal implementation of the EKL: the ontology plus its reference data and the tools that operate on them, with master and transactional data left external and queried in place.
BI Semantic Layer
The metrics layer in tools like Looker, dbt, or PowerBI that pins down how a single metric such as "revenue" is computed β€” useful for reports, but insufficient for agents since a metric is an atom with no connective model.
Context Layer
A semantic layer extended with unstructured documents so an agent can pull in text alongside metrics β€” closer to what agents need than a BI layer, but still only enriches what a model sees rather than governing what the enterprise means.
Domain (Business) Ontology
The layer of the EKL ontology capturing the key entities of the business and their relationships, often aligned to industry standards like FIBO or SNOMED.
Technical Ontology
The layer of the EKL ontology capturing systems, data sources, and data assets, built from metadata catalogs, direct data inspection, or query-log parsing.
Policy Ontology
The EKL layer capturing the rules that govern access and use β€” who may see what, under which conditions β€” expressed in the model rather than bolted on afterward.
Data Mesh
A federated data-ownership pattern the EKL explicitly extends: instead of federating just data products, the EKL federates meaning, mappings, and policy.
Hub-and-Spoke Preferences
preferences.ttl's own structure in agent-rdf-memory: one hub linking to 9 sub-HowTo themes, each owning its own step list of pointers to full-specification companion files.
Compliance Gate
A howto/*.ttl rule in agent-rdf-memory that blocks task completion until a specific check passes β€” "fail closed, not open" β€” analogous in intent to the EKL's policy ontology.
WebID
A URI-based identity used by agent-rdf-memory's verified-identity protocol, checked via openssl certificate-modulus comparison for both user and agent β€” a mechanism not described in the EKL article.
SPARQL-Routed Context Selection
agent-rdf-memory's retrieval mechanism: prompt-intent classification selects a bounded relevance budget via SPARQL, rather than continuously querying an always-on service the way the EKL expects agents to.
Ontology-Driven Entity Registry
agent-rdf-memory's entities/ folder: every entity is typed against a homegrown or shared ontology class rather than left as a bare string, which is what gives the system deterministic entity resolution and reconciliation across otherwise-unrelated documents.
Loosely-Coupled RDF Harness
agent-rdf-memory's defining architectural property: plain-text, open-standard RDF documents not bound to any single model vendor's runtime or platform. Any LLM or agent harness can read, query, and extend the same files, so the operator's knowledge stays under its own control instead of leaking into one frontier model provider.
Knowledge Graph

KG Explorer β€” Comparison Ontology & InstancesπŸ”—

The same graph described by the companion RDF, rendered live: the two source articles, the two KnowledgeSubstrateApproach instances, and the 10 ComparisonDimension instances linking them. Drag nodes, click to open a Linked Data description, switch to Advanced + Full to see literal comparison text.

Basic/Core shows the two approaches and 11 dimensions; Advanced/Full adds FAQ, glossary, HowTo, and literal comparison values.
0 nodes / 0 links
Mode
Density