---
title: "Knowledge Graph Technologies Accelerate and Improve the Data Model Definition for Master Data"
description: "Zalando derives the logical data model for its master data management golden record from a Neo4j knowledge graph instead of writing it by hand."
url: "https://swe.quest/articles/knowledge-graph-technologies-accelerate-and-improve-the-data-model-definition-db1749c9c9c79c7b"
canonical: "https://engineering.zalando.com/posts/2021/07/knowledge-graph-master-data-mdm.html"
source: "Zalando Engineering"
published: "2021-07-28"
difficulty: "medium"
kind: "Case study"
reading_minutes: 7
tags: ["databases","data-pipelines","system-design"]
---

# Knowledge Graph Technologies Accelerate and Improve the Data Model Definition for Master Data

A post on [Zalando Engineering](https://swe.quest/sources/zalando.md), published 2021-07-28, 7 min read, Case study. Original: [https://engineering.zalando.com/posts/2021/07/knowledge-graph-master-data-mdm.html](https://engineering.zalando.com/posts/2021/07/knowledge-graph-master-data-mdm.html)

## Summary

Zalando derives the logical data model for its master data management golden record from a Neo4j knowledge graph instead of writing it by hand. Domain experts record only how each source system's tables and columns map to business concepts, attributes and relationships, which are themselves modelled as nodes. A Python script then generates one table per concept and one per relationship, with foreign keys to source and target concepts. The graph also yields a transformation model showing whether each source column maps directly or needs transformation, plus data lineage and readable diagrams that improve communication between business and engineering.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Databases](https://swe.quest/tags/databases.md) (Data & databases)
- [Data pipelines](https://swe.quest/tags/data-pipelines.md) (Data & databases)
- [System design](https://swe.quest/tags/system-design.md) (Architecture & design)

## Prerequisites

- relational data modeling
- graph databases basics ([easy posts on Databases](https://swe.quest/tags/databases.md?difficulty=easy))

## Keywords

Neo4j, master data management, knowledge graph, golden record, Zalando

## Related posts

- [Claude please rack me a datacenter, make no mistakes](https://swe.quest/articles/claude-please-rack-me-a-datacenter-make-no-mistakes-d0a6c9e118e27845.md): Railway · 2026-06-03 · Medium · 15 min read · Datacenters, AI agents, LLMs, Hardware, Networking
  Railway's infrastructure team used Claude to plan, document and qualify a multi-site bare-metal datacenter buildout across 4 geographies with about one and a half planners.
- [A modern data stack for startups](https://swe.quest/articles/a-modern-data-stack-for-startups-20644b674a9fc96e.md): incident.io · 2022-01-25 · Medium · 15 min read · Data pipelines, Analytics & OLAP, PostgreSQL
  A small startup data stack built in two weeks: Fivetran (plus Stitch for connectors Fivetran lacks, like the Close CRM) extracts data into BigQuery, dbt transforms it, and Metabase lets non-engineers explore it without SQL.
- [ShopifyQL Notebooks: Simplifying Querying with Commerce Data Models](https://swe.quest/articles/shopifyql-notebooks-simplifying-querying-with-commerce-data-models-518ab97f2ab79e6a.md): Shopify Engineering · 2023-02-14 · Medium · 11 min read · Analytics & OLAP, Data pipelines, E-commerce, Performance engineering
  Shopify built commerce data models behind ShopifyQL Notebooks so merchants can query metrics like sales and view-to-purchase conversion without SQL or joining across departmental datasets.
- [How to build a knowledge factory for AI agents](https://swe.quest/articles/how-to-build-a-knowledge-factory-for-ai-agents-b6db0f7cbc8a5b13.md): LangChain · 2026-11-23 · Easy · 7 min read · AI agents, LLMs
  A "knowledge factory" is a system for collecting, curating and maintaining the tacit company knowledge agents need: skills (procedures), domain knowledge (definitions, policies, facts) and data access guidance (where data lives and how to query it).
- [Data Inventory](https://swe.quest/articles/data-inventory-128d97c1b74ceb43.md): Wise Engineering · 2025-02-19 · Medium · 5 min read · Privacy, Databases, Security
  Wise's Data Governance team built an in-house Data Inventory that catalogs data assets across heterogeneous systems (MariaDB, PostgreSQL, S3, Kafka) to meet ISO 27001:2022 and security controls.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
