Skip to main content

Ontology Version Entity Ontology

Ontology and Knowledge-Graph Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 05 November 2026
Audio Overview
KIRETH RESEARCH — SEMANTIC LIBRARY
ONTOLOGY VERSION ENTITY ONTOLOGY — FLOW ALGEBRA
============================================================
Authors: Mark Anthony Higgins — Sky, Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/ontology-and-knowledge-graph-entities/ontology-version-entity-ontology.html
Prepared: 05 November 2026
Status: Original interpretative formalisation; not a verbatim extraction of the site's embedded specification.
Licence: Refer to the applicable Kireth Research Open Research Licence; retain source citation.

1. PURPOSE
----------
Represent a distinct, identifiable release or snapshot of an ontology, with provenance, change history, dependencies, validation and lifecycle status. Keep a version separate from the ontology's persistent identity and from a deployment instance.

2. FORMAL ENTITY MODEL
----------------------
Let OV = (id, ontology_id, version_id, parent_ids, timestamp, author,
          content_hash, change_set, schema_ref, dependencies, status,
          validation, provenance, compatibility, signature).

id              : globally unique version entity identifier
ontology_id     : persistent identifier of the ontology being versioned
version_id      : version label unique within ontology_id
parent_ids      : zero or more immediate predecessor version IDs
timestamp       : creation or publication time with time zone
author          : accountable contributor(s)
content_hash    : digest of canonicalised ontology content
change_set      : documented additions, removals and revisions
schema_ref      : reference to the ontology language or schema
dependencies    : exact referenced ontology versions
status          : draft | candidate | released | deprecated | withdrawn
validation      : results of consistency and integrity checks
provenance      : evidence of origin, transformations and review
compatibility   : declared compatibility with predecessor/consumers
signature       : optional authenticated attestation

State at time t:
S_t = (I_t, R_t, B_t, K_t)
I_t = input version candidate and source evidence
R_t = version rules, lineage edges and dependency relations
B_t = boundaries: identity, schema, policy, access, integrity
K_t = known versions, hashes, validation and provenance records

3. FLOW ALGEBRA
---------------
E_t = expand(I_t, R_t)
V_t = {x in E_t | conforms(x,B_t) AND verifiable(x,K_t)}
x*_t = argmax_{x in V_t} P(x | I_t,R_t,B_t,K_t)
I_(t+1) = update(I_t, x*_t, evidence_t)

Interpret P as a ranking/selection function only when a calibrated probability model exists; otherwise use a documented deterministic score and tie-breaker. If V_t is empty, return an explicit unresolved or invalid state, not an invented version.

4. VERSION OPERATIONS
---------------------
create(ontology_id, base, changes) -> draft version
validate(version) -> validation record
release(version, approval) -> immutable released snapshot
compare(v_a,v_b) -> semantic and structural difference set
supersede(v_old,v_new) -> directed lineage relation
deprecate(version,reason) -> deprecated status
withdraw(version,reason) -> withdrawn status; preserve audit trail
resolve(ontology_id, constraint, context) -> compatible version or failure

Version labels may follow semantic versioning if adopted by the project; version numbers alone do not prove semantic compatibility.

5. INVARIANTS AND BOUNDARIES
---------------------------
R1: A version ID is unique within its persistent ontology identity.
R2: A released version's canonical content and digest are immutable.
R3: Every parent and dependency edge identifies a concrete version.
R4: Lineage is acyclic; branching and merging may be represented explicitly.
R5: A release requires the project's defined validation and approval gates.
R6: An identical hash proves byte/canonical-form identity under the specified hashing procedure, not equivalence of all interpretations.
R7: Deprecation never silently deletes provenance or prior citations.
R8: A failed integrity check prevents automatic release or deployment.
R9: A compatibility claim records scope, method and evidence.
R10: Missing or conflicting evidence yields unknown, not false certainty.

6. INFERENCE RULES
------------------
IF same ontology_id AND distinct version_id THEN distinct version entities.
IF hash(candidate) != declared_hash THEN integrity_failure(candidate).
IF released(v) AND change_requested(v) THEN create_successor(v).
IF parent(v2)=v1 THEN precedes(v1,v2).
IF depends(v,d) AND unavailable(d) THEN blocked_resolution(v).
IF validation_passed(v) AND approval_granted(v) AND integrity_ok(v)
   THEN eligible_for_release(v), subject to remaining policy gates.
IF breaking_change(v1,v2) THEN do_not_infer_backward_compatibility(v2,v1).
IF withdrawn(v) THEN exclude_from_default_resolution(v) unless explicitly authorised.

7. TRI-MAPPING
--------------
Entity mapping: Ontology -> OntologyVersion -> VersionIdentifier
Relation mapping: versionOf, derivedFrom, supersedes, dependsOn,
                  validatedBy, authoredBy, hasChangeSet
Execution mapping: discover -> compare -> validate -> approve ->
                   release -> resolve -> monitor -> retire

8. RECURSIVE RESOLUTION ENGINE
-----------------------------
resolve_version(request, visited):
  candidates := known_versions(request.ontology_id)
  candidates := filter_by_constraints(candidates, request, policy)
  for candidate in candidates ordered by declared precedence:
      if candidate.id in visited: report cycle; continue
      if not integrity_ok(candidate): continue
      if not allowed_status(candidate.status, request): continue
      dependencies := candidate.dependencies
      if all(resolve_version(dep, visited union {candidate.id}) succeeds
             for dep in dependencies):
          return candidate with dependency lock and evidence
  return failure with diagnostics

A finite version graph, cycle detection and bounded traversal are required for termination. Cache only under a versioned dependency/policy context.

9. FLOW DIAGRAM
---------------
[Ontology Identity]
       |
[Candidate Version] -> [Content Digest + Provenance]
       |
[Schema / Dependency / Consistency Validation]
       |
  [Approval Gate] -- fail --> [Draft / Rework / Audit]
       |
      pass
       v
[Immutable Release] -> [Version Registry]
       |                       |
[Compatibility Assessment] [Dependency Resolution]
       \                       /
        [Consumer Selection]
                |
        [Monitoring / Audit]
                |
      [Supersede / Deprecate / Withdraw]

10. RELATIONSHIP MAPPING TABLE
------------------------------
OntologyVersion --versionOf--> Ontology
OntologyVersion --hasIdentifier--> VersionIdentifier
OntologyVersion --derivedFrom--> OntologyVersion
OntologyVersion --supersedes--> OntologyVersion
OntologyVersion --dependsOn--> OntologyVersion
OntologyVersion --hasChangeSet--> ChangeSet
OntologyVersion --validatedBy--> ValidationRecord
OntologyVersion --hasProvenance--> ProvenanceRecord
OntologyVersion --releasedBy--> AuthorisedActor
OntologyVersion --hasDigest--> ContentHash
OntologyVersion --hasStatus--> LifecycleState
OntologyVersion --compatibleWith--> OntologyVersion (qualified claim)

11. EXECUTION GUARANTEE (CONDITIONAL)
-------------------------------------
Given a finite candidate graph, deterministic canonicalisation, complete required evidence, sound checks, bounded recursion and an explicit policy, the resolver either returns a candidate satisfying its implemented checks or a traceable failure. This is not a guarantee of ontology truth, universal logical consistency or real-world suitability; those depend on the underlying logic, data, validators and assumptions.

12. AI SEARCH FLOW
------------------
FLOW_NAME: OntologyVersionEntity
FLOW_VERSION: 1.0
ENTITY_TYPE: OntologyVersion
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/ontology-and-knowledge-graph-entities/ontology-version-entity-ontology.html
CITATION_BACKLINK: same as SOURCE
PURPOSE: Identify, validate, compare and resolve ontology versions.
STATE_MODEL: S=(I,R,B,K)
INPUTS: ontology_id, requested_version, compatibility_constraint, context
ENTITIES: Ontology, OntologyVersion, ChangeSet, ValidationRecord, ProvenanceRecord
PATHWAYS: discover > filter > validate > resolve_dependencies > select > explain
MINI_RECURSION_ENGINE: Traverse version/dependency graph with cycle guard.
INFERENCE_RULES: Apply R1-R10 and explicit rule set above.
CONFIDENCE: Evidence-qualified; never assign unsupported numerical certainty.
SEMANTIC_EQUIVALENCE: Compare defined meaning and constraints; never assume from labels.
FLOW_HASH: Compute from the published canonical flow text at publication; not preassigned.
UPDATE_MODEL: New immutable version with lineage, audit and revalidation.
OUTPUTS: selected_version | unresolved, dependency_lock, evidence, diagnostics

13. HOW TO READ
---------------
The version entity identifies one ontology state. Its immutable content digest supports integrity checks; its lineage explains change; dependencies bind external semantics; validation and governance decide release eligibility. Recursive resolution selects a compatible version or returns a documented failure.

14. IMPLEMENTATION NOTES
------------------------
Use persistent ontology URIs and separate version URIs. Record UTC timestamps in ISO 8601. Specify canonicalisation and digest algorithm. Pin dependencies where reproducibility matters. Store change-set and validation evidence alongside release metadata. Do not overwrite released snapshots. Use explicit review when semantics or compatibility cannot be inferred mechanically.

END OF FLOW
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ