Skip to main content

AI Ontology 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
AI ONTOLOGY ENTITY ONTOLOGY — FLOW ALGEBRA
Semantic Library | Ontology and Knowledge-Graph Entities
Version: 1.0 | 05 November 2026 | Language: en-GB
Authors: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/ontology-and-knowledge-graph-entities/ai-ontology-entity-ontology.html
Licence: Refer to the current Kireth Research Open Research Licence; citation required.
STATUS: Original interpretative formalisation. The webpage's embedded downloadable specification was not accessible in the text extraction; this document is not a verbatim reproduction.

1. PURPOSE
Represent an AI ontology as a versioned, governed formal semantic structure that declares classes, individuals, properties, relations, axioms, constraints and provenance, and supports validation, inference and controlled updates.

2. ENTITY AND STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: input ontology artefacts, assertions, queries and update proposals.
R_t: typing, subclass, property, inference and validation rules.
B_t: scope, access, consistency, version, resource and confidence boundaries.
K_t: accepted knowledge, provenance, schema, version history and inference state.
Ontology O = (C, P, A, X, D, V, M)
C: named classes and concepts.
P: properties and relationships, with domain/range declarations.
A: ground assertions about entities and links.
X: axioms and inference rules.
D: definitions and constraints.
V: ontology identifier and version.
M: metadata, source references and provenance.

3. FORMAL FLOW ALGEBRA
E_t = expand(I_t, R_t)
V_t = {x in E_t | valid(x, B_t) AND supported(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, K_t)
K_{t+1} = commit(K_t, x*_t) only if validation and authorisation pass.
If V_t is empty, emit a typed no-result or unresolved state, not an invented assertion.
P denotes a ranking/confidence function, not a proof of truth; logical entailment is checked separately.

4. ONTOLOGY OPERATIONS
DECLARE_CLASS(c): c is a named ontology class.
DECLARE_PROPERTY(p, domain, range): establishes an admissible typed relation.
ASSERT(a): inserts a sourced assertion when authorised and valid.
SUBCLASS(c1,c2): declares class inclusion.
ENTAIL(K,X): returns assertions logically supported under the selected entailment regime.
VALIDATE(K,D,B): returns pass, fail or unresolved, with diagnostics.
RETRACT(a): removes or supersedes an assertion under an authorised versioned update.
ALIGN(O1,O2): proposes mappings with evidence, ambiguity and provenance retained.

5. INFERENCE RULES
R1: instanceOf(x,C1) AND subClassOf(C1,C2) => instanceOf(x,C2).
R2: relation(x,p,y) AND domain(p,C) => instanceOf(x,C), under the selected entailment regime.
R3: relation(x,p,y) AND range(p,D) => instanceOf(y,D), under the selected entailment regime.
R4: equivalentClass(C1,C2) => mutual class inclusion only if equivalence is accepted and scoped.
R5: contradictory assertions => flag a consistency issue; do not silently resolve.
R6: missing evidence => unresolved; absence is not automatically negation under open-world semantics.
R7: schema or assertion modification => new version plus traceable provenance.

6. TRI-MAPPING
Semantic layer: concept identity, intended meaning, equivalence and scope.
Structural layer: classes, properties, axioms, assertions and graph edges.
Execution layer: parsing, reasoning, validation, ranking, versioning and audit.
Mapping: semantic intention -> formal graph declaration -> validated computational operation.
Reverse mapping: execution result -> graph justification -> human-readable semantic explanation.

7. RECURSIVE RESOLUTION ENGINE
At step t:
  1. Ingest assertions, schema changes or a query.
  2. Resolve identifiers and ontology version.
  3. Expand candidate inferences under R_t.
  4. Enforce B_t and validate against D.
  5. Deduplicate entailed statements; detect conflicts and cycles.
  6. Rank admissible candidates where ranking is needed.
  7. Commit authorised changes, preserving provenance.
  8. Recurse only while a new valid state is produced and resource limits permit.
Stop on fixed point, exhausted candidates, failure, cancellation or boundary breach.

8. TEXT FLOW DIAGRAM
[Input/query/update]
        |
[Resolve ontology + version]
        |
[Class/property/axiom expansion]
        |
[Type + constraint + provenance checks]
        |
    {Valid?}
     /     \
   yes      no
    |        |
[Entail/rank] [Reject or unresolved + diagnostics]
    |
[Authorise and commit if state-changing]
    |
[Record explanation + audit + next state]
    |
[Fixed point or bounded recursion]

9. RELATIONSHIP MAPPING TABLE
Ontology -> contains -> Class / Property / Axiom / Assertion
Class -> subClassOf -> Class
Entity -> instanceOf -> Class
Property -> hasDomain -> Class
Property -> hasRange -> Class
Assertion -> supportedBy -> Evidence / Source
Axiom -> constrains -> Assertion / Inference
Ontology -> versionOf -> Ontology family
Ontology -> alignedWith -> External ontology (qualified mapping)
Inference -> derivedFrom -> Axiom + Premises
Validation result -> evaluates -> Ontology state

10. CONDITIONAL EXECUTION GUARANTEE
For a finite input graph, terminating rule set, deterministic validation, bounded recursion, and authorised updates, the engine produces either a validated result or a structured unresolved/failure record. This is a conditional process property, not a guarantee that all assertions are correct, complete, consistent or computationally decidable. Arbitrary rule systems may not terminate; unsupported inferences must never be represented as verified facts.

11. AI SEARCH FLOW
FLOW_NAME: AI_Ontology_Entity_Flow
FLOW_VERSION: 1.0
ENTITY_TYPE: AI Ontology Entity
SOURCE_URL: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/ontology-and-knowledge-graph-entities/ai-ontology-entity-ontology.html
PURPOSE: Discover, validate, interpret and traverse ontology entities and their graph relations.
INPUTS: ontology identifier, query, candidate assertions, schema, constraints, provenance.
STATE_MODEL: S=(I,R,B,K)
PATHWAYS: identify -> expand -> validate -> infer -> explain -> audit.
SEMANTIC_EQUIVALENCE: require scoped, evidenced equivalence; similarity alone is insufficient.
CONFIDENCE: retain provenance, logical status and ranking score as separate fields.
UPDATE_MODEL: immutable version history with authorised change records.
OUTPUTS: validated graph facts, entailments, provenance, diagnostics, version metadata.

12. IMPLEMENTATION NOTES
Use stable IRIs for graph identifiers, preserve namespaces, and declare the entailment regime explicitly (for example RDFS or an OWL profile). Separate closed-world validation such as SHACL from open-world inference. Store inferred and asserted triples distinctly where possible. Include auditability, permissions and source attribution in every state-changing flow.

13. CITATION
Mark Anthony Higgins and Sky — Recursive AI, "AI Ontology Entity Ontology", Kireth Research, source URL above. This Flow Algebra text is an original companion interpretation dated 05 November 2026.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ