Skip to main content

Search Term 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
SEARCH TERM ONTOLOGY — FLOW ALGEBRA
Semantic Library | AI Core | Entity Graph | Search and Retrieval Entities
Version: 1.0 | 2 November 2026 | Language: en-GB
Authors: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/search-and-retrieval-entities/search-term-ontology.html
Status: Supplementary formalisation; not a verified transcription of the source ontology.

1. PURPOSE
Represent a search term as a traceable lexical or semantic unit within a query, preserving its surface form, normalisation, context, intent contribution and retrieval relationships.

2. ENTITY AND STATE MODEL
SearchTerm T = (id, surface, normalised, language, span, type, context, candidates, weight, provenance).
System state S_t = (I_t, R_t, B_t, K_t), where I is available input, R is applicable rules, B is constraints/boundaries, and K is the knowledge and index state.
Invariant: the original surface string and its provenance remain recoverable after normalisation.

3. FORMAL FLOW
Q -> Tokenise(Q) -> T_raw -> Normalise(T_raw, language) -> T_norm
T_norm + Context(Q) + K_t -> ResolveSense(T_norm) -> T_sem
T_sem + Intent(Q) + Index(K_t) -> ExpandOrMatch(T_sem) -> Candidates
Candidates -> Filter(B_t) -> Rank(R_t) -> RetrievalOutput
E_t = Expand(I_t, R_t)
V_t = {x in E_t : Valid(x, B_t, K_t)}
x* = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
I_{t+1} = Update(I_t, x*, Evidence_t)
The probability expression is a scoring abstraction, not a claim of calibrated probability.

4. IMPLEMENTS
INPUT: query string, locale, context, retrieval index and optional user constraints.
OUTPUT: canonical search-term entities, alternative senses, matched concepts, retrieval candidates, confidence annotations and trace links.
OPERATORS: TOKENISE, NORMALISE, LEMMATISE, DETECT_LANGUAGE, DISAMBIGUATE, EXPAND, MATCH, FILTER, RANK, TRACE.

5. HOW TO READ
Each term begins as a surface expression. It is normalised without discarding the original, interpreted in query context, linked to candidate concepts and used to retrieve records. Ambiguity is retained where evidence is insufficient.

6. TRI-MAPPING
LEXICAL: raw text, token span, morphology and canonical form.
SEMANTIC: intended concept, aliases, sense alternatives and query role.
OPERATIONAL: index lookup, expansion, filtering, ranking and evidence trace.
Mapping: LexicalTerm -> SemanticConcept -> RetrievalAction.

7. RELATIONSHIP GRAPH
SearchQuery --contains--> SearchTerm
SearchTerm --normalises_to--> CanonicalTerm
SearchTerm --may_denote--> Concept
SearchTerm --has_alias--> SearchTerm
SearchTerm --contributes_to--> SearchIntent
SearchTerm --matches--> IndexedEntity
SearchTerm --supported_by--> Evidence
SearchTerm --derived_from--> SourceSpan

8. MINI RECURSION ENGINE
Initialise candidate terms from Q.
For iteration k = 0..N:
  identify unresolved senses or low-coverage terms;
  generate bounded synonym, morphology or concept expansions;
  check each expansion against context, boundaries and evidence;
  deduplicate and score candidates;
  stop if coverage improvement < epsilon, limits are reached, or no valid changes remain.
Return best-supported terms with an audit trail.
Termination requires finite N, finite candidate budgets and deduplication.

9. MAPPING TABLE
Field                 Source                         Result
surface               Query substring                Original term
normalised            Language-aware rules           Canonical string
sense                 Context and concept graph      Candidate concept
intent_role           Query-intent analysis          Term purpose
match                 Search index                   Retrieved entity
confidence            Evidence and scoring method    Qualified score
provenance            Query span and transformations Trace record

10. INFERENCE RULES
R1: If a token occurs in the query, preserve its original span.
R2: If a normalisation changes spelling or morphology, retain the reversible mapping.
R3: If multiple senses fit, retain alternatives until context resolves them.
R4: If expansion violates a boundary, reject the expansion.
R5: If no supported concept matches, label the term unresolved rather than inventing a match.
R6: If new evidence contradicts a sense, revise the sense and downstream retrieval results.

11. EXECUTION GUARANTEE (CONDITIONAL)
Given a finite query, deterministic preprocessing, bounded expansion and an accessible finite index, the pipeline terminates and emits a traceable result or an explicit no-match state. Semantic correctness, retrieval completeness and calibrated confidence are not guaranteed without independent validation.

12. AI SEARCH FLOW
AUTHORS: Mark Anthony Higgins — Sky Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/search-and-retrieval-entities/search-term-ontology.html
CITATION_BACKLINK: same as SOURCE
PURPOSE: Traceable search-term representation and semantic retrieval.
STATE_MODEL: S=(I,R,B,K)
ENTITIES: SearchQuery, SearchTerm, CanonicalTerm, Concept, SearchIntent, IndexedEntity, Evidence.
PATHWAYS: query -> term -> normalisation -> sense -> expansion -> match -> rank -> output.
MINI_RECURSION_ENGINE: bounded, evidence-checked refinement of term candidates.
INFERENCE_RULES: R1–R6 above.
CONFIDENCE: method-specific score; never equate raw ranking score with certainty.
SEMANTIC_EQUIVALENCE: context-dependent, evidence-supported; aliases need not be interchangeable.
FLOW_HASH: calculate from canonical published bytes at deployment; not pre-assigned.
UPDATE_MODEL: version and re-evaluate mappings when language rules, index or evidence change.

13. EXAMPLE
Query: 'floor sanding York'
Terms: 'floor', 'sanding', 'York'.
Possible interpretation: service='floor sanding', location='York'.
Do not assume 'York' is always a location: use query context and evidence.
Match service and locality entities, apply constraints, retain source spans and rank results.

14. LIMITATIONS AND ATTRIBUTION
This document is an independently prepared supplementary Flow Algebra model based on the named ontology topic. It has not been checked against the full live page content. All publication and reuse should preserve the authorship and source citation and follow the applicable Kireth Research licence.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ