Skip to main content

AI Entity Search 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 ENTITY SEARCH — FLOW ALGEBRA
Semantic Library | AI Semantic Library Entities
Authors: Mark Anthony Higgins — Sky Recursive AI
Companion formalisation | 05 November 2026 | en-GB
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/ai-semantic-library-entities/ai-entity-search-ontology.html
SOURCE STATUS: Public page title and interpretation note verified; underlying embedded specification not accessible in retrieved page. This document is an original companion formalisation, not a verbatim extraction.

01 PURPOSE
Resolve a query into a ranked, evidence-supported set of canonical semantic-library entities, preserving provenance, uncertainty, constraints and graph relationships.

02 HST STATE
S_t = (I_t, R_t, B_t, K_t)
I_t = query, user intent, current candidates and search observations.
R_t = search, matching, equivalence, ranking and verification rules.
B_t = permissions, scope, time, resource and safety boundaries.
K_t = ontology, canonical identifiers, graph links, indexes and evidence.
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x, B_t) and admissible(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, feedback_t)
The argmax expression is a selection objective, not a claim of calibrated probability unless a calibrated model is supplied.

03 ENTITY MODEL
SearchQuery: unique query ID, text, language, timestamp and requester.
SearchIntent: task, target type, constraints and disambiguation state.
SearchScope: ontology classes, graph partitions, access policies and version bounds.
SearchCandidate: canonical ID, aliases, labels, description and source references.
SearchEvidence: source ID, claim, provenance, observation time and quality.
SearchMatch: candidate ID, matching features, method and score.
SearchResult: ranked candidate, evidence references, confidence and explanation.
SearchSession: query history, state transitions, feedback and termination reason.

04 RELATIONSHIP GRAPH
SearchQuery --expresses--> SearchIntent
SearchQuery --restricted_by--> SearchScope
SearchScope --selects_from--> EntityGraph
SearchCandidate --identified_by--> CanonicalEntityID
SearchCandidate --supported_by--> SearchEvidence
SearchCandidate --linked_to--> RelatedEntity
SearchMatch --evaluates--> SearchCandidate
SearchResult --derived_from--> SearchMatch
SearchResult --explained_by--> SearchEvidence
SearchSession --contains--> SearchQuery

05 FORMAL SEARCH FLOW
F_search: (Q, G, B, K) -> (Results, Trace, Status)
Q = normalise(query_text, locale, permitted transformations)
T = interpret_intent(Q, context)
C_0 = retrieve(Q, T, G, B)
C_1 = canonicalise(C_0, identity_rules, alias_rules)
C_2 = deduplicate(C_1, canonical_id)
C_3 = filter(C_2, permissions, class_constraints, version_constraints)
C_4 = enrich(C_3, graph_neighbours, provenance, evidence)
C_5 = rank(C_4, relevance, evidence_quality, relation_fit, freshness)
Results = validate_and_present(C_5, uncertainty_policy)
Trace = record(query_id, rule_ids, candidate_ids, scores, evidence_ids, exclusions)
Status = COMPLETE | PARTIAL | AMBIGUOUS | NO_MATCH | ERROR

06 QUERY NORMALISATION
Preserve original query as immutable evidence.
Apply Unicode normalisation and locale-aware case handling.
Expand aliases only from documented equivalence mappings.
Do not conflate related entities with identical entities.
Preserve negation, quoted terms, identifiers and numeric constraints.

07 RETRIEVAL PATHWAYS
PATH_A: exact canonical ID lookup.
PATH_B: exact label or alias lookup.
PATH_C: lexical search over labels, definitions and metadata.
PATH_D: semantic similarity over documented embeddings, if available.
PATH_E: typed graph traversal over authorised relationships.
PATH_F: hybrid merge with deterministic deduplication.
If a pathway is unavailable, mark it unavailable rather than inventing results.

08 RANKING
score(c,q) = w1*lexical(c,q) + w2*semantic(c,q) + w3*graph_fit(c,q) + w4*evidence(c) + w5*freshness(c)
Weights must be non-negative, documented and normalised for the configured ranking scheme.
Missing features must have explicit handling; they are not silently assigned maximum scores.
Rank ties deterministically using canonical ID after declared relevance tie-breakers.
A ranking score is not automatically a probability or factual confidence measure.

09 INFERENCE RULES
R01: If exact canonical ID resolves uniquely within scope, prefer that identity.
R02: If multiple entities share a label, return an ambiguity set or request clarification.
R03: If alias mapping is verified, link alias to canonical ID without overwriting provenance.
R04: If a candidate violates access boundaries, exclude it and record exclusion reason.
R05: If evidence is stale or contradictory, flag uncertainty and reduce unsupported certainty.
R06: If no admissible candidate exists, return NO_MATCH; never fabricate an entity.
R07: If graph expansion exceeds configured depth, stop and return bounded partial results.
R08: If a query requires a missing ontology version, report the limitation.
R09: If the user corrects a result, retain feedback as a separate auditable event.
R10: If search evidence changes, recompute affected rankings with versioned traceability.

10 RECURSIVE SEARCH
C_(n+1) = filter(expand(C_n, R_search), B_search)
Stop when C_(n+1) = C_n, max_depth reached, time budget exhausted, or sufficient evidence obtained.
Maintain visited canonical IDs to prevent cycles.
Recursion must be bounded and must not mutate canonical identity without authorised rules.

11 TRI-MAPPING
ENTITY: canonical IDs, classes, labels and aliases.
RELATIONSHIP: typed graph edges, scopes and provenance.
EXECUTION: normalise -> retrieve -> resolve -> validate -> rank -> explain.
Every displayed result should map back to its entity, relevant relations and execution trace.

12 VALIDATION INVARIANTS
INV01: Every result references an existing admissible canonical ID.
INV02: Every asserted identity equivalence has a documented rule or evidence link.
INV03: No excluded or unauthorised entity appears in Results.
INV04: Every nontrivial derived claim has retrievable provenance.
INV05: Scores are reproducible from recorded inputs, configuration and versions.
INV06: Query interpretation preserves original constraints and negations.
INV07: A NO_MATCH result is distinguishable from retrieval failure.
INV08: Temporal validity is checked against the requested or recorded evaluation time.

13 UNCERTAINTY
Record ambiguity, incomplete indexing, contradictory evidence, outdated sources and model limitations separately.
Confidence may be reported only with a documented definition and calibration method.
When confidence is not calibrated, use descriptive evidence strength and disclose uncertainty.

14 EXECUTION GUARANTEE — CONDITIONAL
Given valid inputs, an accessible finite search scope, deterministic rules, bounded recursion and sufficient resources, F_search terminates with a traceable status and admissible result set.
This is a conditional design property, not a guarantee of factual completeness, relevance or successful external retrieval.

15 EXAMPLE
Input: query='entity provenance', scope=AI Semantic Library, access=public.
Retrieve matching labels and aliases; resolve canonical identifiers; inspect evidence and relationships; rank admissible matches; return cited results and trace.
If two canonical entities are equally plausible, return both with an ambiguity notice.

16 UPDATE MODEL
On entity version change: invalidate affected index entries, preserve prior versions, rebuild impacted relationships, rerun affected validations and record provenance.
On user feedback: append a correction event; do not silently rewrite historical results.

17 CITATION AND LICENCE
Source: Kireth Research, AI Entity Search Ontology, URL above.
Authors: Mark Anthony Higgins — Sky Recursive AI.
Use and redistribution are subject to the applicable published Open Research Licence; retain required citation and attribution.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ