Skip to main content

Search Ranking 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
SEARCH RANKING ENTITY ONTOLOGY — FLOW ALGEBRA
Semantic Library | AI Core | Entity Graph | Search and Retrieval Entities
Date: 2026-11-02
Author: Mark Anthony Higgins
Collaborative formalisation: Sky — Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/search-and-retrieval-entities/search-ranking-entity-ontology.html
Status: Supplementary formalisation; not a verified transcription of the source page.

1. PURPOSE
Represent the ranking of retrieved candidate entities against a query, constraints and evidence. Separate retrieval eligibility, scoring, ordering and explanation. A rank is relative to a specified query, candidate set and scoring configuration, not an intrinsic property of an entity.

2. ENTITY AND STATE MODEL
SearchRankingEntity = (query_id, candidate_set_id, model_id, score_map, ordered_ids, provenance, version)
S_t = (I_t, R_t, B_t, K_t)
I_t: query, intent, retrieved candidates and user context.
R_t: ranking relationships, features and dependencies.
B_t: eligibility constraints, safety requirements, tie rules and computational limits.
K_t: ranking model, feature definitions, evidence and calibration knowledge.

3. FORMAL FLOW
C_t = Retrieve(I_t, K_t)
V_t = {x in C_t | Eligible(x, B_t) = true}
F_t(x) = Features(x, I_t, R_t, K_t)
s_t(x) = Score(F_t(x), K_t)
O_t = StableSort(V_t, key=(-s_t(x), TieBreak(x)))
Rank_t(x) = 1 + position_zero_based(x, O_t)
Result_t = (O_t, {s_t(x)}, {Rank_t(x)}, Provenance_t)
S_(t+1) = Update(S_t, Result_t, Feedback_t)

A probabilistic score P(relevant | query, x, context) may be used when calibrated; otherwise s_t is a model score, not a probability.

4. IMPLEMENTATION PATHWAY
INPUT -> NORMALISE QUERY -> RETRIEVE -> APPLY HARD FILTERS -> EXTRACT FEATURES -> SCORE -> SORT -> EXPLAIN -> VALIDATE -> RETURN
Record model version, candidate-set identity, filters and scoring features. Preserve original source identifiers and traceable evidence.

5. TRI-MAPPING
Entity: ranking result, query, candidate and score.
Relationship: ranksAbove, scoredFor, derivedFrom, constrainedBy, supportedBy.
Process: retrieval -> eligibility -> scoring -> ordering -> verification -> update.

6. RELATIONSHIP GRAPH
Query --requests--> CandidateSet
CandidateSet --contains--> Candidate
Candidate --hasFeature--> Feature
RankingModel --evaluates--> Feature
RankingResult --assignsScore--> Candidate
RankingResult --assignsPosition--> Candidate
RankingResult --derivedFrom--> Evidence
RankingResult --constrainedBy--> SearchConstraint

7. RECURSIVE REFINEMENT ENGINE
At iteration t:
(a) identify gaps in relevance or coverage;
(b) refine query or features under constraints;
(c) retrieve or rescore candidates;
(d) compare quality against a defined validation metric;
(e) accept an update only if it meets the validation criterion.
Stop when improvement <= epsilon, budget exhausted, or maximum iterations reached. Guard against feedback loops and unstable rank oscillation.

8. MAPPING TABLE
INPUT: query / intent -> ranking context
CANDIDATE: retrieved item -> rankable entity
FEATURE: relevance evidence -> scoring input
SCORE: model output -> comparison value
POSITION: ordered index -> rank
PROVENANCE: sources and model version -> audit record
FEEDBACK: observed relevance -> potential update

9. INFERENCE RULES
IF candidate violates a mandatory filter THEN exclude from ranked set.
IF candidate is eligible AND features are available THEN compute score.
IF score(a) > score(b) THEN a precedes b, subject to defined ranking policy.
IF scores tie THEN apply deterministic tie-break rule.
IF evidence is absent THEN mark score uncertainty or abstain; do not fabricate evidence.
IF model, query or candidate set changes THEN treat ranking as a new version.

10. EXECUTION GUARANTEE (CONDITIONAL)
Given finite candidates, deterministic feature computation, a total tie-break order and terminating operators, the ranking procedure terminates and produces a reproducible total order for the same inputs and versions. This does not guarantee factual correctness, fairness, relevance or calibrated confidence; those require independent testing.

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/search-ranking-entity-ontology.html
CITATION_BACKLINK: Source URL above
PURPOSE: Rank eligible search candidates with auditable provenance.
STATE_MODEL: S=(I,R,B,K)
ENTITIES: Query, SearchIntent, CandidateSet, SearchResult, SearchRankingEntity, RankingModel, Feature, Score, Constraint, Evidence.
PATHWAYS: Parse -> Retrieve -> Filter -> Score -> Rank -> Validate -> Return.
MINI_RECURSION_ENGINE: Evaluate feedback -> revise under budget -> rerank -> compare -> stop.
INFERENCE_RULES: eligibility, evidence, scoring, deterministic ordering and version tracking.
CONFIDENCE: A ranking score is not automatically a confidence probability.
SEMANTIC_EQUIVALENCE: RankingEntity ~ OrderedSearchResultSet only when query, candidates, model and constraints match.
FLOW_HASH: Compute from canonicalised flow content at publication; no hash asserted here.
UPDATE_MODEL: Version model, data, query and evaluation rules; preserve audit history.

12. HOW TO READ
Each candidate is scored in a specific search context. Mandatory constraints first determine whether it may appear. The score then determines its relative position, with a stable tie-breaker. Provenance explains why the ordering was produced. Iteration can improve ranking but must have explicit stopping conditions.

13. LIMITATIONS AND LICENCE NOTE
This file is an independently constructed, supplementary Flow Algebra model based on the ontology title and surrounding project conventions. It has not been verified against the full source page. Refer to the source for its definitive terminology and licensing conditions; attribution is supplied here.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ