Guide

What is a data ontology?

In short

A data ontology is a map of your operation: the objects you work with, such as customers, orders or case files, the links between them and the actions people take, all mapped onto the systems you already run. It gives your data, your applications and AI one shared language.

An ontology in plain terms

Every business has its own vocabulary. When sales says “order” it means an accepted quote; when the warehouse says it, it means a delivery note ready to ship. The CRM calls an “account” what the ERP calls a “customer” and the purchasing spreadsheet calls a “code”. Each system works fine on its own, but none of them knows they are talking about the same thing.

An ontology writes that vocabulary down and links it to the real data. It says which things exist in your operation, what is known about each one, how they relate and what can be done with them, and for every piece of data it records which system holds it. It does not replace the ERP or the CRM: it sits on top. It has four pieces.

Objects

The things you work with and that people call by name: a customer, an order, an invoice, a product, a warehouse. An object is one thing even when it appears in several programs: the customer Ruiz Hardware is one customer, even with one code in HubSpot, another in the ERP and a third in the invoicing tool.

Properties

What is known about each object: the tax ID, the payment terms, the credit limit, the status of an order. Each property has a source of truth. The ERP owns the credit limit, the CRM owns the assigned sales rep and the invoicing program owns the outstanding balance. When two systems disagree, the ontology says which one wins.

Links

How the objects relate: a customer places orders, an order has lines, each line is for a product, the product has stock in a warehouse and the order is billed on one or more invoices. Links let you ask questions that cross systems without writing a new report each time.

Actions

What people do with the objects: confirm an order, reserve stock, issue an invoice, put a customer on hold for non-payment. Each action has rules (an order is not confirmed if the customer is over their credit limit), permissions (who may take it) and a record (who took it and when). When it runs, it writes to the right system through that system’s API.

Eighteenth-century engraving: the "Système figuré des connaissances humaines", a chart that sorts knowledge into three branches, memory, reason and imagination, each split with braces into disciplines and trades.
A map of things and how they relate, from more than two centuries ago; under Reason the word "Ontologie" already appears. "Système figuré des connaissances humaines", Diderot and d’Alembert’s Encyclopédie, vol. 1 (1751). ARTFL scan, University of Chicago. Public domain. Wikimedia Commons

A worked example: customers, orders, invoices and stock

An illustrative example, not a specific client. A supplies distributor sells through a Shopify shop and through sales reps. Contacts and deals live in HubSpot. Orders, the catalogue and stock live in the ERP. Invoices are issued in Holded. Purchasing keeps the minimum stock for each product in a spreadsheet.

The question nobody can answer without an afternoon of work: which orders are waiting for stock and belong to customers with overdue invoices? Answering it means crossing four sources that use different codes.

The objects and where each one lives

Customer: contact details and sales rep from HubSpot, credit limit and terms from the ERP, balance from Holded. Order: created in Shopify or by a rep, with its status owned by the ERP. Invoice: issued by Holded. Product and stock: the ERP, with the minimum stock from the purchasing spreadsheet. Warehouse: the ERP.

Recognising the same customer in every program

We build a matching table with the customer’s code in each system. Records are matched on tax ID first; failing that, on email domain and address; anything uncertain goes to a queue where a person confirms it. Customers are never merged on name alone: there are too many Ruiz Hardwares.

The question, now a single query

With the links in place, the question becomes a walk across them: customers with an overdue invoice, their open orders, the lines on those orders and the stock of each product. The answer comes back in seconds and can become a daily list for finance and the warehouse.

The actions in the example

Confirm order checks credit and stock and, if both are fine, reserves the stock in the ERP. Put customer on hold needs approval from finance and leaves a record. Issue invoice calls Holded: the invoice is still issued by the invoicing program, which is the one that has to meet Spain’s VeriFactu rules, and the ontology only requests it and keeps the link.

The map of the example

Five objects, the links between them, the system that holds each piece of data and the actions that write back into their system.

Diagram of an ontology. Five objects: Customer, Order, Invoice, Product and Warehouse. A customer places orders, an order contains products and is billed on invoices, a product has stock in a warehouse. Below, the systems the data comes from: HubSpot, the ERP, Holded and a purchasing spreadsheet. On the right, the actions: confirm order, reserve stock, issue invoice and put customer on hold.
Illustrative example. Arrows are links between objects; the tag next to each property names the system it comes from.

How it differs from a database, a data warehouse or a dashboard

They are different pieces that usually live side by side. This table sums up what each one is and what it does not do.

A program’s database

What it is
Where the ERP or the CRM stores its own data, in its own schema
What it answers
Questions inside that program
What it does not do
It knows nothing about the other systems

Data warehouse

What it is
Copies of tables from several systems, gathered for analysis
What it answers
Historical and reporting questions
What it does not do
It usually does not define what each piece of data means, or send anything back to the systems

Dashboard

What it is
Charts and figures on top of the data
What it answers
How are we doing?
What it does not do
It does not explain the definitions or let you act

Ontology

What it is
Shared definitions of objects, properties, links and actions, linked to the systems
What it answers
Questions that cross systems, and it lets people act with permissions and a record
What it does not do
It does not replace the systems or the warehouse: it often relies on them

They are not either-or. An ontology can read from a data warehouse, and a dashboard can use its definitions so that every figure means the same thing.

How we build one, step by step

Without buying a platform, and without modelling the whole company on day one.

  • 1. Pick one question or process

    One that hurts and can be measured, like the question in the example. The rest waits.

  • 2. Map the systems and records

    Which systems exist, which records each one holds, where each piece of data starts and how it moves today, spreadsheets included.

  • 3. Name objects and properties with the people who do the work

    A one-page glossary written with sales, the warehouse and finance, with the source of truth for every property.

  • 4. Resolve identities

    The matching table between codes, its rules and the review queue for uncertain cases.

  • 5. Connect the sources

    APIs and webhooks where they exist, scheduled syncs, read-only database access or files over SFTP. Every sync is idempotent, retries, records what it moved and raises an alert when it fails.

  • 6. Publish views and actions

    The questions as views or a small API, and the actions with permissions and a record, writing to the right system.

  • 7. Go live

    Tests on a test copy, a written rollback and alerts switched on before the first day of use.

  • 8. Grow one process at a time

    Each new process reuses the objects that already exist and adds only what it is missing.

How we connect systems

What it is built with

You do not need a special product to start. In most cases a PostgreSQL database with the matching table and some views, a small service that syncs the sources and exposes an API, and an internal application for the actions are enough. All of it in code in your repository, documented.

If over time your questions become mostly about walking relationships, a graph database or semantic web standards such as the W3C’s OWL can fit. They are rarely needed at the start.

And artificial intelligence

An ontology gives AI context and limits. An assistant that knows what an order is and which actions exist can answer “which of this customer’s orders are stuck?” or propose “put customer on hold”, but the action goes through the same permissions as a person and, where needed, someone approves it. Everything is recorded.

When a platform’s built-in ontology is the right call

Some data platforms come with an ontology built in; the term was popularised in enterprise software by platforms such as Palantir Foundry, which describes it in terms of objects, properties, links and actions. If you have many data sources at scale, a team to run the platform and budget for licences, it can be the right choice, and we can work alongside it.

If not, a lightweight ontology on top of your systems, in code you own, covers the essentials and can grow later.

OWL 2, on the W3C websiteThe Ontology, in Palantir’s documentationDo you need a platform? Read this

What it costs to find out whether it helps

The cost of a Recon, which has a fixed price. In it we pick the question or process, name its objects with the people who do the work and leave you the map: which systems you have, which records each one holds, where each piece of data starts and how it moves.

You also leave with a first piece working on your data, for example the table that recognises the same customer in the CRM, the ERP and the invoicing program, or the report that answers your question. And with a fixed quote for the Launch, or a plain “don’t build” if that is the right call. If we carry on, the Recon is credited.

Frequently asked questions

Is an ontology the same as a database?
No. The database stores the data. The ontology describes what it means, how it relates and what can be done with it, even when it is spread across several systems.
What is the difference between an ontology and a data warehouse?
A warehouse gathers copies of data for analysis. An ontology defines what each thing is, how it relates to the others and which actions can be taken, and it can read from the warehouse. One is for looking; the other is also for acting.
Do I need to buy a platform to have an ontology?
No. It can be built step by step on your ERP, your CRM or your case management system, in code you own. A platform makes sense when the scale of the data and the team justify it.
Do we have to move all our data somewhere new?
No. Each object points to the system that holds its data. Only what is needed for fast answers is copied, and changes are always written to the source system.
What if the same customer has a different code in each program?
That is normal. We build a matching table: records are matched on tax ID, then email and address, and a person confirms the uncertain ones. Nothing is merged on name alone.
Does it make sense for a twenty-person company?
Yes, if several programs do not talk to each other and there are questions nobody can answer without cross-checking spreadsheets. At that size a lightweight ontology for one process is enough.
What does it have to do with artificial intelligence?
It gives AI context and limits. The AI knows which objects exist and which actions it may propose or take, with permissions, a record and human review where needed.
What if one of our programs has no API?
We use a scheduled export over SFTP, or a replica or read-only view of its database. Actions on that program are designed separately, because writing without an API takes more care.
How long until the first part works?
The Recon already leaves a first piece working on your data. A Launch of 3 to 4 weeks puts the first complete process into production, with its objects, views and actions.
Who owns the ontology when we finish?
You do: the glossary, the code, the matching table and the documentation live in your repository. You can maintain it with us, through Mission Control, or with your own team.
Where do we start?
With a fixed-price Recon: we pick one process, name its objects with the people who do the work and see which systems hold its data.

Keep reading

  • Systems integration

    What we connect and build, who we work with and how an engagement runs, in fixed-price stages.

  • Do you need Palantir?

    A data platform, or integrating what you already have: the four options, what each one takes and how to decide before you spend on licences.

  • Custom software: when it pays off

    When it pays off and when it does not, a worked example across an ERP, a CRM and spreadsheets, and what you keep at the end.

  • Subcontracting for integrators

    What we take on inside an integrator’s project, what a lot looks like from start to finish and how we protect their client relationship.

  • Public sector

    Legacy systems renewed without switching them off, unified data and citizen-facing apps, delivered through integrators and framework agreements.

See all services

Start with a Recon.

We map the process, the data and the systems. You leave with a plan and a fixed price, and if we carry on, it is credited against the Launch.

Book a Recon

Palantir and Foundry are trademarks of Palantir Technologies Inc. SME Analytica is not affiliated with, endorsed by or a partner of Palantir.