Distributed Data Modeling
local graph
Chapter 10 — Distributed Data Modeling
Section titled “Chapter 10 — Distributed Data Modeling”In the previous chapter, we explored the design of an organizational architecture that aligns with both the business strategy and the surrounding context to enable the adoption of the data-as-a-product paradigm effectively.
This chapter delves into the heart of data modeling within a modular, and often decentralized, architecture that revolves around data products. We begin by defining what a data model is at its core, identifying its components, and discussing why, in a data-product-centric architecture, intentional and explicit data modeling is essential. We will unpack the modeling process itself, breaking down its stages and key deliverables.
From there, we’ll explore various physical data modeling techniques, evaluating their strengths and limitations, and outlining how each can be applied within the distributed nature of a modern data-product-centric architecture. Finally, we will focus on conceptual data modeling, examining how these high-level abstractions can help in the design and usage of data products. We’ll discuss the methods for crafting conceptual models, looking closely at the activities required to design and evolve them in harmony with a decentralized ecosystem of data products.
This chapter will cover the following main topics:
- Introducing data modeling
- Exploring distributed physical modeling
- Exploring distributed conceptual modeling
Introducing data modeling
Section titled “Introducing data modeling”Before delving into the various data modeling techniques applicable in a distributed environment, it is crucial to first understand what a data model truly is—how it is constructed and formally represented to enable seamless sharing and interoperability.
What is a data model?
Section titled “What is a data model?”In Chapter 4, Identifying Data Products and Prioritizing Developments, we discussed how, in domain-driven design (DDD), modeling the domain where the problem resides—what we call the problem space —is fundamental to crafting an effective solution. But let’s unpack what a model really is. At its core, a model is an abstraction, a tool that enables us to navigate the intricacies of a domain by stripping away the noise and focusing on the elements that are truly critical to solving the problem at hand.
*A model is a simplified representation of a thing or phenomenon that intentionally emphasizes certain aspects while ignoring others. Abstraction with a specific use in mind. (*Rebecca Wirfs-Brock)
A single domain can be modeled in different ways, depending on the problem you’re aiming to solve. The quality of a good model isn’t determined by how accurately it mirrors the reality it describes, but by how effectively it addresses the problem it was designed to solve. The best models are those that offer a solution with the fewest possible details—among all the models that can solve a problem, the simplest ones are the best. In general, a model serves as the foundation for building a solution to a problem. Those who benefit from the solution don’t need to fully understand the model that led to its creation. However, when it comes to data, the model is an integral part of the solution itself. It’s through the model that data is structured and transformed into information that can be more or less useful to consumers, depending on the problem they’re trying to solve.
The usability and reusability of a data model are often at odds with each other. Data models that are too closely tied to a specific problem lack the generality needed to be reused for solving other problems. Conversely, models that are too general tend to be more complex, making them harder to use compared to simpler models. It falls to the modeler to strike an optimal balance between usability and reusability of the data model. In this chapter, we’ll explore how to achieve that balance.
Implicit and explicit models
Section titled “Implicit and explicit models”Every time we set out to solve a problem, we create a mental model of the reality in which the problem exists and use that model to craft a solution. A mental model is an implicit model —one that lives in the mind of its creator and is partially, and only implicitly, reflected in the solution produced. It can be inferred from the solution, but it’s not easy to separate it from the solution or to reason about it, even for the person who originally conceived it.
Designing a solution for a complex problem often requires the collaboration of individuals with diverse skills and backgrounds. Without a shared model of the problem space, each person involved operates with their own implicit model of the problem, shaped by both the information they’ve received and their prior experiences. Communication among team members then becomes a constant exercise in translating from one implicit model to another.
For instance, an analyst defining requirements knows what they intend to communicate, but they cannot fully grasp how the recipient, such as the development team, interprets that information or how they adjust their mental models of the problem in light of the new information. This turns the design process into a game of telephone, where useful information is continually exchanged but each participant maintains their personal model of the problem. In the absence of a shared, explicit model, much of the information is lost in the ongoing translation between implicit models. This leads to misunderstandings and misalignments regarding the solution being developed.
Therefore, it is crucial for all involved in the design process to collaborate in creating a shared, explicit model, formalized in a language that everyone understands. Each piece of relevant information is then represented within this shared model. The explicit model becomes the focal point of the design process, allowing all participants to confirm and document their common understanding of both the problem and the solution being built.
*The lack of a model is still a model. It’s just a crappy model. (*Joe Reis)
For solutions developed as products, the presence of a shared model is even more crucial. Products have a life cycle and evolve over time. Thus, the value of the model does not end with the initial release of the solution but continues to underpin subsequent iterations and evolutions.
In the case of pure data products, explicit modeling is important not only for the development and evolution of the solution but also to enable potential consumers to understand and utilize the product effectively.
Let’s now see how the modeling process can be structured and what its main outputs are.
Data modeling process
Section titled “Data modeling process”A data model is a composite and layered construct. It is composite because it integrates multiple models, each serving a specific purpose and using its own formalism to represent the reality being analyzed. It is layered because these models are interdependent and developed sequentially, with each model building on the previous one—either by enriching or specializing it—and laying the groundwork for the models that follow in subsequent stages.
A data model is typically divided into three distinct layers, each represented by a specific submodel: the conceptual layer, the logical layer, and the physical layer. Each submodel corresponds to one of the three primary stages of the data modeling process (Figure 10*.1*): conceptual modeling (alignment phase), logical modeling (refine phase), and physical modeling (design phase).

Figure 10.1 – Data modeling process and deliverables
The alignment phase centers on clearly modeling the problem space. In this phase, the goal is to identify all key concepts relevant to the problem, clarify their meanings, and map out their relationships. For example, in a project to improve customer satisfaction, concepts such as customer feedback, response time, and service quality would be defined and linked. All stakeholders involved in the project actively participate in this analysis. The resulting conceptual model then provides a foundation for the next modeling stages.
The design phase, on the other hand, focuses on explicitly modeling the solution space. Its objective is to operationalize the conceptual model by technically defining how the data related to the identified concepts will be structured to facilitate its use in relation to the problem at hand and the tools used for implementing its solution. Only the most technical roles, responsible for building the solution, are involved in this modeling phase. The physical model produced as the output serves as the foundation for subsequent implementations. If the conceptual model defines what needs to be done, the physical model generated in this phase defines how to do it.
The refine phase, situated between the alignment and design phases, focuses on refining the conceptual model, making it easier to translate into a physical model. The logical model produced as the output of this phase reflects the structure that the data will take on a physical level while remaining independent of the specific technological implementation. It can thus be seen as a transitional model, an intermediate step, to bridge the problem space and the solution space.
In the modeling process, the refine phase is essential, but creating a dedicated logical model as its output isn’t always necessary. Everything produced in this phase can be represented either as an extension of the conceptual model or as an initial blueprint for the physical model. For this reason, in the rest of this chapter, we will focus only on the conceptual and physical models, considering the logical model as an extension of the conceptual model.
Data model representations
Section titled “Data model representations”The physical data model is inherently explicit. It is impossible to present data to users without clearly defining the structure that contains and makes it physically accessible. The conceptual model, however, can be either implicit or explicit. Only an explicit model can be shared among all stakeholders, forming a common understanding of the problem necessary for intentional physical model design and for informed data usage. Emphasizing the importance of having an explicit and shared data model refers to the model in its entirety. Both its components—the conceptual and the physical—must be designed, represented, and shared with equal attention.
To make a model explicit, it’s crucial to choose a representation method that is both consistent and familiar to everyone who will interact with it, whether during the design phase or in its later use. The chosen method should be detailed enough to capture the necessary information but also straightforward enough to be accessible to a wide range of people. We can categorize representation methods into two families:
- Formal representations: These are highly structured and adhere to precise rules. They clearly define the symbols, syntax, and semantics of the language used to build the model. The goal of a formal representation is to create models that are accurate and unambiguous, ideally free from any interpretative variability. Formal representations are also typically machine-readable. This allows them to be processed by software for tasks such as validation, editing, creating derived artifacts, or converting them into other types of formal representations.
- Informal representations: These are less structured and follow looser rules. They are therefore more flexible and adaptable to various contexts, but also more prone to generating ambiguity and interpretative variability. The purpose of an informal representation is to share high-level ideas in contexts where the focus is on communication and interaction with a broad audience, including non-technical stakeholders, rather than on detailed implementation specifics. Typically, informal representations are used to model problems with business stakeholders. Once a sufficiently detailed informal model has been created, technical team members can then independently convert it into a formal representation with minimal risk of interpretative distortions.
In the realm of data models, conceptual modeling is generally constructed through informal representations that are accessible to everyone, such as concept/relationship diagrams and business term glossaries. In contrast, physical modeling is developed by more technical individuals using formal representations, such as SQL DDL or JSON Schema, typically tailored to the technologies used for storing and accessing the data.
Event storming, which we introduced in Chapter 4, Identifying Data Products and Prioritizing Developments, is an example of an informal representation method for business process modeling. Once the event storming analysis of a process is complete, there is usually enough shared information to translate the model into a formal representation, such as one based on the Business Process Model and Notation (BPMN) standard.
As data consumers increasingly include applications that are not specifically programmed to handle particular types of data but can work with generic data (e.g., knowledge base systems, semantic layers, autonomous AI agents), it becomes more important to formalize the representation of the conceptual model to provide these applications with as much context as possible. We will discuss how to formalize the representation of the conceptual model in the Exploring distributed conceptual modeling section of this chapter. Now, let’s explore how data modeling methodologies can be classified according to the type of data being modeled.
Operational and analytical data modeling methodologies
Section titled “Operational and analytical data modeling methodologies”Most of the data managed by an organization is generated directly by the operational applications that handle its core processes. This data is then typically collected, integrated, and made available for the development of analytical applications. The data management challenges faced by operational applications are often quite different, and sometimes orthogonal, to those encountered by analytical applications. Over time, distinct technology stacks and modeling frameworks have been developed to manage data according to these two usage scenarios.
Operational data modeling focuses on efficiently handling individual transactions by ensuring data is quickly written and updated according to business rules. The main priority is to optimize data writing, not reading. In contrast, analytical data modeling integrates data from various systems to support broader business insights. The main priority is to optimize data reading for analysis, not writing or updating.
The distinction between data modeling techniques for operational versus analytical purposes only becomes evident at the physical model level. The conceptual model of the data remains unchanged because the meaning that the business assigns to the relevant concepts for describing a problem and its solution does not vary; it is independent of how the associated data will be managed and consumed. For example, the concept of a “sale” within a specific domain is uniquely defined. A sale is a sale, regardless of whether the data representing it is used for operational or analytical purposes. However, the way the data is used impacts the design of the physical model. Within a domain—or more precisely, using the terminology of DDD, within a bounded context—there is generally a single conceptual model from which multiple physical models can emerge, depending on the intended use of the data (operational or analytical) and the type of technology used to store and access it.
The focus of this book is on data that exists outside of applications—both operational ones that generate the data and analytical ones that consume it—and how this can be managed as a product. Specifically, pure data products are the means through which data, extracted from the operational applications that generated them, is made easily usable and composable for both analytical and operational applications that need it. Since data managed by a pure data product is exposed externally in a read-only format, the rest of this chapter will delve deeper into the modeling techniques defined within the analytical realm, while keeping in mind the following points:
- A pure data product is inherently multimodal. It can present data related to a specific conceptual model through various physical models, exposed via different output ports.
- A pure data product must support multiple business cases through the data it manages, not necessarily limited to analytical purposes but potentially operational as well. Typically, operational applications can use pure data products for data exchange and master data management.
- Despite exposing data in a read-only format, a pure data product should strive to ensure excellent performance along the data transformation pipeline. This is crucial for supporting operational consumers, but also increasingly important for analytical consumers who require data to be updated in near real time to intervene directly in the processes generating the data analyzed while they are still ongoing (continuous intelligence).
In the upcoming sections of this chapter, we’ll explore the nuances of modeling data within a distributed architecture centered on data products, beginning with a deep dive into physical modeling.
Exploring distributed physical modeling
Section titled “Exploring distributed physical modeling”In this section, we’ll dive into how to approach physical data modeling within an architecture centered on data products. Specifically, we’ll explore how to adapt widely used analytical data modeling techniques to fit modular and distributed environments. We won’t delve extensively into platform-specific modeling aspects (e.g., data lakes, data warehouses, data lakehouses, etc.), as the methodologies discussed here are broad enough to be easily applied across various major technology platforms.
Dimensional modeling
Section titled “Dimensional modeling”Dimensional modeling is a foundational technique for managing analytical data, first introduced in the early 2000s by Ralph Kimball and Margy Ross in their seminal work, The Data Warehouse Toolkit. This approach quickly became the gold standard for designing business intelligence and data warehousing systems, serving as a blueprint for countless implementations. Over time, the core principles of dimensional modeling have been adapted and extended by various other data modeling techniques to address specific design and operational needs.
The essence of dimensional modeling lies in its ability to simplify data analysis. It achieves this by structuring data around a limited set of key entities, interlinked through a minimal, yet clear set of relationships. This design principle ensures that data is organized in a way that is both intuitive and effective for in-depth analysis, paving the way for more actionable insights.
In a dimensional model, the core components are facts and dimensions. Facts represent the key business processes or specific transactions occurring within these processes. For instance, in a retail context, such as LuX, a product promotion, sale, or shipment could each be modeled as a fact. Each fact is a composite entity encompassing all the relevant measures needed for analyzing the transaction at hand. For a sales fact, this might include metrics such as units sold, unit price, total amount, applied discount, and margin. Dimensions, conversely, provide the contextual backdrop for these transactions, enriching the analysis of the measures associated with each fact. They offer the necessary framework to understand and interpret the data. In the case of a sales transaction, dimensions could include the customer making the purchase, the product bought, the timing of the transaction, the sales channel used, and so forth. This contextual layering enables a more nuanced and insightful analysis of the business processes represented by the facts.
A fact is linked only to the dimensions along which its measures are analyzed. Physically, this relationship is represented by a fact table, which has a one-to-many connection with the dimensional tables that provide context for the fact’s measures. Each dimensional table has a surrogate key (ex. CustomerID, ProductID, TimeID, etc.), which is referenced by the fact table via a corresponding foreign key. The collection of these foreign keys in the fact table, pointing to the associated dimensional tables, forms the fact table’s primary key. This structure is designed to ensure that the fact table integrates seamlessly with its dimensions, facilitating a coherent and insightful analysis of the measures. The following figure (Figure 10*.2*) illustrates an example of a dimensional model related to sales data.

Figure 10.2 – Sales star schema
This highly denormalized model, with the fact table at its center and dimension tables radiating outward, is known as a star schema —one of the most prevalent physical structures for dimensional models. An alternative to the star schema is the snowflake schema, where dimension tables are partially normalized to streamline data loading processes and optimize storage efficiency. In either case, the fact table along with its dimension tables forms an n-dimensional space (i.e., hypercube) where measures can be easily analyzed from various perspectives by simply selecting specific coordinates (slicing) or groups of coordinates (dicing) on each dimension.
Using simple LEFT JOIN and GROUP BY clauses, or with the help of visual tools for online analytical processing (OLAP), it is possible to analyze the units sold of a specific product across all stores in Italy, and then quickly switch to analyzing the units sold of all products in the accessories category within a particular store of interest, and so on.
Let’s now examine how dimensional modeling fits within a centralized data architecture.
Centralized dimensional modeling
Section titled “Centralized dimensional modeling”Dimensional modeling, as defined by Kimball and Ross, is framed within the broader data warehouse architecture they pioneered, now widely known as the Kimball architecture. This architecture is structured around two core layers: the staging area and the presentation layer. The staging area acts as a repository where raw data from various sources is cleansed, integrated, deduplicated, and historized. Once processed, the data is funneled into the presentation layer, where it is used to create data marts for consumer access (Figure 10*.3*).

Figure 10.3 – Kimball data warehouse architecture
A data mart represents a set of consolidated, dimensionally modeled data focused on a specific business process or subject area, such as sales or shipments. These data marts align naturally with business domains, typically evolving under the guidance of domain teams in an independent and autonomous manner.
Data marts across different domains often share common dimensions and facts. For instance, the product dimension is leveraged by both the sales fact in the sales data mart and the shipments fact in the logistics data mart. Similarly, the sales fact might exist in multiple contexts, such as the data mart for in-store sales and the one focused on online sales.
To enable seamless interoperability between these data marts, it’s essential that shared dimensions and facts are physically aligned in structure and populated based on consistent business logic. Facts and dimensions constructed in this way are referred to as conformed facts and conformed dimensions, respectively. This conformance ensures that different business domains can operate autonomously while still contributing to a cohesive, unified analytical ecosystem.
The Kimball architecture is built for iterative development, guided by the evolving analytical needs of the data warehouse. The process starts by identifying key facts and dimensions, followed by gathering and consolidating the necessary data in the staging area to construct the required dimensional model. As new facts and dimensions are introduced, the architecture encourages a continuous evaluation of whether these elements can be conformed to existing facts or dimensions already utilized by other data marts.
This approach promotes the reuse of existing data in the staging area, potentially extending consolidation logic to ensure alignment across domains. Only when new facts or dimensions cannot be conformed to those already present does the architecture introduce new data into the staging area for processing.
Kimball’s architecture offers a clear advantage by enabling the development of interoperable data marts. In architectures where data marts are built in isolation, with each team independently sourcing and modeling data directly from operational systems, ensuring cross-domain data integrity and interoperability becomes a significant challenge. By introducing a staging area, Kimball’s approach centralizes data collection and integration, creating a shared foundation of consolidated data that serves as the backbone for building interoperable data marts.
The staging area focuses purely on transformations needed to support specific data marts, allowing for fast and efficient data preparation. However, outside of conformed facts and dimensions, the reuse of consolidated data in the staging area is limited. Each new data mart typically requires starting from raw source data and re-consolidating it with new business logic tailored to the specific analytical needs.
To overcome the limitations of Kimball’s two-layer architecture, Bill Inmon proposed a three-tier architecture in his book, Building the Data Warehouse. This approach introduces an additional layer between the staging and presentation layers, known as the enterprise data warehouse (EDW). In this model, the staging layer focuses solely on collecting raw data from various sources. The EDW then consolidates and integrates this data into a highly normalized, comprehensive model (Figure 10*.4*).

Figure 10.4 – Inmon data warehouse architecture
The EDW acts as a robust, centralized repository designed to integrate data from all relevant applications, serving as a foundation for broader analytical needs. Unlike Kimball’s staging area, which is optimized for specific data marts, the EDW is built to support a wide range of analytical requirements, both current and future. This architecture facilitates the creation of new data marts by leveraging the integration work already accomplished at the enterprise level. However, developing and maintaining this intermediate layer is more costly and complex.
Having covered the basics of dimensional modeling and its application in traditional centralized architectures, let’s now delve into how it can be leveraged within a decentralized architecture centered around data products.
Distributed dimensional modeling
Section titled “Distributed dimensional modeling”The presentation layer, structured as a collection of related yet independent data marts in both Kimball’s and Inmon’s frameworks, naturally fits within a decentralized architecture centered on data products. This setup is easily adaptable to a distributed environment where each data mart can be aligned with a specific business domain, effectively representing a bounded context.
In this approach, each dimensional model and its associated data within a data mart can be managed as a data product by a dedicated team focused on that particular domain. Meanwhile, teams responsible for various source systems, or a central sourcing team within IT, can concentrate on developing source-aligned data products. These source-aligned products then feed into the consumer-aligned data products managed by the domain-specific teams (Figure 10*.5*).

Figure 10.5 – Distributed dimensional modeling
In this data-product-based architecture, where there is no centralized intermediate layer to handle cross-source data integration and consolidation, this responsibility shifts to consumer-aligned products. This distributed approach introduces challenges in terms of data ownership, especially when dealing with conformed facts and dimensions that are critical for maintaining data integrity and interoperability across various data products:
- Ownership of conformed dimensions: When a conformed dimension is replicated across multiple data products, it results in creating multiple versions of the same data in different places, each with its own ownership. Ideally, each conformed dimension should be managed as a separate data product. However, this raises issues of correct ownership attribution. For example, consider the product dimension used by both sales and shipments. Not all products are shipped (e.g., products only available in-store), and not all shipped products are sold (e.g., promotional products). Additionally, the attributes relevant to sales (e.g., price) might differ from those relevant to shipments (e.g., weight). Deciding whether to assign ownership of the product dimension to the sales domain or the logistics domain is not straightforward but rather arbitrary. In either case, part of the data managed by the development team will fall outside its domain of expertise.
- Ownership of conformed facts: In a data-product-centric architecture, conformed facts across different data marts typically represent separate sets of data. For instance, conformed facts for in-store sales and online sales usually do not overlap, as a sale is either made in a physical store or through an online platform. Without data overlap, it’s feasible for the teams managing in-store sales and those handling online sales to collaborate on defining metrics of mutual interest (e.g., units sold). Instead, metrics that are specific only to online or in-store sales can be calculated independently by the respective teams (e.g., online discount). However, there are often metrics that could potentially be calculated from both sets of facts but are meaningful and can be computed more easily by just one of the domains. For instance, suppose the online sales domain is interested in calculating the total weight of purchased goods. This metric is theoretically applicable to all purchases, not just online ones, but is of no interest to the in-store sales domain. In this case, either you compel the in-store sales domain to calculate the total weight, which places a responsibility outside their natural area of expertise and interest, or you calculate it only within the online sales domain and potentially shift the responsibility of calculating the total weight of in-store purchases to the final data consumer. Both approaches to ownership present challenges and may not be ideal.
Let’s explore how the Data Vault approach can help address these ownership issues.
Data Vault modeling
Section titled “Data Vault modeling”The Data Vault architecture, as outlined by Daniel Linstedt and Michael Olschimke in Building a Scalable Data Warehouse with Data Vault 2.0, represents an evolution of Inmon’s three-tier architecture, designed to tackle its key scalability and extensibility issues. Central to this architecture is the Data Vault modeling technique, which organizes data within the enterprise data warehouse layer. This approach revolves around three core entities:
- A Hub represents a business entity of interest for data collection. It contains only the natural key that uniquely identifies the entity, along with metadata, such as the source system from which the identifier was loaded and the timestamp of this load. Each object contained in a Hub has a surrogate key generated by hashing one of its natural keys. Typically, for each dimension present in the dimensional model within the presentation layer, there is a corresponding Hub in the Data Vault model within the EDW layer (e.g., customer, product, store, etc.).
- A Link represents a relationship between business entities. It comprises only the keys of the Hubs associated with the related entities, along with metadata, such as the source system from which the relationship was loaded and the timestamp of this load. Each relationship contained in a Link has a surrogate key generated as a hash of the natural keys of the related objects. Typically, a Link encapsulates a transaction that connects related entities within a business process. For instance, a Link might represent a sales transaction, linking the identifiers for the customer, the purchased product, and the store where the transaction occurred. In the Data Vault model, each fact in the dimensional model within the presentation layer generally corresponds to a Link in the Data Vault model located in the EDW layer.
- A Satellite captures the descriptive details of an entity within a Hub or a relationship within a Link. It includes the attributes that provide context to the entity or relationship, along with metadata, such as the source system from which these attributes were loaded and the timestamp of the load. Each set of attributes in a Satellite references the corresponding object or relationship in a Hub or Link by using the hash key of that Hub or Link. Whenever an attribute value changes, the new value is appended to the Satellite rather than overwriting the existing one. This ensures that both current and historical data states are preserved and accessible, providing a comprehensive view of how the data has evolved. Hubs and Links can be associated with multiple Satellites. Generally, attributes related to the same Hub or Link are grouped into Satellites based on their source systems to facilitate data ingestion.
In summary, a Data Vault model consolidates data from diverse sources into a unified, normalized model where primary keys, foreign keys, and descriptive attributes are organized into separate but interconnected entities. Hubs and Links provide the foundational structure, encapsulating primary and foreign keys from the source systems, while Satellites store all descriptive attributes (Figure 10*.6*).

Figure 10.6 – Data Vault model
This modeling technique facilitates data integration while minimizing the impact on the model from the addition of descriptive attributes or new types of relationships between business entities introduced by new or modified source systems.
In the Data Vault architecture, the modeling approach outlined here is primarily used to construct the Raw Data Vault. This Raw Data Vault is focused on structuring data from source systems into Hubs, Links, and Satellites, without applying complex business transformations. It maintains the original meaning of the data, reflecting it precisely within an integrated model.
From this foundational Raw Data Vault, dimensional models can be developed to build various data marts. This process involves joining relevant Hubs, Links, and Satellites to produce the desired facts and dimensions, incorporating business logic that influences the data’s quality and meaning. To streamline the process and avoid replicating business logic across multiple data marts, a Business Data Vault can be constructed on top of the Raw Data Vault. This Business Data Vault employs the Data Vault modeling approach but adds business logic transformations that can modify both the structure and the meaning of the data (Figure 10*.7*).

Figure 10.7 – Data Vault architecture
The Data Vault architecture encompasses a range of additional entities and optional structures beyond the ones we’ve discussed, such as point-in-time tables and bridge tables, as well as operational and metric data vaults. For a comprehensive understanding of Data Vault, refer to the resources in the Further reading section at the end of this chapter.
Now, let’s explore how Data Vault modeling can effectively address some of the ownership attribution challenges associated with dimensional modeling.
Distributed Data Vault modeling
Section titled “Distributed Data Vault modeling”The Data Vault modeling technique offers a robust framework for structuring data exposed by source-aligned products. In this approach, each product is responsible for managing its own specific Satellite, while Hubs and Links are centralized and managed at the platform level.
Managing Hubs and Links as a service
Section titled “Managing Hubs and Links as a service”When a source-aligned data product updates its data, the platform synchronizes by updating the associated Hub or Link associated with the Satellite managed by that data product. This synchronization is designed to be both straightforward and automated. The data product sends the platform the natural keys of the objects or relationships added during the latest load. The platform then integrates these keys—if they aren’t already present—into the corresponding Hub or Link. Subsequently, it returns the hash keys that identify the updated objects or relationships to the data product.
The data product then updates its internal objects or relationships with these hash keys, replacing the natural keys for each item with the hash keys, as specified by Data Vault modeling principles. While this process is efficient, in distributed environments, it might be worth considering retaining the natural keys alongside the hash keys. This practice ensures that the data exposed by the data product remains comprehensible and usable, even if the platform managing Hubs and Links is unavailable.
When a Satellite is associated with a Link, updating the Link with new data from the Satellite might trigger not only updates to the Link but also cascading updates to the associated Hubs. This situation arises when attributes are added to a relationship involving objects that were not previously registered in the corresponding Hubs. In these scenarios, the data product faces a choice: it can either register the objects in the relationship with the platform first and then register the relationship itself, or it can directly register the relationship and leave the task of documenting any new objects to the platform. Typically, the first approach is favored when the objects involved in the relationship come from different systems and there is a need to maintain traceability of the data sources at the Hub level.
Decentralizing ownership across Satellites
Section titled “Decentralizing ownership across Satellites”Now, imagine managing data for sales and shipments using distributed data modeling as described here. The data marts in the consumption layer will naturally share several dimensions, such as product or customer, that need to be conformed. The approach to handling these dimensions through dedicated data products ensures that multiple copies of the same data, each with distinct ownership, are avoided. When leveraging Data Vault modeling in source-aligned products, managing ownership attribution for these conformed dimensions also becomes more streamlined.
Take, for instance, the product dimension. Information about products in the catalog may come from various source systems, each under different domain responsibilities. The sales domain might be responsible for maintaining descriptive attributes related to the product’s main characteristics—color, size, brand, and so on. Conversely, the logistics domain might focus on attributes essential for shipping—weight, packaging type, and so on. In Data Vault modeling, these two types of information can be managed independently through separate satellites linked to the same product Hub and managed by independent data products. The sales domain would oversee the data product managing the Satellite with general product information, while the logistics domain would manage the Satellite with shipping-related information. The platform supports this by providing a centralized Hub containing the natural keys for products (e.g., stock-keeping units (SKUs)) to which both Satellite data products are correlated through the hash key (Figure 10*.8*).

Figure 10.8 – Distributed Data Vault modeling
The same applies to conformed facts. Take, for instance, the sales fact, which encompasses both in-store transactions and online sales. Here, we’d establish two distinct data products: one managed by the in-store sales domain and the other by the online sales domain. Each data product would oversee two satellites correlated to the sales Link—one Satellite containing the conformed measures that it will populate only for its own sale transactions, and one containing metrics relevant only to the specific domain that it could potentially populate for all sales transactions. As with Hubs, the Link is managed by the platform and referenced by the Satellites managed by the two data products.
In a robust data architecture, it’s crucial to maintain satellites that preserve raw data sourced directly from the original systems. These satellites, managed by source-aligned data products, collectively build the Raw Data Vault.
When complex business rules are needed to alter the data’s meaning, it is preferable to apply these transformations within dedicated satellites. This approach also holds for KPIs calculated from source system metrics. Such satellites built applying business logic to transform and enrich the row data can be managed by specialized consumer-aligned data products that are constructed downstream from the source-aligned products. Together, these enriched Satellites form the Business Data Vault.
Moving toward the consumption layer
Section titled “Moving toward the consumption layer”With the source-aligned products that expose Satellites within the Raw Data Vault and the downstream data products that expose Satellites within the Business Data Vault in place, you can leverage the integrated model to generate facts and dimensions for the desired data marts. This is achieved through simple joins between Hubs, Links, and Satellites.
These data marts and their associated data function as aggregation data products, seamlessly integrating data from various upstream products to offer a unified, consumable view of a business process or transaction. The lack of transformation logic enables these data products to be virtualized, with ownership assigned to the federated modeling team—described in Chapter 11*, Building an AI-Ready Information Architecture* —rather than to domain-specific teams.
In these consumer-aligned virtualized data products, data has not materialized and is so not duplicated, except for performance optimization in queries. The responsibility for each piece of data they use remains with the upstream data product team that provides it. The federated modeling team is only responsible for the logic used to join the data to produce the exposed data mart. In the event of data issues, it is easy to identify who is accountable for resolving them.
Unified star schema modeling
Section titled “Unified star schema modeling”The unified star schema (USS) offers a modeling approach for data within the presentation layer, designed to streamline the structure and improve the querying experience by eliminating errors caused by join traps.
Join traps
Section titled “Join traps”Each data mart within the presentation layer is composed of one or more dimensional models. Each dimensional model is structured using either a star schema or a snowflake schema and is managed by a consumer-aligned data product, typically virtualized and overseen by the federated modeling team.
From each Link within the EDW layer, multiple-dimensional models can be derived in the presentation layer. However, given that the data exposed through these models are treated as products, it’s typically recommended to have no more than one model per Link. Consumers can then connect, filter, and aggregate the models as needed to obtain the desired data form.
However, creating a single-star schema for each Link, encompassing all relevant data at the finest level of granularity, is not always feasible due to the inherent risks of join traps. A join trap occurs when a join operation inadvertently duplicates rows within a table, leading to inaccuracies in aggregate measure calculations.
The star schema is inherently designed to address this issue. By structuring data so that all measures reside within a fact table, which maintains a many-to-one relationship with its dimensions, the risk of duplication is minimized. This design ensures that when joining the fact table with its dimensions, each row in the fact table remains unique, preserving the integrity of the measures it holds. Consequently, calculations of aggregate measures within a single-star schema—often referred to as drill-down —are safeguarded from errors arising from join traps.
The challenge arises during a drill-across operation, where the risk of join traps re-emerges. In this scenario, joining two distinct fact tables can lead to multiple duplications of rows across both tables and, consequently, their measures. This can result in aggregation errors. For instance, consider the scenario involving the sales fact and the shipment fact (Figure 10*.9*).

Figure 10.9 – Sales and shipments facts
Connecting sales and shipment data for comparative analysis or to derive metrics, such as the daily delta between units purchased and shipped for each product or the monthly ratio of sales amounts to shipping costs, often makes sense. The relationship between sales and shipments is typically direct: each shipment is potentially tied to a specific sale via a foreign key linking shipments to sales.
Yet, it’s crucial to recognize that not all purchased units are necessarily shipped in a single batch. Consequently, the same sales record might appear multiple times in the join result, once for each corresponding shipment. This duplication introduces the risk of incorrect aggregations: while the units shipped will aggregate accurately, the units sold will be miscalculated due to repeated sales rows. This scenario is an example of a fan trap —a join trap that occurs when merging entities connected by a one-to-many relationship, where both entities contain measures (Figure 10*.10*).

Figure 10.10 – Fan trap
In rarer scenarios, it might be worthwhile to join fact tables, which aren’t directly linked, through a shared dimension. Consider a case where source systems fail to capture the connection between a shipment and the corresponding sale, leading to no direct relationship between the two facts. Despite this, it’s still possible to establish a correlation, such as calculating the daily delta between units shipped and units sold, by leveraging the common product dimension shared by both facts.
However, this approach can introduce row duplications on both sides of the join. Each sale of a product will be repeated as many times as there were shipments of that product, and each shipment of a product will be repeated as many times as there were sales of that product. This type of join trap is called a chasm trap (Figure 10*.11)*.

Figure 10.11 – Chasm trap
Most business intelligence (BI) tools elegantly sidestep these join traps using associative logic. When mapping the model within the tool and establishing how tables are connected, the tool resolves these connections via associations rather than traditional joins. This means that the tool loads the individual tables into memory and then resolves the associations only when necessary, calculating measures accurately on the individual tables before performing the joins.
However, direct data access, such as through SQL queries, does not benefit from this associative functionality. To mitigate the risk of join traps in such scenarios, it is common practice to create multiple-star schemas tailored to different types of cross-fact analysis. While this approach addresses potential pitfalls, it inevitably leads to an increase in the number of star schemas, thereby escalating the complexity and costs associated with managing the presentation layer.
Puppini Bridge
Section titled “Puppini Bridge”The USS is a data modeling approach designed to tackle these challenges within the presentation layer. As outlined by Francesco Puppini and Bill Inmon in their book, the USS revolves around a pivotal concept: consolidating multiple consumption needs into a single fact table rather than creating a distinct fact table for each requirement. This central fact table, referred to as the Puppini Bridge, serves as the broker through which all other relevant tables are interconnected.
The Puppini Bridge includes a column for each key from the tables you want to correlate. If any of these tables have composite keys, a single key must be created—often by hashing the composite key—for use in the Puppini Bridge. Along with these keys, the Puppini Bridge also contains columns for each measure from the different correlated tables and an additional column called Stage.
Once the schema is set up, the Puppini Bridge is populated by doing the union of all rows coming from all the tables being correlated. For each row, it stores the primary key, foreign keys, measures, and the name of the table in the Stage column. The following figure shows an example of a Puppini Bridge constructed from the shipment, sales, and product tables (Figure 10*.12*).

Figure 10.12 – Puppini Bridge
At this point, you can simply perform a LEFT JOIN operation between the tables of interest and the Puppini Bridge to analyze the contained data, effectively sidestepping join traps. Fan traps and chasm traps are avoided because the Puppini Bridge connects tables through union, not join, thus preserving their original granularity. The join operations to retrieve the necessary attributes for slicing and dicing occur only during the calculation phase.
Since the Puppini table holds all the measures of interest and maintains a many-to-one relationship with other tables joined during calculations, it ensures that each measure is counted only once, avoiding any risky duplication.
Of course, the Puppini Bridge can have high cardinality. However, it is a highly sparse table that contains only keys and measures. All informational attributes remain in their respective tables, ready to be used during calculations as needed. As a result, the storage required relative to cardinality is kept manageable. Moreover, since it can be easily partitioned and indexed, both storage and read performance can be further optimized.
Now, let’s delve into how the USS technique can be leveraged within a distributed architecture that centers around data products.
Distributed unified star schema modeling
Section titled “Distributed unified star schema modeling”Starting with data in the EDW layer that is modeled using the Data Vault approach, constructing a Puppini Bridge is relatively straightforward. In Data Vault modeling, primary and foreign keys, stored in Links and Hubs, are already distinct from the descriptive attributes held in Satellites. Each element in a Hub or Link also has a non-composite surrogate key, generated by hashing one of its natural keys. This setup allows for the easy creation of a Puppini Bridge by merging the hash keys from the various Links and Hubs. Additionally, for each Link, the Puppini Bridge needs to include the relevant measures from the associated Satellites.
While it’s technically possible to create a single Puppini Bridge that connects all Hubs and Links from a Data Vault-modeled data warehouse (DWH) layer, doing so is often neither necessary nor efficient. Instead, Hubs and Links can be grouped by major analytical areas, allowing for the creation of dedicated Puppini Bridges tailored to each area.
Since a Puppini Bridge can be automatically built from Links, Hubs, and Satellites, its creation can be offered as a self-service feature by the platform and executed on-demand based on consumption needs. For instance, when a consumer selects data products within the data product marketplace, the platform can automatically provide access not only to the individual data products but also to a dedicated Puppini Bridge for safely joining data across those products.
Next, let’s explore how to manage the life cycle of physical models in a distributed architecture centered around data products.
Managing the physical model life cycle
Section titled “Managing the physical model life cycle”Up to this point, we’ve delved into the management of physical data modeling within data-product-centric architectures. Specifically, we’ve advocated for employing Data Vault techniques to organize data exposed by source-aligned data products, and for leveraging star schema or USS approaches to model data presented by consumer-aligned products (Figure 10*.13*).

Figure 10.13 – Distributed modeling architecture
We have also explored how to build a unified model in a distributed manner for each described technique, paying close attention to aspects of ownership, reduction of interdependencies, and interoperability, among different parts of the model. Each of these parts is managed by a different product team and is an integral part of the product itself, thereby following its life cycle.
A distributed data model emerges through the composition of individual data product models, each developed autonomously. The data model is not a separate entity but an intrinsic part of the data product itself, evolving alongside it throughout its life cycle. Every data product is responsible for offering a transparent and well-defined representation of its internal data model, ensuring consumers can easily understand how the data is structured and exposed. This model description is embedded within the data product’s descriptor and must remain readily accessible through its discoverability ports.
The construction policies and representation standards for data models are set by the federated governance team. Product teams, tasked with building data models, must align with these globally defined rules. The XOps platform plays a critical role here, ensuring that these rules are computationally validated during the deployment process, with the authority to block non-compliant data products. Furthermore, the XOps platform can leverage the information present in the physical data models of various data products to simplify search tasks or automate procedures that facilitate data consumption (e.g., generating a Puppini Bridge on demand).
The data model exposed by a data product serves as one of the most vital interfaces that binds the product to its consumers. Introducing changes to this model in new product versions can disrupt downstream consumers, making it crucial to manage these changes with caution. Any alterations to the model should be handled in alignment with the deprecation policies that govern the entire life cycle of the data product, ensuring that consumer impact is minimized while maintaining a consistent and reliable interface for data access.
Exploring distributed conceptual modeling
Section titled “Exploring distributed conceptual modeling”In traditional approaches, the conceptual model is often loosely defined during the analysis phase to guide the construction of the physical model. However, in a data-product-centric architecture, the conceptual model plays a critical role well beyond the initial release of data products. It serves as a key enabler for seamless data consumption and ensures interoperability across products. In this section, we’ll explore how to intentionally design a conceptual model and manage its ongoing evolution in a distributed decentralized architecture.
Ubiquitous language
Section titled “Ubiquitous language”The primary purpose of conceptual modeling is to surface the core concepts that shape the problem and map out the relationships between them. Everyone involved in solving the problem should participate in the modeling activity, which typically aligns with the early stages of analysis to identify the necessary data products to support a given business case. It’s especially critical that business stakeholders with deep knowledge of the processes related to the target problem participate in the conceptual modeling, as they hold most of the knowledge needed to construct this kind of model.
A modeling session kicks off with a deep dive into the business processes tied to the business case in question. This process analysis can unfold in several ways, such as through techniques such as event storming (see Chapter 4*, Identifying Data Products and Prioritizing Development*). As you delve into the process, it’s essential to capture the most frequently used terms, especially those highlighted by subject matter experts. These terms embody the language specific to the bounded context you’re working within.
For each significant term related to the process, a clear and shared definition should be formalized. If multiple terms are used to describe the same concept, they should be tracked and a preferred term should be selected. This preferred term will then serve as the foundation for the ubiquitous language used across all artifacts delivered to achieve the desired solution.
The set of key terms identified, along with their definitions and potential synonyms, is classified within knowledge organization systems (KOS) as a controlled vocabulary.
Establishing a shared controlled vocabulary is crucial for eliminating misunderstandings between those engaged in both the analysis and the implementation of the desired solution. For example, when the term “customer” is mentioned, stakeholders can refer to a common definition, ensuring everyone is aligned on the meaning and context of the information being exchanged.
The controlled vocabulary plays a crucial role even after development, serving to document the physical model and enhance data comprehension for potential consumers. This is achieved by tagging the schema—fields, tables, and other data structures—with terms from the controlled vocabulary. When consumers interact with the physical model via the product’s discoverability ports, they gain not only structural insights but also contextual understanding of the data. The tags function as links to the shared controlled vocabulary, providing access to term definitions and thus clarifying the meaning of the tagged data.
Controlled vocabularies are designed to be shared across multiple data products, especially within the same bounded context or subdomain. This approach avoids redundant definitions of terms, as the meaning of these terms remains consistent across products.
While the controlled vocabulary evolves alongside the development of the data products that utilize it, it operates independently of them and does not share its life cycle. The controlled vocabulary is neither owned nor exposed by any specific data product. Unlike the physical model, which is directly exposed through the data product’s discovery ports, the controlled vocabulary must be managed externally—either by the XOps platform or a connected data governance tool. The only responsibility of the data products is to tag the exposed physical model appropriately and ensure these tags are available for consumers to use.
In data governance platforms, the management of a controlled vocabulary is often facilitated through a component known as the business glossary. This Business Glossary acts as a centralized, user-friendly repository where vocabulary terms are cataloged, linked, and maintained over time. It serves as a critical tool for both understanding and navigating the data landscape.
Through the business glossary, users can not only quickly access the definition of a term used to tag data for better understanding but also search for terms within the vocabulary and trace them back to associated data. In fact, the business glossary indexes terms and their definitions, enabling text-based searches within the controlled vocabulary. Additionally, it keeps track of all physical models tagged with specific terms. This allows you, for instance, to find all terms related to the search string Customer. Then, by selecting the most relevant result, such as Active Customer, users can view its definition and see all physical models tagged with this term, thus identifying the data products exposing these models and the associated data.
It is the responsibility of the XOps platform to read the tags used by the data product each time a new version is released and update the mappings between terms and data products within the business glossary.
As we’ve discussed, a controlled vocabulary is an invaluable tool for conceptual modeling, essential during both the development and operational phases of a data product. Formalizing the vocabulary during the analysis phase—when all subject matter experts are present and actively involved—is more effective and cost-efficient than doing so later through post-release stewardship activities. However, while formalizing and cataloging the controlled vocabulary within the business glossary is crucial, it does not complete the conceptual modeling process. The controlled vocabulary is just the starting point, a foundational tool for creating more expressive models with capabilities beyond simple textual search. In the next section, we will delve into these advanced models and how to define them.
From string to things
Section titled “From string to things”The controlled vocabulary provides a flat list of terms with their definitions and key synonyms but lacks structure. It does not distinguish concepts from their properties or define the relationships between concepts. This more structured approach, which organizes concepts, properties, and their interconnections, is called an ontology. Ontologies allow for a wide range of relationships to link concepts, making them the most versatile and comprehensive form of explicit representation for shared knowledge.
In knowledge management systems, simpler forms of representation with respect to ontologies are often used, typically built from a more limited set of possible relationships between objects. The most common of these are taxonomies and thesauri. Taxonomies establish a hierarchical relationship between concepts or terms from the controlled vocabulary using relationships, such as “is broader than” and “is narrower than.” This creates a hierarchy where each concept or term is linked to a parent term in a structured, hierarchical manner. On the other hand, a thesaurus supports both hierarchical and associative relationships. It allows terms and concepts to be linked across different taxonomies, enabling a more flexible and interconnected representation of knowledge.
A thesaurus can be viewed as a specific type of ontology that employs only hierarchical and associative relationships. Similarly, a taxonomy can be seen as a particular kind of thesaurus where only hierarchical relationships are used. Finally, a controlled vocabulary can be considered a specific type of taxonomy in which terms are not interconnected by any relationships. Generally, as illustrated in the following figure, ontologies are composed of thesauri, which link taxonomies, which in turn link the terms found in a controlled vocabulary (Figure 10*.14*).

Figure 10.14 – Conceptual model types
The more complex the structure of a conceptual model, the more expressive it becomes. In these models, a term’s meaning isn’t defined solely by the word or its textual definition in the vocabulary, but by its position within the structure and its relationships to other terms. In a well-designed conceptual model, the textual definition of a concept should be redundant because its meaning is embedded in the structure itself. Take the term “customer,” for instance. In a controlled vocabulary, “ customer ” might be defined as A customer is an individual or entity that purchases products or services from a business in exchange for monetary value. The illustration (Figure 10*.15*) shows a hypothetical ontology that represents the concept of Customer, transforming its textual definition (“Strings”) into a structure of related concepts (“Things”).

Figure 10.15 – Ontology
This ontology conveys the same informational content as the previous definition but is less prone to ambiguity and more easily processed by machines. While the textual definition is useful for performing searches across defined terms, the ontology allows for reasoning through inferences based on its graph structure. For instance, if it’s known that a customer purchased a product, and every product has a price, the payment amount can be inferred even if it’s not explicitly recorded in the system. Similarly, if the recorded payment differs from the product price, it could indicate a data quality issue.
Managing the conceptual model life cycle
Section titled “Managing the conceptual model life cycle”An ontology is a purposeful model crafted to capture domain knowledge with the intent of addressing specific problems. The journey of modeling an ontology begins with a clear identification of the target problem, the business outcomes we seek to achieve, and the business questions the model must help answer. Conceptual modeling should never be approached as an abstract, exhaustive mapping of all organizational knowledge. This would amount to little more than an intellectual exercise, disconnected from value creation. Instead, the process must remain tightly aligned to real business cases, ensuring the model directly serves actionable needs.
With the motivations and scope of the modeling clearly defined, the next step is to bring together the subject matter experts who hold deep knowledge of the problem domain and the associated business processes. This initiates the first phase of conceptual modeling. The focus here is to uncover the core concepts that form the foundation of the model. The process often begins by analyzing business processes related to the target problem. As key terms emerge, it’s crucial to assess whether they represent concepts, properties of those concepts, or relationships between them, and then document them in the shared vocabulary. As more concepts are identified, they can also be visualized within a graph-based model, representing their key properties and the connections that define their relationships.
Once the initial process analysis is completed and an informal conceptual model is drafted, the next step involves refining the understanding of key concepts. This phase focuses on better identifying the attributes that describe these concepts and the relationships that connect them to others.
The construction of the ontology unfolds in parallel with the definition of the controlled vocabulary. Both processes should avoid striving for perfection—such a model does not exist. Instead, the goal is to create a model that is lean and functional, tailored to answering the specific business questions that frame the problem. When the model achieves this goal, the collaboration with subject matter experts can be closed, and the consolidation phase can commence.
In the consolidation phase, the model undergoes a transformation to more effectively represent the collected information, making it clearer and more accessible. This phase also involves formalizing the model into a machine-readable format, typically using the Resource Description Framework (RDF) standard. RDF organizes information into triples, consisting of a subject, predicate, and object. The subject represents the concept being described (e.g., Customer, Product), the predicate denotes a property or relationship associated with the subject (e.g., has name, has price), and the object is either a value or another concept related to the subject through the predicate (e.g., Andrea, Monetary Value). The following examples illustrate a couple of RDF triples derived from the ontology presented in the previous figure:
(Customer, purchases, Product)(Customer, purchases, Service)After logically structuring the information within the ontology using RDF triples, these triples can be serialized into various formats for consumption. Among the available formats, Turtle stands out for its compactness and readability. It offers a human-friendly way to represent RDF triples. The following is an example demonstrating how the previous RDF triples can be serialized using the Turtle format:
:purchases a rdf:Property ; rdfs:domain :Customer ; rdfs:range [ a owl:Class ; owl:unionOf ( :Product :Service ) ]In this example, the Turtle syntax is used to specify that the purchases predicate accepts Customer as its subject (domain) and either Product or Service as its object (range).
Ontologies that are defined, formalized, and serialized in this way can be stored and accessed through specialized databases that natively handle triples (triplestores), graph databases, or governance tools capable of managing ontologies.
The controlled vocabulary remains a crucial tool as it annotates the ontology in a format that is more immediately understandable for business users. However, data products no longer use the vocabulary terms for tagging the physical model; instead, they create direct links to the concepts within the ontology. The tool managing the ontology must store these pointers to enable quick navigation from a concept to the data products that expose instances of that concept. We’ll delve more into the intricacies of linking physical data with conceptual models in the upcoming chapter.
As with the controlled vocabulary, it is the responsibility of the federated governance team to define the rules and standards for constructing an ontology. The ontology is developed and evolved alongside the development of data products but is not part of them and does not share their life cycle. The data product is solely responsible for linking the exposed data to the appropriate concepts within the ontology and for making these links available through its discoverability ports. Instead, the XOps platform must process these links whenever a new data product is published, cataloging them within the system used to store ontologies.
Creating and evolving a shared formal ontology involves costs; at first glance, it might appear that sticking to informal conceptual modeling, which is sufficient for physical model creation, is more practical. However, as the next chapter will show, this investment is justified. The ontology ensures long-term interoperability between data products and enhances the effectiveness of modern AI techniques.
Summary
Section titled “Summary”In this chapter, we explored how to model data formally and intentionally within a data-product-centered architecture. We focused on analyzing how key techniques for physical and conceptual data modeling can be applied within a modular and potentially distributed data management solution.
Initially, we examined how, for data products, data modeling transcends mere development to become an intrinsic part of the product itself. The physical model is the gateway through which consumers interact with the product, accessing and utilizing the exposed data. Conversely, the conceptual model provides the framework for understanding the meaning of that data, enabling proper usage and integration.
We then reviewed the main techniques for physical data modeling, particularly for analytical purposes. For each technique, we assessed the advantages and disadvantages, exploring their applicability within distributed data management architectures. We proposed a two-tier architecture, suggesting the use of Data Vault modeling for source-aligned data products and dimensional modeling in the form of a star schema or USS for consumer-aligned data products.
Finally, we addressed conceptual modeling, analyzing the primary techniques from controlled vocabularies to ontologies. For each technique, we discussed its strengths and weaknesses and how to define, manage, and evolve them over time.
In the next chapter, we’ll delve into integrating conceptual and physical modeling to construct a comprehensive information architecture grounded in the knowledge graph concept. We’ll explore how this approach supports both the composability of data products and the application of modern AI techniques.
Further reading
Section titled “Further reading”For more information on the topics covered in this chapter, please see the following resources:
- My Definition of Data Modeling (for today). J. Reis (2024). https://joereis.substack.com/p/my-definition-of-data-modeling-for
- The Align, Refine and Design Approach to Data Modeling. S. Hoberman. https://www.youtube.com/watch?v=-5uZlyAn3Vk
- The Data Dichotomy: Rethinking the Way We Treat Data and Services. B. Stopford (2016). https://www.confluent.io/blog/data-dichotomy-rethinking-the-way-we-treat-data-and-services/
- Data on the Outside vs. Data on the Inside. P. Helland (2020). https://queue.acm.org/detail.cfm?id=3415014
- The Data Warehouse Toolkit: The Definitive Guide to Dimensional Modeling. R. Kimball, M. Ross (2013). https://a.co/d/dOnBzxJ
- Building the Data Warehouse. W. H. Inmon (2005). https://a.co/d/efuuDO6
- Building a Scalable Data Warehouse with Data Vault 2.0. D. Linstedt, M. Olschimke (2015). https://a.co/d/cNURox4
- The Unified Star Schema: An Agile and Resilient Approach to Data Warehouse and Analytics Design. B. Inmon, F. Puppini (2020). https://a.co/d/eZAbGyY
- Semantic Modeling for Data: Avoiding Pitfalls and Breaking Dilemmas. P. Alexopoulos (2020). https://a.co/d/8WQDBJa
- RDF 1.1 Concepts and Abstract Syntax. https://www.w3.org/TR/rdf11-concepts/
- RDF 1.2 Turtle. https://www.w3.org/TR/rdf12-turtle/
Get This Book's PDF Version and Exclusive Extras
|