Skip to main content

Explanation Graph Ontology

Explainability Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 03 November 2026
Audio Overview
SEMANTIC LIBRARY — EXPLANATION GRAPH ONTOLOGY
FLOW ALGEBRA FORMALISATION v1.0
Date: 03 November 2026
Authors: Mark Anthony Higgins; Sky — Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/explainability-entities/explanation-graph-ontology.html
Status: Extended independent formalisation. The accessible page identifies the ontology and an AI interpretation note, but does not expose the full embedded specification. Rules below are proposed, not a transcription of hidden source material.

01 PURPOSE
Represent an explanation as a typed, directed, provenance-aware graph linking claims, evidence, inference steps, assumptions, decisions, uncertainty and counterexamples. Preserve auditable dependencies without asserting that a generated explanation reveals a model's private internal reasoning.

02 ENTITY DEFINITION
ExplanationGraph G=(V,E,T,P,W) where V is a finite set of typed nodes, E a set of directed labelled edges, T the type system, P provenance metadata, and W optional edge weights. Node types: Claim, Evidence, Inference, Assumption, Observation, ModelOutput, Counterexample, Qualification, Conclusion. Edge types: supports, contradicts, derives_from, depends_on, qualifies, cites, contextualises.

03 STATE MODEL
S_t=(I_t,R_t,B_t,K_t)
I_t: incoming claims, evidence, questions and graph edits.
R_t: typing, validation, provenance, dependency and inference rules.
B_t: scope, authorisation, temporal, privacy, safety and computational boundaries.
K_t: accepted graph, unresolved claims, confidence metadata, version and audit history.

04 EXPANSION
E_t=expand(I_t,R_t): generate candidate nodes and edges consistent with declared types. Expansion creates hypotheses, not established facts.

05 VALIDITY FILTER
V_t={x in E_t | type_valid(x) AND scope_valid(x,B_t) AND provenance_valid(x) AND no_prohibited_disclosure(x)}.
Unsupported claims remain flagged rather than silently promoted to established evidence.

06 SELECTION
x*_t=argmax_{x in V_t} P(x | I_t,R_t,B_t,K_t), where P is a declared ranking model or score, not necessarily a calibrated probability. If V_t is empty, abstain and request evidence.

07 UPDATE
K_{t+1}=update(K_t,x*_t,provenance,validation_result).
S_{t+1}=(I_{t+1},R_t,B_t,K_{t+1}). Preserve earlier versions and contradictory evidence.

08 RECURSIVE FLOW
Observe -> Parse -> Type -> Link -> Validate -> Score -> Explain -> Audit -> Update -> Observe.
Recursion stops on stable graph, exhausted budget, explicit termination, or unsafe/unresolved state.

09 GRAPH INVARIANTS
Every node has a stable identifier and type. Every edge has a source, target and relation type. Evidence must have a source or explicit 'unverified' status. Cycles in dependency/derivation edges must be detected and marked; arbitrary semantic cycles may be allowed. Version identifiers are immutable.

10 EVIDENCE GROUNDING
For each claim c, support(c)={e | (e,supports,c) in E}. Distinguish direct observation, cited external evidence, and inferred propositions. Missing support yields unsupported(c), not false(c).

11 DEPENDENCY AND REACHABILITY
Ancestors(c)=all nodes reachable by following derives_from/depends_on backwards. Explanation completeness is assessed relative to a declared question and boundary, not as universal completeness.

12 INFERENCE RULES
R1: typed evidence plus an admissible inference rule may produce a candidate claim.
R2: a contradiction edge triggers review; it does not automatically negate either endpoint.
R3: an assumption-dependent conclusion inherits an assumption warning.
R4: provenance changes invalidate dependent verification until rechecked.
R5: unverified source claims cannot be presented as independently established facts.

13 UNCERTAINTY
Attach confidence estimates only with documented method, reference population and calibration status. Correlated evidence cannot be multiplied as independent probabilities. Use intervals or qualitative uncertainty where numeric estimates lack support.

14 CONTRADICTION HANDLING
On contradicts(a,b), identify scope, time, definitions and source reliability. Record competing hypotheses; request clarification or new evidence if the conflict cannot be resolved.

15 CAUSAL LIMIT
A support or dependency edge does not prove causation. Causal assertions require explicit assumptions, intervention data or justified causal models.

16 TRI-MAPPING
Semantic: concepts, claims, relations and meanings.
Formal: typed nodes, directed edges, inference predicates and constraints.
Operational: ingest, construct, validate, query, explain, revise.

17 MAPPING TABLE
Claim -> ClaimNode -> conclusion under assessment
Evidence -> EvidenceNode -> supporting source
Inference -> InferenceNode -> admissible transformation
Assumption -> AssumptionNode -> conditional dependency
Contradiction -> contradicts edge -> competing evidence
Provenance -> source record -> audit trail
Boundary -> B_t -> scope and safety checks

18 QUERY FLOW
Input question q -> identify target claim -> traverse relevant supporting and contradicting paths -> rank evidence -> assemble concise explanation -> attach caveats and provenance -> return answer or abstention.

19 EXPLANATION FAITHFULNESS
Assess whether the graph accurately reflects the recorded evidence and declared inference procedure. Do not claim access to hidden model reasoning or internal neural activation chains from an externally constructed graph.

20 COUNTERFACTUAL BRANCHES
Represent 'what-if' premises as hypothetical nodes in separately tagged branches. Never merge hypothetical outcomes into factual evidence without validation.

21 TEMPORAL VERSIONING
Each graph revision records timestamp, author/process, changed nodes, changed edges, validation results and source revisions. Time-sensitive evidence receives an expiry or revalidation condition.

22 SAFETY BOUNDARIES
Reject unauthorised personal data disclosure, fabricated citations, unsupported certainty, unsafe operational instructions and unreviewed high-stakes automated decisions. Escalate uncertain high-impact conclusions to human review.

23 EXECUTION CONDITIONS
Preconditions: typed input, declared schema, valid scope and available provenance metadata.
Postconditions: graph schema valid, claims labelled by evidence status, contradictions recorded, provenance retained, audit report emitted.
Failure conditions: malformed input, inaccessible evidence, rule conflict, exhausted resource budget or boundary violation.

24 EXECUTION GUARANTEE (CONDITIONAL)
If the validation algorithm terminates and all preconditions hold, the output satisfies the defined schema and checks. This does not guarantee truth, completeness, causal identification, safety in deployment, or correct model reasoning.

25 GRAPH DIAGRAM
[Question] -> [Target Claim] <-supports- [Evidence]
                        ^
                 derives_from
                        |
                  [Inference Step] <-depends_on- [Assumption]
                        |
                   qualifies
                        v
                  [Uncertainty]
[Counterexample] -contradicts-> [Target Claim]
[Evidence] -cites-> [Source/Provenance]

26 AI SEARCH FLOW
FLOW_ID: ExplanationGraphOntology
VERSION: 1.0
LANGUAGE: en-GB
AUTHORS: Mark Anthony Higgins; Sky — Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/explainability-entities/explanation-graph-ontology.html
PURPOSE: Construct, validate and retrieve evidence-grounded explanation graphs.
ENTITIES: Claim; Evidence; Inference; Assumption; Conclusion; Counterexample; Source; Graph.
PATHWAYS: ingest > type > connect > validate > rank > explain > audit.
MINI_RECURSION_ENGINE: S_t -> expand -> filter -> select -> update -> S_(t+1).
INFERENCE_RULES: R1-R5 in section 12.
CONFIDENCE: method-dependent; never assume calibration.
SEMANTIC_EQUIVALENCE: preserve meaning, source scope and qualifiers.
FLOW_HASH: compute SHA-256 on publication; not supplied as a fictitious value.
UPDATE_MODEL: append-only provenance and versioned graph revisions.
CITATION_BACKLINK: source URL above.

27 EXAMPLE
Input: 'Why was item A selected?'
Claim: A satisfies required criterion C.
Evidence: verified measurement M supports C.
Inference: selection rule maps C to eligibility.
Assumption: measurement M remains current.
Qualification: competing item B has incomplete measurements.
Output: A selected under rule C, conditional on M; comparison with B remains unresolved.

28 VALIDATION TESTS
T1: missing provenance -> flag evidence as unverified.
T2: cyclic derivation -> flag and block unqualified proof claim.
T3: contradicting observations -> retain both and request resolution.
T4: unsupported causal edge -> flag as unjustified.
T5: expired source -> revalidation required.
T6: ambiguous question -> clarify target and scope.

29 HOW TO READ
S_t is the current reasoning state; expand generates candidates; V_t removes invalid candidates; argmax selects a ranked admissible candidate; update records a versioned result. A graph explains only what its nodes, evidence and explicit rules warrant.

30 LICENCE AND ATTRIBUTION
For publication, apply the current Kireth Research Open Research Licence and its citation requirements. This file is a proposed companion formalisation, not an assertion that unpublished source text has been retrieved.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ