Insight · Governance

MDG Technology as Your AI Quality Gate: Why Model Governance Is the Real AI Unlock

Key takeaways

  • MDG Technology defines the semantic layer that any analytics or AI tool reads — poor governance propagates straight into output quality.
  • Inconsistent stereotypes and missing tagged values are the most common reasons a query against a Sparx EA repository returns a broken answer.
  • MDG governance is not a one-time configuration task; it needs discipline, named ownership, and a change process.
  • AI cannot repair bad MDG. It can only expose it more clearly, and at greater scale.
  • Configure the Solution is built to establish MDG governance discipline, not just configure profiles.

MDG Technology is Sparx EA's metamodel framework — the rules that define what element types exist, what properties they carry, and how they connect. For anything that wants to read your repository as data, MDG is not optional plumbing. It is the semantic contract between the repository and every downstream system that queries it: a BI dashboard, a reporting layer, or an AI assistant. If the MDG is inconsistent — undefined stereotypes, missing tagged values, ad hoc element types — every query inherits that inconsistency. The rule is blunt: garbage MDG, garbage output. Strong MDG governance is the single highest-leverage investment an EA team can make before connecting anything to the repository.

What MDG Technology is and does

MDG Technology is Sparx EA's built-in metamodel extension mechanism. Out of the box, Sparx EA supports ArchiMate, TOGAF, BPMN, UML, SysML, and others. MDG lets you extend those notations — or build proprietary ones — by defining:

  • Custom stereotypes on existing metaclasses (for example, a «CriticalCapability» stereotype on an ArchiMate Business Capability)
  • Tagged values carrying structured properties on those stereotypes (CapabilityMaturityLevel, BusinessOwner, InvestmentCategory)
  • Shape scripts for visual rendering
  • Validation rules that enforce structural constraints

The result is a controlled vocabulary for your repository. Every element created under a governed profile is typed, named, and annotated consistently — and that consistency is exactly what makes a repository machine-readable. Without it, architects reach for whatever element type seems close enough, drop notes in free-text fields, and use different naming conventions across packages. The repository still looks like architecture to a human scanning it. To anything parsing it for structure, it reads as noise.

MDG as the semantic layer for a query layer

When you connect a query layer to a Sparx EA repository — whether that feeds a BI tool or a natural-language interface — it works by traversing the element graph: reading element types, stereotype names, tagged values, and connector types to assemble a meaningful response. The mechanism is the same regardless of what sits on the far end.

Consider a simple question: "Which applications support the Customer Onboarding capability, and what is their decommission status?" To answer it, the query layer needs:

  1. An «Application» stereotype (or equivalent) with a tagged value called DecommissionStatus carrying a controlled vocabulary (Active, Under Review, Scheduled for Decommission).
  2. A defined connector type — Realization or Serving — linking Application elements to Capability elements.
  3. Consistent population of those tagged values across the application portfolio.

If DecommissionStatus exists on 40% of applications, uses three value formats (yes/no, true/false, Active/Inactive), and is missing on the rest, the query returns an unreliable partial answer. It will not invent a value — it reports what is there, which is incomplete and inconsistent. That is not a tooling failure. It is an MDG governance failure, made visible.

Five signs your MDG is hurting your AI readiness

1. Architects use base metaclasses instead of stereotyped elements. You have Application Components and Business Functions in the repository but no consistent stereotypes applied — so nothing can distinguish a critical ERP from a departmental spreadsheet tool.

2. Tagged values are populated inconsistently. Key properties — owner, lifecycle status, business criticality — exist on the profile but are empty or free-text on most elements. Dashboards show null-heavy tables.

3. Naming conventions vary by team or project. The same application appears as "SAP ECC," "SAP ECC 6.0," and "ECC Core" across packages. Deduplication becomes a manual chore before any query is trustworthy.

4. Profiles are undefined or unlocked. Architects can create any element type in any package with no enforcement. The repository is technically valid Sparx EA but has no consistent semantic structure.

5. Connector types are not enforced. Realization, Association, Dependency, and Serving connectors are used interchangeably, so the relationship graph cannot be traversed meaningfully for impact analysis or any query.

If you recognize three or more of these, the return on any analytics or AI investment will be capped until MDG governance is addressed. This is not a technology problem. It is a governance and discipline problem.

What well-governed MDG looks like

A mature MDG implementation has five characteristics:

Controlled vocabulary at the stereotype level. Every significant element type has a defined, documented stereotype with a clear purpose — «Capability», «ApplicationService», «DataEntity», «BusinessProcess».

Tagged-value schemas with controlled values. Where freeform text is acceptable, it is intentional. Where structured data is needed — lifecycle status, maturity score, regulatory classification — the tagged value uses an enumeration with a defined list.

Validation profiles that run on save or commit. Sparx EA's model validation enforces MDG rules; a profile that checks for missing mandatory tagged values before a package is baselined catches drift early.

Named MDG ownership. One person or a small team owns the master profile and manages changes through a lightweight request-for-change process. Ad hoc stereotype additions go through that owner.

Documentation in the repository itself. The MDG pattern library — stereotype descriptions, tagging guidance, usage examples — lives as a governed package in the EA repository, not in a Word document on SharePoint.

How long does it take to fix MDG governance?

The honest answer: it depends on how long the repository has run without governance, and whether you are correcting existing elements or only governing new ones. The work follows a predictable sequence.

1

Define the profile

Design the stereotypes, tagged-value schemas, and validation rules. Fast and focused — typically two to four weeks of design work, even for a large repository.

2

Stand up the operating model

Assign MDG ownership, agree the change process, and set the validation cadence — so the profile stays governed instead of decaying the day after it ships.

3

Backfill existing content

The hard part. Retrospectively populating tagged values on existing elements runs three to six months for a repository with two to five years of ungoverned content, and needs architect time and sometimes stakeholder interviews.

4

Enforce from here on

Validation on save or at baseline milestones keeps new content conformant. For greenfield repositories, governed MDG can be established and enforced from day one in four to six weeks — the ideal scenario.

Configure the Solution is sized around this reality. It does not pretend MDG governance is a configuration task — it builds the operating model (ownership, change process, validation cadence) alongside the technical profile.

Can an AI assistant repair bad MDG?

An in-EA AI assistant can accelerate MDG governance work — suggesting stereotype assignments, flagging elements that look like they are missing tagged values, and helping architects apply consistent naming. But it cannot substitute for the governance decisions that require business context.

Specifically: it cannot determine the correct value for BusinessCriticality on an application it has no context for, and it cannot decide whether two differently named elements represent the same real-world asset or two distinct ones. Those are judgment calls that need an architect with domain knowledge. What assistance does well is the mechanical work: identifying non-conforming elements, suggesting corrections, and shortening the time it takes to backfill tagged values once the governance decisions are made.

Is MDG governance the same as naming conventions?

No — though naming conventions are a component of it. Naming conventions address how elements are labeled, a valuable discipline that improves search and query results. MDG governance addresses the deeper question of what element types exist, what properties they carry, and how they relate. You can have perfect naming and still have a repository that cannot be traversed meaningfully, because the connector types are wrong, the stereotypes are undefined, or the tagged-value schema is missing. Think of naming conventions as the surface of governance and MDG as the structure underneath. Both matter; MDG matters more for queryability.

Frequently asked questions

What is MDG Technology in Sparx EA? MDG Technology is Sparx EA's metamodel extension framework. It lets you define custom element types (stereotypes), structured properties (tagged values), visual rendering rules, and validation constraints on top of any base notation — ArchiMate, UML, BPMN, or a proprietary language. MDG profiles are what give a repository a controlled, machine-readable semantic structure.

Why does MDG quality affect AI output? Any tool that queries the repository traverses element types, connector types, and tagged values to answer questions. If those are inconsistently applied — missing stereotypes, empty tagged values, mixed naming — the query returns incomplete or contradictory results. The tool reports what is in the repository; if it is poorly governed, the output reflects that. Improving MDG governance is the most direct way to improve output quality.

What does a well-governed MDG look like? Defined stereotypes for every significant element type, tagged-value schemas with controlled vocabularies, a named owner who manages the profile through a lightweight change process, validation rules enforced on save or at baseline milestones, and governance documentation that lives in the repository rather than in external files.

How long does it take to fix MDG governance? For established repositories with ungoverned content: two to four weeks to define the profile, then three to six months to backfill existing elements and enforce the standards. For greenfield repositories, governed MDG can be established and enforced within four to six weeks. The definition phase is fast; remediating existing content is where the time goes.

Can an AI assistant fix bad MDG? It can accelerate the work — flagging non-conforming elements, suggesting stereotype assignments, and helping with mechanical backfill. It cannot make the governance decisions that require business context: which applications are critical, whether two elements are the same asset, or what the correct lifecycle status is. It is a productivity multiplier, not a replacement for governance.

Is MDG governance the same as element naming conventions? No. Naming conventions govern how elements are labeled, which matters for search and readability. MDG governance governs the deeper structure: what element types exist, what properties they carry, and how they connect. Both matter, but MDG structure has more impact on whether the repository can be traversed and queried meaningfully.

Build MDG governance that makes the repository usable

Sparx Services' Configure the Solution engagement is designed for EA teams who want their repository to be query-ready but know their governance is not there yet. It builds the MDG profile, the validation rules, the ownership model, and the change process — so the result is a repository tools can actually use, and a team that knows how to keep it that way. See how this fits the wider picture for architecture leaders.

Is your MDG ready for everything that wants to query it?

Talk to a practitioner about assessing your metamodel governance — the single highest-leverage investment before you connect anything to your Sparx EA repository.

Book a call →