Skip to main content

Knowledge Base Ontology

Computational Knowledge Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 11 November 2026
Audio Overview
KIRETH RESEARCH — SEMANTIC LIBRARY
KNOWLEDGE BASE ONTOLOGY — FLOW ALGEBRA v1.0
Category: Computational Entities > Computational Knowledge Entities
Authors: Mark Anthony Higgins — Sky Recursive AI
Date: 11 November 2026
Source: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/computational-knowledge-entities/knowledge-base-ontology-3.html
Status: Constructed topic-level ontology mapping; not a verified transcription of the webpage.

1. PURPOSE
Represent a computational knowledge base (KB) as a governed collection of assertions, entities, relations, schemas, evidence and inference operations. Distinguish asserted knowledge from inferred conclusions and preserve provenance, uncertainty and temporal validity.

2. HST / FLOW ALGEBRA STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: input query, asserted facts, observations and pending updates.
R_t: ontology relations, retrieval rules, inference rules and dependency links.
B_t: schema, permissions, trust thresholds, resource limits and validity constraints.
K_t: versioned knowledge state, provenance, indexes and confidence annotations.
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x, B_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, observation_(t+1))
Interpretation: the argmax is a candidate-selection abstraction, not a guarantee that inferred claims are true. Deterministic rule engines may use priority ordering rather than probabilities.

3. ENTITY MODEL
KnowledgeBase: id, version, schema_id, scope, owner, policy, updated_at.
KnowledgeEntity: id, type, canonical_label, aliases, attributes.
Assertion: subject, predicate, object, assertion_id, source_id, asserted_at, valid_interval, confidence, status.
OntologySchema: classes, properties, domains, ranges, constraints, mappings.
EvidenceSource: source_id, origin, licence, retrieval_time, reliability_metadata.
InferenceRule: rule_id, antecedents, consequent, applicability, priority.
DerivedClaim: conclusion, supporting_assertions, derivation_trace, rule_version.
KnowledgeQuery: pattern, filters, requester, time_context, result_limit.
KnowledgeRevision: change_set, reason, author, timestamp, previous_version.

4. RELATIONSHIP GRAPH
KnowledgeBase --contains--> Assertion
Assertion --references--> KnowledgeEntity
Assertion --supported_by--> EvidenceSource
Assertion --conforms_to--> OntologySchema
InferenceRule --consumes--> Assertion
InferenceRule --produces--> DerivedClaim
DerivedClaim --depends_on--> Assertion
KnowledgeQuery --retrieves--> Assertion / DerivedClaim
KnowledgeRevision --updates--> KnowledgeBase

5. CORE FLOW PATHWAYS
FLOW KB-01 — INGEST
Input source -> parse -> normalise identifiers -> check schema -> check permissions -> attach provenance -> stage assertions -> commit new version.
Reject malformed or unauthorised claims; quarantine disputed claims rather than silently overwriting.

FLOW KB-02 — RETRIEVE
Query -> authenticate -> resolve entities and aliases -> select indexes -> apply graph patterns -> filter by temporal validity and access rights -> return cited matches.

FLOW KB-03 — INFER
Known assertions -> select applicable rules -> instantiate variables -> test antecedents -> check boundaries -> derive candidate claim -> record justification -> expose as inferred, not asserted.

FLOW KB-04 — RECONCILE
Incoming assertion -> detect identity overlap -> compare provenance and validity -> identify conflict -> retain alternatives or apply explicit resolution policy -> version outcome.

FLOW KB-05 — REVISE
Retraction or changed evidence -> find dependent claims -> invalidate affected derivations -> recompute eligible conclusions -> publish revision log.

FLOW KB-06 — EXPORT
Select authorised subset -> preserve stable identifiers, provenance, schema version and licences -> serialise -> validate -> publish.

6. INFERENCE RULES
R1: IF an assertion lacks a resolvable source AND source_required=true, THEN quarantine it.
R2: IF two assertions conflict in the same time scope, THEN flag conflict; do not assume the newest is correct.
R3: IF all antecedents of a valid rule are satisfied, THEN derive a claim with an explicit justification trace.
R4: IF any supporting assertion is retracted, THEN mark dependent derived claims for reevaluation.
R5: IF requester lacks permission for a claim, THEN omit it from results and inference context where policy requires.
R6: IF a query requests an expired fact, THEN either return historical context explicitly or exclude it according to query policy.
R7: IF entity aliases resolve ambiguously, THEN preserve multiple candidates until disambiguated.

7. BOUNDED RECURSION ENGINE
function resolve(query, KB, max_depth, max_results):
    frontier = seed_matches(query, KB)
    visited = set()
    output = []
    depth = 0
    while frontier and depth < max_depth and len(output) < max_results:
        next_frontier = []
        for candidate in frontier:
            key = (candidate.claim_id, candidate.rule_id, KB.version)
            if key in visited: continue
            visited.add(key)
            if not schema_valid(candidate): continue
            if not authorised(candidate, query.requester): continue
            if not temporally_valid(candidate, query.time_context): continue
            output.append(candidate.with_provenance())
            next_frontier.extend(apply_bounded_rules(candidate, KB))
        frontier = next_frontier
        depth += 1
    return output, {"truncated": bool(frontier), "depth": depth}
Termination requires finite limits and finite work per expansion. A truncated result is not a complete closure.

8. SEMANTIC EQUIVALENCE
Two labels may denote one entity only when supported by an identity policy and evidence. Equivalent schema mappings require compatible meaning, scope and constraints; string similarity alone is insufficient. Distinguish sameAs from relatedTo and broaderThan.

9. WORKED INFERENCE EXAMPLE
Asserted: (Server-A, hosted_in, Region-1) [source S1]
Asserted: (Region-1, located_in, Country-X) [source S2]
Rule: hosted_in(x,r) AND located_in(r,c) => indirectly_located_in(x,c)
Derived: (Server-A, indirectly_located_in, Country-X)
Provenance: rule + S1 + S2; derived claim is not a direct observation. If S2 is retracted, recompute the conclusion.

10. OPERATIONAL BOUNDARIES AND GUARANTEES
- A KB can be internally consistent yet factually wrong; verification depends on evidence quality.
- Open-world semantics do not equate absence of a fact with falsity.
- Recursive inference can grow rapidly; cap depth, breadth, time and result count.
- Authentication, authorisation and redaction apply to both stored and inferred data.
- Versioning and provenance support auditability, not automatic correctness.
- Execution guarantees are conditional on specified schemas, rules, inputs and finite resource bounds.

11. CITATION AND LICENCE
Citation: Higgins, Mark Anthony; Sky Recursive AI. "Knowledge Base Ontology — Flow Algebra v1.0". Kireth Research Semantic Library, 2026.
Source page: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/computational-knowledge-entities/knowledge-base-ontology-3.html
Consult the source site's Open Research Licence for reuse terms; retain citation and provenance.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ