Common Core Ontologies
Home/Blog/How Ontologies Simplify Regulatory Compliance in Data Systems
PRACTICE

How Ontologies Simplify Regulatory Compliance in Data Systems

October 30, 2026 · Marcus Webb
How Ontologies Simplify Regulatory Compliance in Data Systems

In short: regulations like GDPR and HIPAA require organizations to prove exactly what data they hold, why, and who can touch it. Ontologies give engineering teams a formal, queryable map between regulatory obligations and actual data elements — turning compliance from a spreadsheet exercise into a structural property of the system.

Compliance teams and engineering teams routinely talk past each other. Legal describes an obligation in terms of "personal data categories" or "records of processing," while engineering sees a database with three hundred tables and a schema that changed again last sprint. The usual bridge between the two is a spreadsheet: a manually maintained inventory listing which tables hold which kind of regulated data. It is out of date within weeks, because nothing connects it to the schema it is supposed to describe.

An ontology replaces that spreadsheet with a formal, machine-readable classification that lives alongside the data itself. Instead of a document that someone has to remember to update, the compliance mapping becomes a property of the data model — queryable, versioned, and impossible to silently drift out of sync. Building that kind of structural discipline into a data platform from the start is exactly the kind of work YuSMP's custom software development team builds in alongside the rest of the architecture, rather than bolting it on after an audit finds the gaps.

Why Spreadsheets Fail as a Compliance Record

A data inventory spreadsheet fails for a structural reason, not a discipline reason: nothing enforces that it stays accurate. When an engineer adds a column, splits a table, or migrates a field to a new service, the spreadsheet does not know. It only gets updated if someone remembers to open it, and in practice that update happens during the next compliance audit rather than at the moment the schema changed — often months apart.

The manual audit that follows is where the real cost shows up. Someone has to walk the current schema, compare it against the stale inventory, and reconcile the two by hand, usually under deadline pressure from a regulator or a customer's security questionnaire. Every reconciliation starts from zero because nothing from the last audit carried forward into the system itself. The spreadsheet records a snapshot; it never becomes a standing property of the data.

What an Ontology Actually Adds to a Compliance Program

An ontology adds three things a spreadsheet cannot: entity classes, formal relations, and semantics that a machine can reason over. Instead of a free-text column saying "this table has PII," a data element gets classified as an instance of a defined class — for example, an Information Content Entity with a specific subtype for personal data — using the same kind of mid-level vocabulary the Common Core Ontologies provide for general data integration work.

Relations are what turn isolated classifications into an actual compliance graph. A record classified as personal data can be connected to the Agent that processes it, the system that stores it, and the Act of collection that brought it into the platform. Free-text tags cannot express those connections consistently; formally defined relations can, which is what makes the resulting map queryable rather than just descriptive.

How Does an Ontology Create an Audit Trail?

An ontology creates an audit trail by tagging data elements and tables directly with ontology classes, then expressing the connections between them as relations that a query engine can traverse. A customer table's email column might be tagged as an instance of an Information Content Entity that describes a Person; a logging service that reads that column is linked through has_agent to the same entity; the nightly export job that moves it to a warehouse is modelled as an Act that occurs_on a date and has that entity as input.

Once those classifications and relations exist, the audit trail is not a document someone assembles under deadline — it is a query. "Show me every system that touches personal data under GDPR Article 30" becomes a traversal over the graph rather than a manual walkthrough of the schema. Teams typically expose this through SPARQL, the standard query language for RDF and OWL data, often sitting behind a graph database that the compliance and engineering teams can both query directly.

Mapping Common Regulations to Ontology Classes

The specific mapping differs by regulation, but the pattern is consistent: identify the categories the regulation itself defines, then model those categories as ontology classes rather than inventing a parallel vocabulary.

  • GDPR data mapping. Article 30 requires records of processing activities — what personal data exists, the purpose of processing, and who has access. Modelling "special category data" (health, biometric, political opinion, and similar sensitive fields) as explicit ontology classes means the Article 30 record is generated from the graph rather than maintained as a separate document.
  • HIPAA and FHIR. Healthcare data systems have their own well-established interoperability standard in FHIR, and the ontology work there follows the same classification pattern applied to protected health information specifically. A deeper treatment of FHIR-specific modelling is its own topic; the short version here is that the same entity-classification approach extends to PHI without requiring a different methodology.
  • SOC 2 evidence collection. SOC 2 audits ask for evidence that access controls match data sensitivity. An ontology that ties Agent classes to the Information Content Entities they can access turns that evidence from a point-in-time screenshot into a continuously queryable access map, which is considerably easier to defend to an auditor.

What Does This Look Like in Practice?

Consider a CustomerRecord table with fields for name, email, billing address, and a health-plan preference entered through a benefits portal. Each field gets tagged with an ontology class rather than left as an undifferentiated column: name and email as instances of personal data, the health-plan field as special category data under GDPR's stricter handling rules, billing address as personal data with a separate retention relation tied to tax-record requirements.

Data fields tagged and linked to compliance classification categories

With that tagging in place, a compliance report is no longer a document someone writes before an audit — it is a query result derived directly from the graph: every table containing special category data, every service with read access to it, and the retention relation governing how long each field can be kept. When the schema changes, the report changes with it, because the report was never a separate artifact to begin with.

Start with the regulation's own data categories — GDPR's "special category data," HIPAA's "PHI" — as your top-level ontology classes before modelling anything else. Borrowing the regulator's own taxonomy keeps your classification defensible in an audit, because you are not asking an auditor to trust a vocabulary you invented.

Where Teams Get This Wrong

The most common failure is treating ontology work as a one-time documentation project rather than an engineering discipline. A team models the current schema carefully, produces a clean compliance map, and then the next schema migration goes out without anyone updating the classifications — at which point the map is exactly as stale as the spreadsheet it replaced, just with better production values.

The fix is tying classification to the same process that governs schema changes in the first place: a CI check that flags a new table or column without an ontology class attached, reviewed the same way a missing type annotation or a missing test would be. Ontology maintenance that lives outside the normal engineering workflow eventually gets skipped under deadline pressure; ontology maintenance that is enforced by the same gate as everything else in the schema does not.

Frequently Asked Questions

Is this the same as a data catalog?

No. A data catalog indexes where data lives and what a field is called, but it does not formally define what a field means or how it relates to other fields. An ontology defines classes and relations with enough precision that a query can reason over them, such as finding every system that touches a given category of regulated data. A catalog tells you where to look; an ontology tells you what you are looking at.

Do we need a full formal ontology like CCO, or can we start smaller?

You can start smaller, but you should still start from an existing upper or mid-level ontology rather than inventing your own classes from scratch. Mapping a handful of high-risk data elements, such as the fields covered by GDPR's special category data, to Common Core Ontologies classes is a reasonable first pass. Expanding coverage domain by domain as new regulatory requirements surface works better than modelling the entire compliance program up front.

How does this help with GDPR specifically?

GDPR Article 30 requires organizations to maintain records of processing activities: what personal data is held, why, and who has access. An ontology-backed data inventory keeps that record synchronized with the actual schema, because the classification lives on the data element itself rather than in a separate document that someone has to remember to update after every migration.

Can this be automated, or is it manual tagging forever?

Initial classification of existing data elements is largely manual or semi-automated pattern matching, but ongoing maintenance can be enforced through CI: a schema-change check that flags new tables or columns without an ontology class attached, the same way a linter flags missing types. The tagging effort front-loads; the maintenance becomes a gate rather than a recurring project.

What's the difference between an ontology and a taxonomy for compliance purposes?

A taxonomy organizes concepts into a hierarchy of categories and subcategories, which is useful for browsing but limited to one dimension of classification. An ontology adds formally defined relations between classes, such as an agent having access to an information content entity, so a query can traverse connections a pure hierarchy cannot express, like which processing activities touch a particular data subject's records across multiple systems.

Does this replace a compliance officer or legal review?

No. An ontology-backed data inventory gives a compliance officer and legal counsel an accurate, queryable record of what data exists and how it flows, which makes their review faster and more defensible. It does not interpret regulatory text or make judgment calls about whether a particular processing activity is lawful — that remains a human decision informed by better evidence.

For a broader survey of how these mappings are applied in practice, see vendor explainers such as item.com's regulatory mapping overview, or the more formal academic treatment in DAOnt, a formal ontology for EU Data Act compliance.