Generated at: 2026-12-01 08:41:01
  • Data Utilization

[Introduction to Semantic Layers Vol. 5] How to Build a Semantic Layer: 6 Steps to Define, Agree Upon, and Maintain Definitions

Last Updated: November 30, 2026

A semantic layer is built through six steps: narrowing down targets, auditing definitions, designing granularity, organizing common keys, documenting metrics, and establishing maintenance mechanisms. The key to success lies not in tool implementation, but in reaching a consensus on definitions and establishing a maintenance structure.

In this series, we have covered why the "number of customers" varies by department (Vol. 1), the definitions and components of a semantic layer (Vol. 2), its positioning within a data infrastructure (Vol. 3), and the most challenging issue in B2B: defining "what constitutes a single company" (Vol. 4).

In this final article, we explain the actual procedures for building a semantic layer and how to maintain it, following these six steps. We also provide guidance on how to approach the first 90 days and common patterns of failure.

What Are the Steps to Build a Semantic Layer?

Building a semantic layer can be carried out in the following six steps.

Step Action Key Deliverables Primary Responsibility
Step 1: Narrow Down the Target Select 3 to 5 Metrics Where Discrepancies Are an Issue List of Target Metrics Corporate Planning and Data Owners
Step 2: Inventory Definitions List What Each Department Calculates Under the Same Metric Name Metric Definition Inventory Data Stewards
Step 3: Design Granularity Define the Unit of a "Single Company" and the Correspondence Between Units Entity Definitions and Unit Correspondence Table Data Owners and Information Systems Department
Step 4: Standardize Common Keys Consolidate Data Using Corporate Numbers and Common Enterprise Codes Consolidated Customer Master Data Information Systems Department and Data Stewards
Step 5: Document Metrics Define and Register Naming Conventions, Calculation Formulas, Aggregation Granularity, and Exclusion Criteria Metric Definition Document Data Owner and Data Steward
Step 6: Establish a Maintenance Mechanism Define change procedures, methods for updating corporate information, and role assignments. Change Management Rules and Organizational Chart Data Owner and Data Steward

The key point is that Steps 1 through 4 can be executed without a semantic layer tool. Selecting a tool just before Step 5 is sufficient. If you implement a tool before definitions are finalized, you will simply be migrating inconsistent definitions into the system.

Step 1: Why Should You Start by Narrowing Down to 3–5 Metrics?

A plan to define all company-wide metrics within a semantic layer often fails. This is because each metric requires consensus across departments, and the consensus-building process takes too long, causing the initiative to stall before any results are visible.

We recommend starting by narrowing your focus to 3–5 metrics that meet the following criteria:

  • Discrepancies in figures between departments are actually causing issues in management meetings or similar forums.
  • Used across multiple departments and tools
  • Metrics with "Number of Companies" as the denominator (e.g., number of customers, account unit price, churn rate)

The reason for including the third condition is that, as seen in Vol. 4, many discrepancies in B2B metrics stem from the question of "what counts as one company." By starting with metrics that use the number of companies as the denominator, you can address the most difficult issue—entity definition—from the very beginning.

The concept of starting small to verify value is also common in MDM implementation. For more details, please refer to our blog post: "Why Do MDM PoCs Often End Without Real Results?"

Step 2: How to Inventory Current Definitions?

Once you have determined the target metrics, list how each department calculates those metrics in a single table. We call this table a "Metric Definition Inventory."

Using the "Number of Customers" example from Vol. 1, it would look like the following (the figures are hypothetical examples for illustrative purposes).

Metric Name Department Target Being Counted Unit of Measurement Data Source Number of Records
Number of Customers Sales Companies with Business Negotiations or Transactions Locations SFA 1,200
Number of Customers Marketing Companies with Established Contact (Including Non-Transactional) Location MA 3,500
Number of Customers Accounting Companies with Billing History Billing Destination Core System 900

When arranged in a table, it becomes immediately apparent that under the same label of "Number of Customers," the definitions (what constitutes a customer) and the granularity (what counts as one company) are inconsistent. By adding the data update timing for each system as a column, you can also verify discrepancies in data freshness.

At this stage, it is important not to decide "which number is correct." The objective is for all stakeholders to confirm the existence and types of discrepancies using the same table.

Step 3: How Should Entity Granularity Be Designed?

Once discrepancies are identified during the inventory process, the next step is to design the unit for "one company." The principle here is not to unify everything into a single unit, but to create a state where conversions between different units are possible.

As seen in Vol. 4, it is correct for the sales department to count by location and for the accounting department to count by billing entity, as these are the appropriate methods for their respective operations. If you unify them into one, the other department's operations will no longer function. Therefore, we define the following three points.

  1. Define the Minimum Unit: Maintain the business office (location) as the minimum unit.
  2. Create a Correspondence Table: Maintain the relationships between units, such as Business Office to Legal Entity to Corporate Group, and Trading Account to Legal Entity.
  3. Specify Units for Each Metric: Determine which unit to use for counting each metric, such as "Active Customer Count by Legal Entity" or "Visit Coverage Rate by Business Office."

Additionally, for corporate hierarchies, ensure that the "point in time" of the relationship is recorded. This prevents historical data from being retroactively altered when a subsidiary is acquired or leaves a group.

For practical examples of which units to use for data alignment, such as business offices or legal entities, please refer to our blog post: "Introduction to Data Cleansing Use Cases Supporting B2B Data Accuracy."

Step 4: How to Organize Common Keys and Data Cleansing?

To convert between the units determined in Step 3, it is necessary to link the client data of each system using a common key. In B2B, it is practical to maintain common keys using the following two-layer structure.

  • Legal Entity Unit: Corporate Number
  • Business Office Unit / Sole Proprietorship: Common Corporate Code

As introduced in Vol. 4, the Corporate Number is not assigned to branches or business offices, nor is it assigned to sole proprietorships. By using the Corporate Number as a foundation and supplementing it with a common enterprise code capable of identifying data down to the business office level, you can support departments that count by location as well as those that count by legal entity.

In the process of assigning a common key, it is necessary to perform data cleansing to identify the same company from company names and addresses with inconsistent formatting. For the basic mechanisms of how data cleansing determines identical companies, please refer to our blog post: What Is the Mechanism of Data Cleansing? Explaining the Three Determination Methods: Exact Match, Fuzzy Match, and Key Integration!

For the stage of designing more detailed judgment logic, our blog post What Is Data Cleansing Matching Logic? Explaining the Differences Between Deterministic and Probabilistic Approaches and Hybrid Design! will be a useful reference.

Furthermore, the level of accuracy required for data cleansing depends on the purpose of the metrics. For insights on how to approach target levels, please also refer to our blog post: Explaining Data Cleansing Methods in Five Levels!

Note that data cleansing is the process of standardizing the "values" of data. By combining this with the "counting method" determined in Step 3, you can finally align your metric figures.

Step 5: What Should Be Written in the Definition of Metrics?

Once the entities and common keys are prepared, define and document the metrics. For each metric, determine at least the following four points.

Item Decision Points Example Entry (Number of Active Customers)
Naming Conventions Rules for Naming Include the target, conditions, and unit in the name, such as "Number of Customers_Active_Corporate Entity."
Calculation Formula What to Count and How Number of corporate entities with order records in the last 12 months.
Aggregation Granularity The unit of measurement and the dimensions available for aggregation. Corporate entity level. Can be aggregated by industry, region, and number of employees.
Exclusion Criteria What Not to Count Intra-group transactions, closed corporations, and test data

In addition to these four points, we must record the person responsible for the metric (data owner) and the date of the last update. This is because if we do not know who defined the metric or when it was defined, we cannot maintain the reliability of the definition.

Where Should Definitions Be Documented?

The established definitions are registered by dividing roles among the three mechanisms introduced in Vol. 2.

  • Business Glossary: The master copy for human reading. Definitions are described in text.
  • Semantic Layer: The master copy for machine execution. Definitions are registered as calculation formulas.
  • Data Catalog: The gateway to both. It indicates where the data used for definitions is located and who manages it.

It is important to note that discrepancies between the text in the glossary and the calculation formulas in the semantic layer must be avoided. To prevent this, it is effective to create both from the same metric definition document and implement a process that ensures neither is updated in isolation.

Step 6: Who Determines Definitions and How Are They Maintained?

Defining metrics is not a one-time task. It must be continuously maintained to align with business changes, organizational restructuring, and shifts in client companies.

How Should Roles Be Divided Between Data Owners and Data Stewards?

To maintain definitions, it is essential to clarify where responsibility lies. Typical role divisions are as follows.

Role Primary Stakeholder Responsibility
Data Owner Head of Business Department (e.g., General Manager of Sales, General Manager of Accounting) Finalize metric definitions and approve changes
Data Steward Operational Staff in Business or Information Systems Departments Maintaining Definition Documents, Responding to Inquiries, and Performing Daily Data Verification
Information Systems Department Information Systems Department Implement Definitions into the Semantic Layer or Data Infrastructure and Ensure Stable Operations

The key is to place the authority for determining definitions with the data owners in the business departments. This is because the business departments that use these metrics for decision-making have the deepest understanding of their meaning.

How Should Definition Changes Be Managed?

When changing a definition, establish a workflow: Change Request → Impact Assessment → Approval → Implementation → Notification. By retaining previous definitions as versions, you can verify which definition was used to calculate past figures.

The Data Lineage introduced in Vol. 3 is useful for assessing the scope of impact, as it allows you to trace which dashboards or reports are affected when a metric definition is changed. Additionally, by utilizing the concept of Active Metadata to monitor usage, you can identify and clean up definitions that are no longer in use.

How Do You Keep Up with Changes in Corporate Information?

In the B2B semantic layer, it is not just the definition of metrics that changes, but the underlying information of the client companies themselves. Client master data and corporate hierarchies change daily due to company name changes, head office relocations, office consolidations, mergers, and the acquisition of subsidiaries.

For example, the Corporate Number of a legal entity that has ceased to exist due to a merger is not automatically replaced by the number of the surviving company in your internal client master. As mentioned in Vol. 4, it is necessary to manage the replacement of data on your side by using the successor's Corporate Number recorded in the published Corporate Number data as a reference. Furthermore, changes in corporate hierarchy should record 'as of what date' the change occurred to ensure that historical figures are not retroactively altered.

If such updates are neglected, the data will gradually drift from reality, eventually necessitating large-scale maintenance. For the reality of the time required for data maintenance, please refer to our blog post: 'Could Data Maintenance Take 416 Days? Data Preparation That Hinders Core System Overhauls'.

How Is This Different From Data Governance for Regulatory Compliance?

The term 'Data Governance' is sometimes used to refer to management systems for complying with laws and regulations such as the Act on the Protection of Personal Information. Governance for regulatory compliance is explained in our blog post: '[September 2026 Edition] What Is the Revised Act on the Protection of Personal Information?'.

This article has focused not on governance for legal compliance, but on governance as the ownership and maintenance of definitions—specifically, who decides the definition of metrics and how to maintain them. Both are necessary, and it is worth considering managing them with separate personnel or committees.

What Should Be Done in the First 90 Days?

We introduce an example plan to complete the six steps within the first 90 days.

Period Action Items Estimated Completion Time
1 to 30 Days Steps 1-2: Select Target Metrics and Create a Metric Definition Inventory Definitions for 3 to 5 target metrics are organized into a single table for each department
31 to 60 Days Steps 3-4: Determine the Definition of a Single Company and Correspondence Table, and Consolidate Target Business Partners Business partners serving as the denominator for target metrics are linked via a common key
61 to 90 Days Steps 5-6: Create and Register Metric Definition Documents, and Appoint Data Owners and Data Stewards Cross-departmental data consistency tests are passed, and change management procedures are established

Once the first 90-day cycle is complete, expand the target metrics based on the insights gained. If the consensus process and organizational structure are solidified during the first cycle, subsequent cycles can be completed in shorter timeframes.

How Do You Verify That Definitions Are Aligned?

You can verify alignment through a Cross-Departmental Data Consistency Test. This involves outputting the same metric from different sources—such as sales department dashboards, management meeting materials, and accounting reports—using identical criteria to confirm that the figures match.

If the figures do not match, check the four points from Step 5 (Naming Conventions, Calculation Formulas, Aggregation Granularity, and Exclusion Criteria) to identify where the discrepancies remain.

Note that it is not necessary for all figures to match perfectly. If you are intentionally counting in different units, such as 'Number of Customers by Branch' for the sales department versus 'Number of Customers by Billing Account' for the accounting department, it is sufficient to explain the relationship between the two using the correspondence table from Step 3. The goal is not to consolidate figures into a single number, but to reach a state where all differences in figures can be explained.

What Are the Common Patterns of Failure?

Common failures in building a semantic layer can be categorized into the following three patterns:

  1. Failing to Reach Consensus by Aiming for Perfection
    If you attempt to create a definition that covers every exception from the start, the discussions will never end. It is more effective to first reach a consensus on an 80% complete definition for 3 to 5 metrics and improve them through a change management process, which leads to faster adoption.
  2. Decisions Made Solely by the IT Department, Leading to Lack of Adoption by End Users
    Even if a definition is technically correct, it will not be used if the business departments are not convinced. It is effective to place the authority for defining metrics with the business department's data owners, while the IT department handles implementation and operations.
  3. Setting Definitions and Neglecting Them, Leading to Discrepancies Within Six Months
    Organizations, businesses, and client companies are constantly changing. Unless change management and the updating of corporate information are integrated into daily operations, the definitions you have established will eventually cease to reflect reality.

These failures share a common structure with those frequently encountered during MDM implementation. For more information on MDM failure patterns, please refer to our blog post: [Checklist Included] Why Does MDM Fail? 4 Common Patterns.

Conclusion

We summarize the key points of this article in three areas: (1) The semantic layer can be built in six steps, with Steps 1 through 4 being achievable even without specialized tools; (2) The core requirements are establishing a process to define and convert data at the "single company" unit level, and defining four key metrics (naming conventions, calculation formulas, aggregation granularity, and exclusion criteria); and (3) Defining these is not a one-time task, but requires ongoing maintenance by data owners and data stewards.

Throughout this five-part series, we have explored the following five questions in sequence:

  • Vol. 1 (WHY): Discrepancies in figures across departments stem from gaps in definitions, granularity, and data freshness.
  • Vol. 2 (WHAT): The semantic layer is a mechanism that centrally defines entities, dimensions, and metrics to ensure consistent results.
  • Vol. 3 (WHERE): The semantic layer is positioned as the "layer of meaning" between the data integration/quality layer and the utilization/collaboration layer.
  • Vol. 4 (BY WHAT): In B2B, the most challenging aspect is not the calculation formula for metrics, but the definition of a "single company."
  • Vol. 5 (HOW / WHO): By establishing a framework to define, agree upon, and maintain these definitions, consistency in meaning can be sustained.

Data cannot become a cross-departmental asset simply by being collected and organized. Only when meanings are aligned can the entire organization discuss and make decisions based on the same figures.

Our customer data integration solution, uSonar, is equipped with Japan's largest corporate information database and supports the cleansing and integration of customer data scattered throughout your organization. With our proprietary LBC code system, you can manage customer information at the office, legal entity, and corporate group levels. In addition, because you can continuously reflect high-freshness corporate data collected independently, it becomes easier to keep track of changes in corporate information, such as company name changes, mergers, and acquisitions. You can utilize this as a foundation for establishing and maintaining the definition of a single company, which serves as the basis for your semantic layer.

For more details, please feel free to contact us via this page.

List of Definitions for Terms Used in This Article

Data Governance
The organizational structure and activities established to define, maintain, and enforce data definitions, responsibilities, usage rules, and quality standards.

Data Owner
A role that holds final responsibility for the definition of specific data or metrics and approves any changes. This is primarily held by a manager within the business department.

Data Steward
A practical role that, under the guidance of the Data Owner, handles the maintenance of definition documents, responds to inquiries, and performs daily data verification.

Metric Definition Inventory
An inventory table that lists the calculation methods, counting units, and data sources for metrics with the same name across different departments.

Naming Convention
Rules established for naming metrics and data items, ensuring that the subject, conditions, and units can be understood simply by looking at the name.

Change Management
A mechanism for managing changes to definitions or data through a process of application, impact assessment, approval, implementation, and notification, while also recording the content prior to the change.

Author

uSonar

uSonar Editorial Department

MX Group Editor-in-Chief

We are the uSonar Editorial Department.
We provide information on data utilization and digital technologies useful for rethinking future business operations, primarily for companies engaged in B2B business.

uSonar is utilized by various companies
across a wide range of industries and sectors.

  • Ministry of Economy, Trade and Industry.
  • Asahi
  • BIZ REACH
  • NITORI BUSINESS
  • FUSO
  • MIZUHO
  • PayPay
  • Ministry of Economy, Trade and Industry.
  • Asahi
  • BIZ REACH
  • NITORI BUSINESS
  • FUSO
  • MIZUHO
  • PayPay
  • Ministry of Economy, Trade and Industry.
  • Asahi
  • BIZ REACH
  • NITORI BUSINESS
  • FUSO
  • MIZUHO
  • PayPay
  • Ministry of Economy, Trade and Industry.
  • Asahi
  • BIZ REACH
  • NITORI BUSINESS
  • FUSO
  • MIZUHO
  • PayPay
  • RICOH
  • Bengo4.com, Inc.
  • Resona Bank, Limited
  • SAKURA internet
  • SATO
  • Sozon Information Systems Co., Ltd.
  • Suzuyo
  • RICOH
  • Bengo4.com, Inc.
  • Resona Bank, Limited
  • SAKURA internet
  • SATO
  • Sozon Information Systems Co., Ltd.
  • Suzuyo
  • RICOH
  • Bengo4.com, Inc.
  • Resona Bank, Ltd.
  • SAKURA internet
  • SATO
  • Sozon Information Systems Co., Ltd.
  • Suzuyo
  • RICOH
  • Bengo4.com, Inc.
  • Resona Bank, Ltd.
  • SAKURA internet
  • SATO
  • Sozon Information Systems Co., Ltd.
  • Suzuyo

ITreview Grid Award 2026 Fall
Leader in 6 Categories

  • ITreview Grid Award 2026 Fall
  • Corporate Database
    ABM Tool
    Sales List Creation Tool
    Sales Enablement Tool
    Anti-Social Forces Check Tool
    Business Card Management Software

With uSonar,
we will guide you to solve your company's challenges!

Case Studies and Sample Reports
Download

View All Materials
Download Case Studies and Sample Reports

For Urgent Inquiries, Please Call Us03-5388-7000Reception Hours 10:00 - 17:00 (Closed on Weekends and Holidays)

The Definitive Solution for Sales DX Through Data Utilization

Service Brochure

uSonar in 5 Minutes

uSonar in 5 Minutes

Download Materials