Knowledge Modelling / Semantics & Metadata
Define each term once and use it with one meaning
- MUST keep one glossary (controlled vocabulary) per project or domain, in version control, as the single place terms are defined.
- MUST give each concept a stable ID, one preferred label per language, and its synonyms, acronyms and legacy names as alternative labels. Refer to concepts by ID in data and code; labels can change.
- MUST define each concept as “a broader concept that distinguishing characteristic” (genus plus differentia). A definition that restates the label, or uses the term to define itself, does not count.
- MUST split a word that means two things into two concepts with qualified labels (“Tag (metadata)” and “Tag (instrument)”), and say in each definition which one it is.
- MUST use the preferred label consistently: in code identifiers, field names, docs, prompts and agent instruction files. Do not vary terms for style.
- MUST NOT reuse an existing term with a new meaning. Add a new concept, or deprecate the old one with a pointer to its replacement.
- SHOULD give a scope note where a definition alone leaves doubt (“Includes … Excludes …”).
- SHOULD check new docs, schemas and prompts against the glossary (a linter or review step that flags non-preferred labels).
- SHOULD publish the glossary machine-readably (SKOS JSON-LD or a plain JSON/YAML with IDs) so agents can resolve terms.
- MAY link glossary terms to standard vocabularies with explicit mappings (BP-0026).
When to apply
Section titled “When to apply”Any project where people and agents must mean the same thing by the same word: data models, APIs, runbooks, policies, multi-agent handoffs, and prompts. Especially where a word is used differently by different teams (“asset”, “incident”, “user”, “tag”).
Procedure
Section titled “Procedure”- Collect the terms that cause confusion: from tickets, reviews, and places agents guessed wrong.
- For each, write ID, preferred label, alternative labels, definition, scope note.
- Resolve clashes: split overloaded terms; choose one preferred label per concept.
- Replace non-preferred labels in code, docs and prompts; add a check to keep them out.
Examples
Section titled “Examples”- id: G-0007 pref_label: Asset (OT) alt_labels: [plant asset, equipment] definition: A physical item installed in an operational process that performs a process function. scope_note: Includes pumps, valves, PLCs. Excludes IT endpoints (see G-0008 Asset (IT)).- id: G-0008 pref_label: Asset (IT) alt_labels: [endpoint, device] definition: An information-technology device that is managed by the endpoint-management platform.Before: “Update the asset” in an OT runbook and in an Intune runbook, meaning two different things. After: each runbook uses the qualified term, and agents resolve it by ID.
Anti-patterns
Section titled “Anti-patterns”- Three names for one thing (“host”, “server”, “node”) in the same system.
- Definitions like “Asset: an asset”.
- Field names that differ from the glossary term (“devId” for Asset (IT) ID).
- Silent redefinition of a term in a new document.
Checklist
Section titled “Checklist”- One glossary, versioned, with IDs
- One preferred label per concept; synonyms recorded
- Genus-plus-differentia definitions; scope notes where needed
- Overloaded terms split and qualified
- Preferred labels used in code, data, docs and prompts