Skip to main content

Knowledge Repository Ontology

Knowledge Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 02 November 2026
Audio Overview
KNOWLEDGE REPOSITORY ONTOLOGY — FLOW ALGEBRA
Semantic Library | AI Core | Entity Graph | Knowledge Entities
Version: 1.0 | Generated: 02 November 2026
Authors / attribution: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/knowledge-entities/knowledge-repository-ontology.html
Status: Companion formalisation. The public page identifies the ontology but does not expose its complete underlying specification. The definitions below are an original, proposed formal model, not a verbatim transcription.

01. PURPOSE
Represent a knowledge repository as a governed, versioned collection of knowledge objects, provenance records, relationships, indexes and retrieval policies. Distinguish repository storage from the epistemic truth of any stored assertion.

02. ENTITY DEFINITION
KR = (ID, O, E, X, M, P, V, A, G)
ID: stable repository identifier
O: stored knowledge objects
E: typed relations between objects
X: indexes and retrieval structures
M: descriptive metadata
P: provenance and source references
V: version history
A: access and validation policies
G: governance and lifecycle rules

03. KNOWLEDGE OBJECT
k = (id, type, content, source, timestamp, version, status, confidence)
type ∈ {fact, claim, rule, constraint, record, document, knowledge_unit, other}
status ∈ {draft, verified, disputed, superseded, retracted}
confidence ∈ [0,1] is an assessment, never proof of truth.

04. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t = input and update requests
R_t = repository rules and typed relations
B_t = permissions, validity boundaries and scope
K_t = current repository knowledge state

05. FORMAL FLOW
E_t = expand(I_t, R_t)
V_t = {x ∈ E_t | satisfies(x, B_t) ∧ provenance_check(x)}
x* = argmax_{x ∈ V_t} P(x | I_t, R_t, B_t, K_t)
K_(t+1) = update(K_t, x*, evidence, version_policy)
If V_t = ∅, return NO_ADMISSIBLE_RESULT; do not fabricate an entry.
The argmax expression is a selection model, not an empirically calibrated probability guarantee.

06. IMPLEMENTS
ingest(source) -> candidate objects
normalise(candidate) -> canonical representation
validate(candidate, schema, provenance) -> status
link(candidate, existing objects) -> typed relations
version(candidate) -> immutable revision reference
index(candidate) -> searchable entries
retrieve(query, policy) -> admissible results
audit(operation) -> traceable event

07. REPOSITORY INVARIANTS
Every object has a stable ID and explicit type.
Every published revision is traceable to a source or declared derivation.
Updates preserve revision history; deletion follows documented retention rules.
Contradictory claims may coexist with explicit dispute relationships.
Retrieval respects access controls and does not silently promote claims to facts.

08. RELATIONSHIP GRAPH
KnowledgeRepository contains KnowledgeDocument
KnowledgeDocument contains KnowledgeRecord
KnowledgeRecord references KnowledgeItem
KnowledgeItem expresses KnowledgeClaim
KnowledgeClaim supportedBy KnowledgeSource
KnowledgeClaim constrainedBy KnowledgeConstraint
KnowledgeRule derives KnowledgeClaim
KnowledgeObject supersedes KnowledgeObject
KnowledgeObject contradicts KnowledgeObject

09. INFERENCE RULES
IF source is absent THEN mark provenance_incomplete.
IF a revision supersedes an earlier revision THEN retain revision link.
IF evidence conflicts THEN mark disputed; do not discard conflict.
IF validation passes AND publication policy permits THEN publish revision.
IF permissions deny access THEN exclude object from retrieval.
IF a source is retracted THEN flag dependent claims for review.

10. RECURSIVE ENGINE
RECURSE(query, depth, visited):
  IF depth <= 0 THEN return boundary_reached
  candidates := retrieve_admissible(query)
  FOR each candidate NOT IN visited:
    inspect evidence and typed relationships
    recurse on unresolved dependencies with depth - 1
  return results with provenance paths and unresolved flags
Cycle detection, finite depth and resource budgets are mandatory.

11. TRI-MAPPING
Entity: repository object and identity
Relationship: contains / references / supports / contradicts / supersedes
Process: ingest -> validate -> version -> index -> retrieve -> revise

12. MAPPING TABLE
Input source         -> Provenance entity     -> ingestion
Knowledge document   -> Document entity       -> containment
Knowledge claim      -> Claim entity          -> evidence checking
Knowledge rule       -> Rule entity           -> inference
Knowledge constraint -> Constraint entity     -> boundary filtering
Repository revision  -> Version entity        -> audit and rollback

13. QUERY AND RETRIEVAL
Q = (intent, terms, filters, permissions, time_scope)
Results(Q) = rank({k ∈ O | match(k,Q) ∧ permitted(k,Q)})
Return ID, type, source, version, status and evidence path for each result.

14. PROVENANCE
Prov(k) = (origin, author_if_known, publication_date_if_known, ingestion_time, transformations, citations)
Unknown provenance must be explicitly represented as unknown.

15. VALIDATION
Check schema integrity, unique identifiers, relation endpoints, citation resolution, version continuity, access rules and contradiction flags.
VALID(k) does not imply TRUE(k); validity is structural and procedural.

16. AI SEARCH FLOW
AUTHORS: Mark Anthony Higgins — Sky Recursive AI
SOURCE: URL above
CITATION_BACKLINK: URL above
PURPOSE: Repository-level semantic retrieval and evidence-traceable knowledge management
STATE_MODEL: S=(I,R,B,K)
ENTITIES: repository, document, record, item, claim, fact, rule, constraint, source, revision
PATHWAYS: ingest > normalise > validate > link > version > index > retrieve
MINI_RECURSION_ENGINE: bounded traversal of evidence and dependency edges
INFERENCE_RULES: Section 09
CONFIDENCE: evidence-dependent; no invented numeric confidence
SEMANTIC_EQUIVALENCE: require explicit contextual and type checks
FLOW_HASH: compute from canonical UTF-8 representation at deployment
UPDATE_MODEL: append revision, revalidate dependants, rebuild affected indexes

17. EXECUTION CONDITIONS
Execution is admissible only if inputs are well formed, authorisation is satisfied, provenance requirements are met and computational bounds are respected. No claim of universal correctness or guaranteed inference is made.

18. FAILURE STATES
MISSING_SOURCE, INVALID_SCHEMA, PERMISSION_DENIED, CONTRADICTORY_EVIDENCE, STALE_INDEX, CYCLE_LIMIT, VERSION_CONFLICT, NO_ADMISSIBLE_RESULT.

19. UPDATE MODEL
K_(t+1) = commit(K_t, delta) only when validation and policy checks pass.
Record the change set, previous version, source and timestamp. Re-index impacted nodes; preserve audit history.

20. HOW TO READ / DIAGRAM
Source -> Ingest -> Validate -> Version -> Repository Graph -> Index -> Query -> Evidence-linked Result
                           |                ^
                           +-> Review ------+
Treat the flow as a formal design proposal requiring implementation-specific schemas, tests and governance policies.

LICENCE NOTE
Refer to the source site's applicable Open Research Licence for reuse terms; this file does not independently assert licence permissions.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ