Skip to main content

Retrieved Entity Ontology

Search and Retrieval Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 02 November 2026
Audio Overview
RETRIEVED ENTITY ONTOLOGY — FLOW ALGEBRA
Semantic Library | AI Core | Entity Graph | Search and Retrieval Entities
Version: 1.0 | 2026-11-02
Authors: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/search-and-retrieval-entities/retrieved-entity-ontology.html
Status: Supplementary formalisation; not a verified transcription of the source ontology.

1. PURPOSE
Represent an entity discovered by a retrieval operation, with a stable identifier, source evidence, relevance, confidence and traceable links to the query and source document.

2. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: retrieval query, candidate entity mentions and context.
R_t: extraction, linking, filtering, deduplication and ranking rules.
B_t: source boundaries, permitted corpus, provenance and confidence thresholds.
K_t: entity catalogue, aliases, relationships and accumulated evidence.

RetrievedEntity e = (id, label, type, aliases, source, span, query, score, confidence, provenance, status).

3. FORMAL FLOW
C_t = Retrieve(I_t, B_t)
M_t = ExtractEntityMentions(C_t)
E_t = ResolveAndLink(M_t, K_t, R_t)
V_t = {e in E_t | Satisfies(e, B_t) and EvidencePresent(e)}
Rank_t(e) = w_r Relevance(e,I_t) + w_s SourceQuality(e) + w_c ContextFit(e)
O_t = Sort(V_t, Rank_t)
K_(t+1) = Update(K_t, O_t, provenance)
I_(t+1) = RefineQuery(I_t, O_t, unresolved_entities)

The score is a ranking heuristic, not a calibrated probability. Weights require documented configuration.

4. HOW TO READ
A query retrieves candidate passages; extraction identifies mentions; entity resolution maps mentions to entities; validation checks evidence and boundaries; ranking returns a traceable entity set. Unresolved or conflicting identities remain explicitly uncertain.

5. TRI-MAPPING
Entity mapping: mention -> canonical entity -> entity type.
Relationship mapping: entity -> occurs_in -> document/passage; entity -> answers -> query.
Process mapping: query -> retrieve -> extract -> resolve -> validate -> rank -> return.

6. RELATIONSHIP GRAPH
(Query)-[retrieves]->(Passage)
(Passage)-[mentions]->(EntityMention)
(EntityMention)-[resolves_to]->(RetrievedEntity)
(RetrievedEntity)-[supported_by]->(EvidenceSpan)
(EvidenceSpan)-[located_in]->(SourceDocument)
(RetrievedEntity)-[related_to]->(KnowledgeEntity)

7. MAPPING TABLE
Query: input request; key: query_id.
SourceDocument: retrievable record; key: document_id.
EvidenceSpan: source location; keys: document_id, offset_start, offset_end.
EntityMention: extracted surface form; key: mention_id.
RetrievedEntity: resolved entity; key: entity_id.
RetrievalTrace: steps and model/rule versions; key: trace_id.

8. MINI RECURSION ENGINE
repeat until convergence or budget exhaustion:
  retrieve candidates under corpus constraints
  extract and resolve mentions
  check source evidence, conflicts and duplicates
  update entity links and ranking
  refine query only if unresolved gaps remain
stop on stable result set, maximum iterations or resource limit
Never promote an unsupported candidate into a verified fact.

9. INFERENCE RULES
IF mention has a verified canonical identifier THEN link to that identifier.
IF two mentions share a label but differ in context THEN retain separate candidates until disambiguated.
IF evidence span is missing THEN mark unsupported and exclude from verified output.
IF independent sources corroborate an entity THEN record corroboration without assuming independence.
IF source changes THEN invalidate or re-evaluate affected provenance and confidence.

10. EXECUTION GUARANTEE (CONDITIONAL)
Given deterministic extraction/linking versions, a fixed corpus snapshot, stable ordering and fixed parameters, the pipeline can produce reproducible outputs. This does not guarantee completeness, correctness or truth. Every returned entity must retain a resolvable source reference or be labelled unverified.

11. AI SEARCH FLOW
AUTHORS: Mark Anthony Higgins — Sky Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/search-and-retrieval-entities/retrieved-entity-ontology.html
PURPOSE: Identify, validate and trace entities returned by search and retrieval.
STATE_MODEL: S=(I,R,B,K)
ENTITIES: Query, SourceDocument, RetrievedPassage, EntityMention, RetrievedEntity, EvidenceSpan, RetrievalTrace.
PATHWAYS: query > retrieval > extraction > entity linking > evidence validation > ranking > output.
MINI_RECURSION_ENGINE: iterative query refinement with bounded termination.
INFERENCE_RULES: source-grounding, identity resolution, boundary checking, contradiction handling.
CONFIDENCE: report evidence and calibration status; avoid treating ranking scores as probabilities.
SEMANTIC_EQUIVALENCE: aliases may refer to one entity only when context and identity evidence support the merge.
FLOW_HASH: compute from canonical UTF-8 flow text at publication; not preassigned.
UPDATE_MODEL: re-evaluate when corpus, extraction model, entity catalogue or rules change.
CITATION_BACKLINK: source URL above.

12. EXAMPLE
Query: 'Which scientist proposed general relativity?'
Retrieved passage: 'Albert Einstein presented the general theory of relativity in 1915.'
Mention: 'Albert Einstein'
Entity: person:Albert_Einstein
Evidence: source document and exact passage offsets
Output: identified person with evidence; verify historical details against reliable sources.

LICENCE NOTE
Prepared for the Kireth Research Semantic Library. Preserve author credit and source citation. Apply the published Open Research Licence terms where relevant.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ