Skip to main content

Semantic Reasoning Entity Ontology

Semantic AI Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 05 November 2026
Audio Overview
SEMANTIC REASONING ENTITY ONTOLOGY — FLOW ALGEBRA
Semantic Library | Semantic AI Entities | Version 1.0 | 05 November 2026
Authors: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/semantic-ai-entities/semantic-reasoning-entity-ontology.html
Status: Original interpretative formalisation; the page's embedded downloadable specification was not exposed in the accessible page text.
Licence: Refer to the source site's Open Research Licence; retain attribution and source citation.

1. PURPOSE
Represent semantic reasoning as a bounded, evidence-linked sequence of transformations from concepts, relations, and rules to justified conclusions. Preserve provenance, uncertainty, contradiction handling, and human oversight.

2. ENTITY DEFINITION
SemanticReasoningEntity = (id, goal, input_graph, context, rule_set, constraints, inference_steps, conclusions, evidence, confidence, status, provenance).
Related entities: SemanticEntity, SemanticConcept, SemanticRelationship, SemanticRule, SemanticConstraint, SemanticContext, SemanticMapping, SemanticEquivalence, SemanticSearchResult, ExplanationEvidence, InferenceStep.
Relationships: reasons_over, applies_rule, uses_context, derives_conclusion, supported_by, contradicts, constrained_by, maps_to, revises.

3. FORMAL STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t = active assertions, query, and candidate conclusions
R_t = semantic relations, applicable inference rules and graph edges
B_t = boundaries: ontology scope, access policy, resource budget, confidence threshold and recursion limit
K_t = background knowledge, evidence provenance, rule versions and uncertainty metadata
All symbols denote typed objects; unverified assertions remain hypotheses, not established facts.

4. FLOW ALGEBRA
E_t = expand(I_t, R_t, K_t)                    [derive candidate assertions]
V_t = {x in E_t | valid(x, B_t) and supported(x, K_t)}
Q_t(x) = w1*evidence(x) + w2*consistency(x) + w3*relevance(x) - w4*risk(x)
x*_t = argmax_{x in V_t} Q_t(x), when V_t is nonempty
I_(t+1) = update(I_t, x*_t, provenance(x*_t))
K_(t+1) = K_t union {trace(x*_t), evidence(x*_t), uncertainty(x*_t)}
If V_t is empty, return ABSTAIN or REQUEST_EVIDENCE, not an invented conclusion.
Weights and confidence scores require task-specific calibration; scores are not probabilities by default.

5. INFERENCE RULES
R1: IF A subClassOf B AND x instanceOf A THEN x instanceOf B, subject to graph semantics.
R2: IF relation r is explicitly transitive AND r(a,b) AND r(b,c) THEN r(a,c).
R3: IF sameMeaning(a,b,context) is verified THEN transfer only context-invariant predicates.
R4: IF evidence contradicts a conclusion THEN mark DISPUTED and re-evaluate supporting steps.
R5: IF premise provenance is missing THEN flag UNSUPPORTED and exclude from verified outputs.
R6: IF a boundary or permission is violated THEN block the derivation and record the reason.
R7: IF confidence falls below the configured threshold THEN abstain or request review.
R8: IF a conclusion is superseded THEN retain its historical trace and link its replacement.

6. TRI-MAPPING
Ontology layer: entities, concepts, relations, constraints, inference semantics.
Algebra layer: S_t -> E_t -> V_t -> x*_t -> S_(t+1).
Execution layer: parse -> normalise -> retrieve -> infer -> validate -> explain -> publish or abstain.
Mapping integrity condition: each executed inference must reference a typed ontology relation and a declared algebraic transition.

7. RECURSIVE RESOLUTION ENGINE
INPUT: query q, semantic graph G, rules R, boundaries B, knowledge K.
INITIALISE: frontier={q}; visited={}; trace=[]; depth=0.
WHILE frontier not empty AND depth < B.max_depth AND budget remains:
  Select an unvisited assertion or subgoal.
  Retrieve applicable relations and admissible rules.
  Generate candidate deductions with recorded premise IDs.
  Validate types, contexts, permissions, provenance and contradictions.
  Add accepted deductions to trace and frontier; quarantine disputed candidates.
  Stop when goal is resolved, a fixed point is reached or limits are exhausted.
OUTPUT: verified conclusions, candidate conclusions, abstentions, evidence links, trace, stop_reason.
Termination is conditional on finite budgets, depth or a detected fixed point.

8. FLOW DIAGRAM
[Semantic Query]
      |
[Context + Knowledge Graph]
      |
[Rule Matching and Expansion]
      |
[Boundary + Evidence Validation] -- failure --> [Abstain / Review]
      |
[Contradiction and Confidence Check] -- disputed --> [Quarantine / Reassess]
      |
[Rank Supported Conclusions]
      |
[Update State + Provenance]
      |
[Explain / Return Result]
      |
[Optional Bounded Recursion]

9. RELATIONSHIP MAPPING TABLE
Source entity              Relation             Target entity
SemanticReasoningEntity    reasons_over         SemanticConcept
SemanticReasoningEntity    applies_rule         SemanticRule
SemanticReasoningEntity    constrained_by       SemanticConstraint
SemanticReasoningEntity    uses_context         SemanticContext
InferenceStep              supported_by         ExplanationEvidence
InferenceStep              derives_conclusion   SemanticEntity
SemanticMapping            maps_to              SemanticRepresentation
SemanticEquivalence        contextual_equiv     SemanticConcept
SemanticSearchResult       supplies_evidence    SemanticReasoningEntity

10. EXECUTION GUARANTEE — CONDITIONAL
For a finite graph and bounded inference budget, the procedure terminates with a result or explicit stop reason. Soundness depends on valid premises, correct rule implementations and faithful ontology mappings; completeness is not guaranteed. Never interpret the flow as proof of factual truth without validated evidence.

11. AI SEARCH FLOW
AUTHORS: Mark Anthony Higgins; Sky — Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/semantic-ai-entities/semantic-reasoning-entity-ontology.html
CITATION_BACKLINK: same as SOURCE
PURPOSE: Retrieve, interpret and explain semantic reasoning entities with provenance.
STATE_MODEL: S=(I,R,B,K)
ENTITIES: SemanticReasoningEntity; SemanticConcept; SemanticRule; SemanticContext; InferenceStep; Evidence; Conclusion.
PATHWAYS: Query -> Entity Match -> Rule Expansion -> Validation -> Conclusion -> Explanation.
MINI_RECURSION_ENGINE: bounded expansion with visited-set and fixed-point check.
INFERENCE_RULES: R1-R8 above.
CONFIDENCE: calibrated when possible; otherwise ordinal/uncalibrated and clearly labelled.
SEMANTIC_EQUIVALENCE: context-dependent; do not equate mere similarity with identity.
FLOW_HASH: generate from canonical UTF-8 bytes when published; not asserted here.
UPDATE_MODEL: version rule changes, preserve previous traces and refresh affected deductions.

12. HOW TO READ
I = current inference state; R = relations/rules; B = boundaries; K = knowledge/provenance.
expand generates candidates; valid filters candidates; argmax ranks admissible conclusions; update records the chosen state transition.
This is a conceptual executable specification, not a claim that the website's hidden code was copied.

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