Skip to main content

Ontology Class 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 CLASS ENTITY ONTOLOGY — FLOW ALGEBRA
Version: 1.0 | Date: 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/ontology-class-entity-ontology.html
Licence: Refer to the applicable Kireth Research Open Research Licence; citation required.
Status: Original interpretative formalisation; not a verbatim extraction of embedded site specifications.

1. PURPOSE
Represent ontology classes as identifiable, constrained, extensible concepts whose membership, inheritance, relationships and validation can be reasoned about with explicit evidence and bounded recursion.

2. ENTITY AND STATE MODEL
Class C = (id, label, definition, parentClasses, properties, restrictions, provenance, version).
State S_t = (I_t, R, B, K_t).
I_t: active input assertions, class declarations and queries.
R: inference rules for subclass closure, membership and constraints.
B: boundaries including namespace, permitted ontology version, access and recursion limits.
K_t: known triples, class hierarchy, provenance and validation outcomes.
E_t = expand(I_t, R) subject to B.
V_t = {x in E_t | valid(x, B, K_t)}.
x*_t = argmax_{x in V_t} P(x | I_t, R, B, K_t), where P is a defined, calibrated ranking score if available.
I_(t+1) = update(I_t, x*_t, K_t) only after acceptance and provenance checks.
If V_t is empty, return no validated candidate; do not manufacture one.

3. ENTITY DEFINITIONS
OntologyClass: named or anonymous set-defining concept within an ontology.
ClassIdentifier: stable URI/IRI or scoped blank-node identifier.
ClassLabel: human-readable designation, optionally language-tagged.
ClassDefinition: textual or logical statement of intended membership.
SubclassRelation: directed class inclusion C1 subclassOf C2.
SuperclassRelation: inverse view of subclass relation.
ClassInstance: individual asserted or inferred to belong to a class.
ClassProperty: predicate associated with class instances, with declared domain/range where applicable.
ClassRestriction: logical condition such as existential, universal or cardinality restriction.
EquivalentClass: logically coextensive class definition, subject to declared semantics.
DisjointClass: class whose intersection with another is empty under the chosen logic.
ClassAxiom: formal statement about class structure or membership.
OntologyVersion: immutable reference to the set of axioms used in a run.
EvidenceRecord: source, derivation and confidence/validation metadata.

4. FORMAL FLOW OPERATORS
DECLARE(C): register class identifier, labels, definitions and provenance.
LINK(C1, subClassOf, C2): record a hierarchy edge.
CLOSE(H): calculate transitive subclass closure within B.
TYPE(a, C): assert or infer individual a's class membership.
CHECK(a, C): evaluate applicable class restrictions and consistency.
MAP(C, D): map class C to another ontology class D with relation type and evidence.
TRACE(q): return axioms and inference steps supporting answer q.
REVISE(K_t, delta): versioned update; preserve audit history.

5. INFERENCE RULES
R1 Subclass inheritance: if A subclassOf B and x type A, infer x type B.
R2 Transitivity: if A subclassOf B and B subclassOf C, infer A subclassOf C.
R3 Equivalence: if A equivalentClass B, apply the declared equivalence semantics in both directions.
R4 Disjointness: if A disjointWith B and x type A and x type B, flag inconsistency.
R5 Domain/range: infer typing only where the chosen ontology semantics permit it; do not treat domain/range declarations as ordinary data-validation rules.
R6 Restriction checking: assess constraints under the selected open-world or closed-world interpretation and report which was used.
R7 Provenance: every inferred triple retains the originating axiom identifiers and derivation chain.
R8 No-evidence rule: absent assertions are unknown under open-world semantics, not automatically false.

6. TRI-MAPPING
Structural map: class -> hierarchy node, subclass edges and axiom references.
Semantic map: class -> definition, synonyms, equivalences and contextual meaning.
Operational map: class -> type inference, consistency checking, query expansion and traceable output.
TriMap(C) = (Structural(C), Semantic(C), Operational(C)).
A cross-map is accepted only when its semantic relation and provenance are explicit.

7. RECURSIVE RESOLUTION ENGINE
Input: ontology snapshot O, query q, rule set R, boundaries B.
Step 1: parse q and identify candidate classes and namespaces.
Step 2: retrieve class axioms and direct relationships.
Step 3: expand superclass/subclass paths using a visited set.
Step 4: infer membership and equivalence only through applicable rules.
Step 5: validate consistency and boundary constraints.
Step 6: rank surviving candidates where a defined ranking policy exists.
Step 7: emit result, explanation trace and unresolved ambiguities.
Step 8: update state only if authorised; otherwise leave snapshot unchanged.
Stop on fixpoint, depth limit, time/resource limit or detected cycle.

8. FLOW DIAGRAM
[Ontology class query]
        |
        v
[Resolve identifiers and ontology version]
        |
        v
[Retrieve class axioms and relationships]
        |
        v
[Bounded hierarchy expansion]
        |
        v
[Infer membership / mappings]
        |
        v
[Consistency and boundary checks]
        |
        +---- no validated candidate ---> [Unknown / conflict report]
        |
        v
[Evidence-backed class result]
        |
        v
[Trace + optional authorised state update]

9. RELATIONSHIP MAPPING TABLE
Source entity         Relation                 Target entity
OntologyClass         subClassOf               OntologyClass
OntologyClass         equivalentClass          OntologyClass
OntologyClass         disjointWith             OntologyClass
Individual            rdf:type                 OntologyClass
OntologyClass         definedBy                ClassAxiom
OntologyClass         constrainedBy            ClassRestriction
ClassAxiom            belongsTo                OntologyVersion
InferenceResult       supportedBy              EvidenceRecord
ClassMapping          mapsSourceToTarget       OntologyClass

10. EXECUTION GUARANTEE — CONDITIONAL
Given a finite ontology snapshot, deterministic rule application, bounded traversal and a terminating consistency procedure, the engine terminates and produces either a traceable validated result or a declared unknown/conflict outcome. This is a conditional design property, not a universal guarantee of correctness, completeness or decidability for arbitrary ontology languages. In expressive logics, reasoner choice and computational limits affect completeness and termination.

11. AI SEARCH FLOW
FLOW_ID: OntologyClassEntityFlow_v1.0
ENTITY: OntologyClass
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/ontology-and-knowledge-graph-entities/ontology-class-entity-ontology.html
AUTHORS: Mark Anthony Higgins; Sky Recursive AI
PURPOSE: Traceable ontology-class retrieval, inference and validation.
INPUTS: query; ontology snapshot; namespaces; inference rules; boundaries.
PATHWAYS: resolve -> retrieve -> expand -> infer -> validate -> rank -> explain.
MINI_RECURSION_ENGINE: bounded subclass and equivalence traversal with visited-node detection.
INFERENCE_RULES: R1-R8.
CONFIDENCE: distinguish logical entailment, evidence quality and heuristic ranking; never conflate them.
SEMANTIC_EQUIVALENCE: explicit equivalence axioms or evidence-backed mappings, never lexical similarity alone.
OUTPUTS: class identifiers; labels; relationships; membership; trace; conflicts; version.
UPDATE_MODEL: provenance-preserving versioned changes only after authorisation.
FLOW_HASH: compute from canonical UTF-8 flow contents at publication; not precomputed here.
CITATION_BACKLINK: source URL above.

12. HOW TO READ
An ontology class groups individuals by meaning and formal axioms. The Flow Algebra expresses how a query becomes a bounded, traceable result. 'Subclass' is logical inclusion; 'equivalent class' is stronger than similar wording. Validation results depend on the chosen reasoning semantics. Unknown is not the same as false.

13. IMPLEMENTATION NOTES
Represent graph statements as RDF triples or a compatible typed graph. Record IRI, language-tagged labels, source, ontology version and reasoning profile. Support cycle-safe traversal, audit logs and explainable query results. For OWL/RDFS, use a conforming reasoner and document its supported entailment regime. Keep schema inference separate from optional closed-world data-quality checks.

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