Skip to content

Ontology Modelling Standard

Purpose

This standard defines how the enterprise business ontology is represented. Ontology artefacts describe shared business meaning independently of logical and physical implementation.

Artefact boundary

  • Ontology artefacts define concepts, meanings and semantic relationships.
  • Logical information models must later specialise ontology concepts for governed information structures.
  • Physical data models must map to the logical and ontology layers without becoming authoritative definitions of business meaning.
  • Concept definitions must not contain database types, identifiers, primary/foreign keys or implementation structures.
  • Do not duplicate an authoritative definition across concept or relationship artefacts.

Concept artefacts

Each business concept is represented in exactly one YAML file under ontology/concepts/. A concept artefact must include:

  • Stable namespaced identifier.
  • Display name.
  • Independent semantic artefact version.
  • Lifecycle status.
  • Business definition.
  • Synonyms and examples, even where empty.
  • External semantic references, even where empty.
  • Business accountability and operational stewardship roles.
  • Modelling notes and unresolved semantic questions.

Concept artefacts must not include approval metadata. Git pull requests and their associated review records are the approval evidence.

Party and role modelling

Party represents the person or organisation participating in a business context. Person and Organisation specialise Party.

Party Role represents a contextual participation. Party Role Type represents a governed classification of that role. Supplier, Client, Employee and Contractor are initially example reference values of Party Role Type, not subclasses or separate concepts.

Recipe modelling

Recipe comprises Recipe Components. A Recipe Component specifies an Ingredient requirement and owns recipe-use characteristics such as quantity, unit of measure, optionality, preparation purpose and substitution.

Ingredients exist independently of Recipes and are not directly composed by Recipes. A later physical or logical model may define how suitable commercial Products fulfil an Ingredient requirement. Nested recipes are unresolved for the initial ontology scope.

The initial ontology retains one Product concept. Purchased commercial products and products or services offered to customers are distinguished by business context rather than by separate intrinsic ontology concepts.

An association records that an Ingredient may be fulfilled by a suitable Product. This relationship expresses general suitability only. Recipe Component-specific suitability, substitution, product variants, packaging and product groups are deferred until a subsequent modelling iteration.

Offering is a potential future ontology concept distinct from Product, but is not introduced in the initial scope.

Relationships

Relationships are maintained separately in ontology/relationships/relationships.yaml. Each relationship must include:

  • Stable namespaced relationship identifier.
  • Independent semantic artefact version.
  • Lifecycle status.
  • One of specialisation, association or composition.
  • Required human-readable name.
  • Optional human-readable inverse_name.
  • Explicit directional business meaning.
  • Namespaced source and target concept identifiers.

Relationship names support automated documentation and diagram generation. Inverse names describe the reverse traversal and do not require a duplicate inverse relationship.

Relationship-level attributes are not a generic mechanism in the initial ontology. If a relationship requires business characteristics, it must be represented as a separate business concept through a later reviewed ADR.

Ownership

accountable_business_role identifies the business role accountable for the meaning. steward_role identifies the operational role responsible for maintenance and communication.

Central governance facilitates standards and approval. It is not the default accountable business owner.

Lifecycle and approval

The lifecycle values are draft, approved, deprecated and retired.

  • draft: proposed meaning awaiting approval.
  • approved: accepted by the accountable business role through an approved pull request.
  • deprecated: accepted meaning retained temporarily but no longer preferred.
  • retired: accepted meaning no longer part of the active ontology.

Pull request approval records establish that human review occurred. The ontology manifest identifies an approved release only after all included artefacts and relationships satisfy the release lifecycle policy. Git history and pull request records are authoritative evidence; no duplicate approval fields are stored in concept files.

Cross-file validation requirements

The full cross-file validator is a subsequent Python implementation. The following checks are deterministic and must be implemented and executed before an ontology release is approved:

  • Concept IDs must be unique across all concept YAML files.
  • Relationship IDs must be unique across the relationships YAML file.
  • Every relationship source and target must resolve to an existing concept ID.
  • Every concept and relationship listed in ontology/manifest.yaml must have exactly one matching artefact.
  • The manifest must not list concepts or relationships outside its artefact inventory.
  • Concept filenames must match concept ID segments.
  • Relationship source and target lifecycles must permit use in an active relationship.
  • Specialisation relationships must not form a cycle.
  • Exact duplicate concept definitions must be detected.
  • Concept and relationship artefact versions must follow the documented SemVer rules.
  • Lifecycle values must be one of draft, approved, deprecated or retired.
  • Lifecycle transitions must follow the approved versioning policy.
  • The manifest's ontology release version and release inventory must remain internally consistent.

Potentially equivalent or overlapping business concepts require AI-assisted comparison and accountable human judgment. Automation may flag candidates but must not declare semantic equivalence or merge concepts without approved human review.