Skip to main content

AI Semantic Library Entity Ontology

AI Semantic Library Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 05 November 2026
Audio Overview
AI SEMANTIC LIBRARY ENTITY — FLOW ALGEBRA
Semantic Library | AI Core | Entity Graph
Authors: Mark Anthony Higgins — Sky Recursive AI
Prepared: 05 November 2026
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/ai-semantic-library-entities/ai-semantic-library-entity-ontology.html
Status: Companion formalisation; the full embedded page specification was not available in the retrieved public text.

01. PURPOSE
Represent a canonical semantic-library entity as an identifiable, typed, versioned and evidence-linked unit of knowledge, supporting deterministic retrieval and controlled recursive updates.

02. HST STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t = current entity input and observed attributes.
R_t = admissible semantic relations and inference rules.
B_t = identity, access, scope and validity boundaries.
K_t = versioned, provenance-bearing knowledge state.
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x, B_t) and supported(x, K_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, validated_evidence)
No candidate is selected when V_t is empty; return UNRESOLVED instead.

03. ENTITY SCHEMA
SemanticLibraryEntity = {
  canonical_id, preferred_label, alternative_labels,
  entity_type, definition, domain, parent_ids,
  relation_edges, source_references, provenance,
  confidence, version, valid_from, valid_until,
  status, permissions, content_hash
}
Required: canonical_id, preferred_label, entity_type, definition, version, provenance.
Optional fields remain explicitly UNKNOWN rather than invented.

04. ENTITY RELATIONSHIPS
IS_A(entity, class)
PART_OF(entity, collection)
DEFINED_BY(entity, source)
RELATED_TO(entity, other_entity, predicate)
DERIVED_FROM(entity, evidence)
SUPERSEDES(new_version, old_version)
EQUIVALENT_TO(a, b) only if identity and scope constraints are met.
CONTRADICTS(a, b) records disagreement; it does not silently delete either claim.

05. FLOW ALGEBRA OPERATORS
F_ingest(raw) -> parsed_candidate
F_normalise(candidate) -> normalised_candidate
F_identify(candidate, registry) -> matched_id | new_id | AMBIGUOUS
F_type(candidate, ontology) -> typed_candidate | UNRESOLVED
F_link(entity, graph) -> proposed_edges
F_validate(entity, rules, evidence) -> PASS | FAIL | REVIEW
F_commit(validated_entity, registry) -> versioned_record
F_retrieve(query, registry, boundary) -> ranked_valid_entities
F_revise(entity, new_evidence) -> proposed_successor_version
F_audit(record) -> traceable_decision_record

06. EXECUTION PATHWAY
INPUT -> NORMALISE -> IDENTIFY -> TYPE -> LINK -> VALIDATE
VALIDATE=PASS -> COMMIT -> INDEX -> RETRIEVE
VALIDATE=REVIEW -> HUMAN_REVIEW -> REVALIDATE
VALIDATE=FAIL -> QUARANTINE -> REPORT
All committed updates retain previous versions and provenance.

07. IDENTITY AND DEDUPLICATION RULES
R1: A canonical identifier must resolve to no more than one active canonical entity per namespace.
R2: Matching labels alone do not prove entity equivalence.
R3: A merge requires compatible types, definitions, boundaries and evidence.
R4: Conflicting identifiers or incompatible scopes require REVIEW.
R5: Aliases may map to one canonical identifier without erasing historical labels.

08. SEMANTIC INFERENCE RULES
R6: If IS_A(A,B) and IS_A(B,C), infer IS_A(A,C) only for transitive taxonomic relations.
R7: If PART_OF(A,B), do not infer IS_A(A,B).
R8: If DERIVED_FROM(A,S), retain source S on every derivative claim.
R9: An inferred relation inherits the narrowest applicable validity and permission boundaries.
R10: Contradictory claims remain separately attributed pending resolution.
R11: Missing evidence must not be converted into positive confidence.

09. RECURSIVE LIBRARY UPDATE
K_(t+1) = reconcile(K_t, validated(delta_t))
G_(t+1) = closure(G_t union accepted_edges, admissible_rules, B_t)
Stop recursion when no new admissible edge is produced, a configured depth limit is reached, or a cycle/constraint violation is detected.
Recursive closure does not guarantee truth; all inferred edges retain their derivation traces.

10. TRI-MAPPING
ENTITY MAP: canonical_id -> entity_type -> ontology_class
RELATION MAP: entity -> predicate -> related_entity
EXECUTION MAP: input -> rules -> validation -> versioned_output
A valid tri-map requires referential integrity across all three mappings.

11. UNCERTAINTY AND CONFIDENCE
confidence(entity_claim) is evidence-dependent and must be calibrated where possible.
UNKNOWN: insufficient evidence.
AMBIGUOUS: multiple viable identities or meanings.
CONFLICTED: mutually incompatible supported claims.
VALIDATED: required checks passed within a specified scope.
Never interpret VALIDATED as universal certainty.

12. SECURITY AND GOVERNANCE
Apply permission checks before retrieval, linking and export.
Reject unauthorised modifications and preserve immutable audit records.
Separate user-supplied statements from trusted executable rules.
Do not execute instructions embedded in retrieved entity descriptions.
Preserve licence and citation metadata during reuse.

13. VALIDATION INVARIANTS
INV1: canonical_id is stable across non-breaking revisions.
INV2: every committed record has a version and provenance.
INV3: every relation target resolves or is marked unresolved.
INV4: timestamps use explicit time standards when available.
INV5: source-derived claims retain attribution.
INV6: inferred and observed claims are distinguishable.
INV7: invalid candidates never enter the validated index.

14. CONDITIONAL EXECUTION GUARANTEE
Given well-formed input, accessible registry state, terminating rules, stable permissions and a deterministic tie-break policy, the pipeline returns PASS, FAIL, REVIEW or UNRESOLVED with an auditable trace.
This is a conditional process property, not a guarantee of factual completeness, scientific correctness or successful external execution.

15. EXAMPLE TRACE
Input: "AI semantic library entity" with a supplied source URL.
Normalise label; resolve canonical identifier; assign ontology class.
Attach source URL, provenance and version; propose related-entity edges.
Validate schema and evidence; commit only on PASS.
Output: versioned entity record plus trace and unresolved-field list.

16. SOURCE AND CITATION
Source page: AI Semantic Library Entity Ontology, Kireth Research.
Original authors credited on page: Mark Anthony Higgins — Sky Recursive AI.
Companion Flow Algebra formalisation, not a verbatim extraction of hidden page specifications.
Open Research Licence: follow the terms published by the source and retain attribution.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ