Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Zalando Engineering 7 min read Case study mediumAdept

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

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.

Assumes: relational data modelinggraph databases basics

Related posts

  • Claude please rack me a datacenter, make no mistakes

    Railway mediumAdept

    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. The approach rests on primitives inside their internal DCIM, Railyard: immutable changesets as version control for physical infrastructure, design rule checks, a parts library with attribute and constraint data generated from spec sheets, and curated MCP tools plus skills. Applied changesets move assets through a Draft/Buildout/Active lifecycle that auto-generates work orders, bills of materials and technician-friendly Excel cabling matrices. A /dc-provision skill then validates the build using LLDP, transceiver DOM stats and a burn-in Linux agent, checking wiring and light levels against the DCIM spec across SONiC and Arista EOS switches.

  • A modern data stack for startups

    incident.io mediumAdept

    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. The dbt project skips 'base' models and goes straight to staging tables, producing dimension and fact marts only when joining across sources or doing complex transforms, which keeps schema maintenance low. Other practical details: Fivetran's xmin-cursor fallback for Heroku Postgres without logical replication, per-engineer BigQuery dev datasets, and using dbt-metabase to turn dbt relationship tests into Metabase foreign keys so joins auto-fill.

  • ShopifyQL Notebooks: Simplifying Querying with Commerce Data Models

    Shopify Engineering mediumAdept

    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. Good models are purpose-driven, explorable (right granularity, useful dimensions, fully additive metrics rather than semi- or non-additive ones) and extensible. The process runs from business questions to mock data and template queries, then to sourcing upstream tables, checking quality and consistency, and deriving freshness from upstream SLOs. Build time improved by switching from full-drop to incremental pipelines, at some cost in maintainability, and query speed improved with daily per-product roll-up tables for high-cardinality GROUP BYs.

  • How to build a knowledge factory for AI agents

    LangChain easyNovice

    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). Working agents get a tool to flag missing or wrong knowledge. A background curator agent periodically reads those flags, agent traces and raw sources like Notion and Slack, then updates the knowledge store, whose storage format matters less than the loop. A revenue-report example shows a renamed BigQuery column and a finance lead's formatting feedback being folded back into skills overnight, and the recommendation is to start with one recurring workflow and close the loop.

  • Data Inventory

    Wise Engineering mediumAdept

    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. The pipeline discovers data systems as databases are provisioned, registers assets under human-readable URI-style IDs whose granularity rises with sensitivity, and attributes ownership from team metadata, with a producer/consumer fallback for the remaining cases. It then extracts schemas via information_schema and system catalogs and collects sensitivity classification through a UI backed by layered nudges. Off-the-shelf catalogs like DataHub, OpenMetadata and BigID were rejected because they required looser security controls, and the team favoured shipping a solution for 80% of cases over analysis paralysis.

The quest for software engineering knowledge.

Look:
Layout: