Skip to main content

Semantic Memory Ontology

Memory Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 02 November 2026
Audio Overview
SEMANTIC MEMORY ONTOLOGY — FLOW ALGEBRA
Semantic Library | AI Core | Entity Graph | AI Entities | Memory Entities
Version: Companion formalisation 1.0 | 2 November 2026
Authors: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/memory-entities/semantic-memory-ontology-2.html
Status: Independently constructed companion model; not a verbatim extraction of the page's hidden code.

01. PURPOSE
Represent durable conceptual knowledge independently of any particular remembered episode; support typed concepts, properties, semantic relations, evidence, retrieval and revision.

02. ENTITY DEFINITION
SemanticMemoryEntity M = (id, concepts, relations, assertions, provenance, confidence, constraints, version).
Concept c = (concept_id, label, aliases, type, definition).
Assertion a = (subject, predicate, object, context, evidence, confidence, validity).

03. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: incoming knowledge assertions and retrieval queries.
R_t: ontological relations and inference rules.
B_t: domain boundaries, identity constraints and permitted operations.
K_t: currently accepted semantic knowledge graph with provenance.

04. FORMAL FLOW
E_t = expand(I_t, R_t)
V_t = {x in E_t | consistent(x, B_t) AND provenance_checked(x)}
x*_t = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
K_(t+1) = revise(K_t, x*_t, evidence_t)
If V_t is empty, return unresolved and preserve K_t; never manufacture a fact.

05. INPUT CONTRACT
Input: concept label, assertion, relation, document evidence or semantic query.
Required: content, source identifier, timestamp or declared unknown, domain context.
Optional: confidence, version, language, scope, expiry and conflict metadata.

06. CONCEPT NORMALISATION
normalise(label) -> canonical label; resolve aliases only where identity evidence supports equivalence.
Different concepts must not be merged solely because embeddings are similar.

07. KNOWLEDGE ENCODING
encode(a) -> typed assertion plus evidence and contextual qualifiers.
Assertions are candidates until validation; store source claims separately from verified facts.

08. SEMANTIC RELATIONS
Allowed relation examples: is_a, instance_of, part_of, related_to, causes, defined_by, contradicts.
Domain/range rules apply to each predicate; do not infer causation from correlation.

09. RETRIEVAL
retrieve(q, K_t) -> ranked matching concepts, assertions and supporting evidence.
Score = relevance + relation_fit + evidence_quality + recency_fit - contradiction_penalty.
Weights are implementation parameters, not universal constants.

10. INFERENCE RULES
R1: is_a(A,B) AND is_a(B,C) -> is_a(A,C), when taxonomy semantics allow transitivity.
R2: instance_of(x,A) AND is_a(A,B) -> instance_of(x,B).
R3: conflicting(a,b) -> mark_disputed(a,b), not silently delete either.
R4: absent_evidence(a) -> unknown(a), not false(a).
R5: superseded(a,new_a) -> retain historical version and provenance.

11. MINI RECURSION ENGINE
K^0 = validated input graph.
K^(n+1) = validate(K^n UNION infer(K^n,R), B).
Stop at a fixed point, depth limit or resource limit; report truncation if reached.

12. SEMANTIC / STRUCTURAL / EXECUTION TRI-MAPPING
Semantic: concept meaning, identity, asserted relation.
Structural: nodes, typed edges, evidence records, constraints.
Execution: ingest -> normalise -> validate -> infer -> rank -> retrieve -> revise.

13. MAPPING TABLE
Concept -> entity node -> concept lookup.
Assertion -> subject-predicate-object edge -> evidence-aware retrieval.
Evidence -> provenance link -> source verification.
Constraint -> schema/boundary rule -> validation gate.
Revision -> version edge -> historical audit.

14. CONTEXT AND BOUNDARIES
B_t restricts allowed domains, types, source permissions, privacy and temporal validity.
Semantic memory is distinct from episodic memory: it stores conceptual content, not necessarily the original event context.

15. CONFIDENCE
confidence(a) is calibrated where evidence permits; otherwise label as uncalibrated.
Confidence cannot substitute for provenance or logical consistency.

16. CONTRADICTION HANDLING
Preserve competing claims with their respective sources and dates.
Resolve only with explicit evidence, applicable rules or authorised adjudication.

17. UPDATE MODEL
K_(t+1) = K_t + accepted_assertions - retracted_current_assertions + provenance_history.
Retractions remove current acceptance, not the audit trail.

18. AI SEARCH FLOW
QUERY -> ENTITY RECOGNITION -> CONCEPT RESOLUTION -> GRAPH EXPANSION -> CONSTRAINT FILTER -> EVIDENCE RANKING -> ANSWER + CITATIONS + UNCERTAINTY.

19. SEMANTIC EQUIVALENCE
Equivalent(a,b) requires matching referent, compatible scope and sufficient identity evidence.
Lexical similarity alone is insufficient.

20. EXECUTION GUARANTEE / LIMITS
Guarantee only that compliant implementations apply the stated validation and reporting gates; correctness of source claims or complete inference cannot be guaranteed.
Return an explicit unknown or conflict state when evidence is insufficient.

21. VALIDATION CONDITIONS
Check unique IDs, relation domain/range, provenance references, cycles where forbidden, temporal qualifiers, contradictions, version integrity and permitted disclosure.

22. EXAMPLE
Input: 'A robin is a bird'; 'Birds are animals'.
Graph: is_a(robin,bird); is_a(bird,animal).
Inference: is_a(robin,animal) when both premises are accepted and transitivity is valid.
Output: inferred relation with its two supporting premises.

23. INTEROPERABILITY
Represent concepts as stable URIs where possible; map to RDF-style triples without assuming every ontology predicate has identical semantics.

24. HOW TO READ
S_t describes current reasoning state; expand generates candidates; B_t filters; argmax ranks valid candidates; revise updates the knowledge state while retaining provenance.

25. CITATION AND LICENCE NOTE
Attribution: Mark Anthony Higgins — Sky Recursive AI.
Refer to the original source for its applicable Open Research Licence and citation conditions; this companion text does not independently grant rights to third-party material.

26. SOURCE LIMITATION
The public page exposes the title, attribution and an AI interpretation note, but not its full underlying formal specification in retrieved text. The above model is a new, topic-aligned companion formalisation.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ