A semantic data model is the layer between your technical data and the people or AI agents who work with it. It translates tables and columns into terms everyone understands, such as revenue, gross margin or active customer, and records how each term is calculated.
Without that layer, every report, every Excel file and every AI agent may make its own choices. With it, everyone works with the same agreed definitions. In this article you will read what a semantic data model is, what ‘single source of truth’ really means and how to record KPI definitions. This article is part of our guide AI agents in your business: how to get your data ready.
What is a semantic data model?
A data model describes how data fits together: an order belongs to a customer, an invoice to a delivery. A semantic data model adds the meaning:
- Terms in business language: ‘revenue’ instead of a technical formula on invoice lines.
- Fixed calculations: how revenue, margin or turnover rate is calculated.
- Agreements on exceptions: what happens with credit notes, intercompany sales or one-off corrections.
- Hierarchies and groupings: which products belong to which category and which customers to which region.
Those agreements make data from different systems easier to understand and reuse. The data standards of Digitaal Vlaanderen (in Dutch) start from the same principle: record the meaning and structure of data, so different applications can use it consistently.
You also hear the term semantic layer. That is the same idea, often used for the technical layer in a BI tool or data warehouse where those agreements live. In The Case for a Semantic Layer, MIT describes how such a layer makes data from different sources understandable for both people and AI.
Single source of truth: what does it mean?
‘Single source of truth’ (SSOT) is often misunderstood as ‘all data in one database’. It is not. Your data can stay in different systems.
Single source of truth means that every term has one agreed definition and that every report, every dashboard and every AI agent uses that definition. If the CFO and the sales manager ask for last month’s revenue, they should get the same figure when they use the same period, filters, source data and refresh.
A shared glossary helps make those agreements clear. The Flemish government, for example, uses a data glossary (in Dutch) to support a common language around data terms. For your own business, you also record exactly what terms such as ‘revenue’ or ‘active customer’ mean.
What do you record per KPI?
A simple sheet per KPI is enough to start. An example for gross margin:
| Field | Gross margin |
|---|---|
| Definition | Revenue minus cost of goods sold, as a percentage of revenue |
| Formula | (Net revenue − cost of sales) / net revenue |
| Net revenue | Invoiced revenue excluding VAT, minus credit notes, excluding intercompany |
| Cost price | Historical cost price at the time of sale, including allocated transport costs |
| Exceptions | Supplier rebates reduce the cost price in the month they are received |
| Sources | ERP (sales lines, cost prices), accounting (credit notes, rebates) |
| Period | By invoice date |
| Owner | Finance director |
| Refresh | Daily |
This is an example for internal management information. Have the person responsible for finance check the chosen definitions against the intended use and the applicable accounting rules.
How to choose and phrase a KPI well is covered in setting KPIs with the SMART method.
Calculation rules: that is where the difference lies
The name of a KPI is rarely the problem. The difference lies in the calculation rules nobody writes down:
- Transport costs: are they allocated to orders, or do they stay a general cost?
- Cost prices: do you calculate with today’s cost price or with the one at the time of sale?
- Supplier rebates: do they reduce the cost price per item, or come in as separate income?
- Credit notes: do they count in the month of the original invoice or in the month of the credit note?
- Active customer: someone who bought this year, in the last twelve months, or who has a running contract?
For internal analyses, different choices are sometimes possible. The problem arises when two reports make different choices without anyone knowing. For statutory reporting, specific accounting rules may also apply.
Why AI agents need a semantic data model
If you put an AI agent directly on the tables of your ERP, it has to decide for every question how to calculate revenue or margin. It may choose well, it may not, and tomorrow it may choose differently.
With a semantic data model, an agent can use the agreed definitions, just like your dashboards. That reduces the chance that it makes a deviating calculation of its own. It does not make an answer automatically error-free: the sources, period and filters used must also be correct.
The agreements do make answers easier to verify. You can check which definition, period and filters were used. That is also how the InsightData AI agents work: on centrally recorded definitions and calculation rules.
How to build a semantic data model
- Take stock of the KPIs in use today in reports, Excel files and presentations.
- Find the differences. Where is the same KPI calculated differently? Start with the KPIs that are discussed most often.
- Decide per KPI, together with the owner. Record the definition, formula and exceptions in a sheet like the one above.
- Build the definitions into your BI layer, so they are not rewritten in every report.
- Use them everywhere you can: in dashboards, Excel exports and for AI agents. Check that each channel actually uses the central definition and how existing exports are updated.
Who decides on a definition and who may change it is a question of data governance. The data governance blueprint of Digitaal Vlaanderen (in Dutch) offers a reference framework with roles and responsibilities. It was developed for the Flemish government, but you can apply the principles on a smaller scale in an SME too.
How a semantic data model turns a dashboard into a signal is covered in AI dashboard: from dashboard to signal.
Frequently asked questions
What is the difference between a data model and a semantic data model?
The data model describes the structure: which data exists and how it fits together. The semantic data model describes the meaning: what the terms are and how they are calculated.
Do I need special software for this?
You can start with a simple list of KPI sheets. To use the definitions centrally and consistently in reports and applications, you need a technical layer to record them in, for example in a BI platform or data warehouse.
Further reading
- AI agents in your business: how to get your data ready
- What is a data model?
- Data governance for SMEs
- AI dashboard: from dashboard to signal
- Setting KPIs with the SMART method
Want AI agents that work with your definitions? The InsightData AI agents use the same KPI agreements as your dashboards, so you can verify answers more easily.
