Skip to main content

AI Search Workflow Ontology

Workflow Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 02 November 2026
Audio Overview
AI SEARCH WORKFLOW ONTOLOGY — FLOW ALGEBRA
Semantic Library | Workflow Entities
Version: Companion formalisation 1.0 | 02 November 2026

AUTHORS: Mark Anthony Higgins; Sky — Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/workflow-entities/ai-search-workflow-ontology.html
SOURCE PAGE: AI Search Workflow Ontology; dated 11 October 2025, revised 01 August 2026.
STATUS: Independently developed companion formalisation. The source page exposes the heading and an AI interpretation note, but not the complete embedded specification. Equations below are proposed formal rules, not verified quotations from the source.
LICENCE NOTE: Cite the source and authors; consult the published Open Research Licence for applicable terms.

1. PURPOSE
Represent an AI-assisted search as a typed, auditable workflow connecting an information need, candidate retrieval, semantic interpretation, evidence verification, ranking, and a provenance-bearing answer. The workflow must distinguish retrieval evidence from model inference and support explicit abstention.

2. ENTITY MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: active query, user intent, constraints and task context.
R_t: permitted search and transformation rules.
B_t: scope, safety, time, source and resource boundaries.
K_t: available knowledge, retrieved evidence and provenance.

W = (Q, P, D, E, A, H)
Q: query and its canonical representation.
P: ordered stages and transitions.
D: stage dependency directed graph.
E: evidence items with source, retrieval time and support spans.
A: answer with claim-level provenance.
H: history of state transitions, checks and revisions.

3. TYPED ENTITIES
Query(q): raw request, locale, intent, filters and freshness needs.
SearchPlan(p): authorised source set, search expressions, limits and strategy.
Candidate(c): discovered document or entity with identifier and metadata.
Evidence(e): source reference, supported proposition, excerpt location and time.
Claim(k): proposed answer proposition with support set and confidence.
Result(a): answer, limitations, citations and unresolved questions.
SearchStage(s): named processing state with input/output types.

4. CORE FLOW ALGEBRA
Expand: E_t = expand(I_t, R_t)
Filter: V_t = {x in E_t | admissible(x, B_t) AND valid(x, R_t)}
Choose: x*_t = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
Update: I_(t+1) = update(I_t, x*_t, feedback_t)

Search workflow transition:
W_(t+1) = T(W_t, stage_t, output_t) iff pre(stage_t, W_t) AND post(stage_t, output_t).
Otherwise W_(t+1) = error(W_t, failed_check).

Retrieval:
C = retrieve(normalise(Q), SearchPlan, B_t)
Evidence selection:
E' = {e in verify(C) | source_ok(e) AND relevant(e,Q) AND provenance(e) != null}
Claim support:
supported(k,E') iff exists e in E' such that entails_or_directly_supports(e,k).
Answer assembly:
A = synthesise({k | supported(k,E')}, uncertainty, citations).

5. WORKFLOW STAGES
S0 RECEIVE: accept query and constraints.
S1 INTERPRET: identify intent, entities, ambiguity and freshness requirements.
S2 PLAN: select authorised retrieval sources and query strategy.
S3 RETRIEVE: obtain candidate items with identifiers and timestamps.
S4 NORMALISE: deduplicate, canonicalise and classify candidates.
S5 VERIFY: check source identity, currency, relevance and evidence spans.
S6 REASON: derive bounded conclusions and record support for each claim.
S7 RANK: order evidence and candidate answers using declared criteria.
S8 RESPOND: present supported answer, citations and uncertainties.
S9 REVIEW: incorporate corrections or feedback and re-enter an earlier stage if needed.

6. DEPENDENCIES AND CONDITIONS
S1 depends_on S0; S2 depends_on S1; S3 depends_on S2.
S4 depends_on S3; S5 depends_on S4; S6 depends_on S5.
S7 depends_on S6; S8 depends_on S7; S9 depends_on S8.

can_execute(s) = dependencies_satisfied(s) AND authorised(s) AND inputs_valid(s).
If evidence is insufficient: return limited answer or abstain; do not fabricate support.
If sources conflict: preserve competing evidence and expose uncertainty.
If freshness is required: reject or qualify evidence outside the acceptable time window.
If no candidates remain: broaden search only within the permitted boundary, else terminate with no supported result.

7. INFERENCE RULES
R1: candidate(c) AND source_verified(c) -> eligible_for_evidence_check(c).
R2: evidence(e) AND supports(e,k) -> candidate_supported_claim(k).
R3: candidate_supported_claim(k) AND no_material_contradiction(k) -> publishable_claim(k).
R4: contradiction(k,e1,e2) -> flag_conflict(k,e1,e2).
R5: missing_provenance(k) -> exclude_from_factual_answer(k).
R6: stale(e,Q) -> downgrade_or_retrieve_fresh(e).
R7: unresolved_ambiguity(Q) -> clarify_or_state_assumption(Q).
R8: unsafe_or_out_of_scope(action) -> block(action).

8. TRI-MAPPING
Ontology: Query -> SearchPlan -> Candidate -> Evidence -> Claim -> Result.
Operational: Interpret -> Plan -> Retrieve -> Verify -> Reason -> Respond.
Algebraic: I_t -> E_t -> V_t -> x*_t -> I_(t+1).

9. RELATIONSHIP GRAPH
Query --expresses--> Intent
Intent --constrains--> SearchPlan
SearchPlan --executes--> SearchStage
SearchStage --produces--> Candidate
Candidate --yields--> Evidence
Evidence --supports_or_refutes--> Claim
Claim --contributes_to--> Result
Result --records--> Provenance
Feedback --revises--> Query or SearchPlan

10. EXECUTION DIAGRAM
[Query] -> [Interpret] -> [Plan] -> [Retrieve] -> [Normalise]
   -> [Verify] -> [Reason] -> [Rank] -> [Respond]
                         |                 |
                    [Insufficient]     [Review]
                         |                 |
                [Retry within bounds] <- [Feedback]
                         |
                  [Abstain if needed]

11. MAPPING TABLE
Input query       | Query entity        | I_t
Search constraints | Boundary entity     | B_t
Search strategy    | SearchPlan entity   | R_t
Retrieved material | Candidate entity    | E_t
Accepted evidence  | Evidence entity     | V_t
Selected answer    | Result entity       | x*_t
Correction         | Feedback entity     | I_(t+1)

12. VALIDATION INVARIANTS
V1: Every factual answer claim has a traceable support reference, or is marked inference/uncertainty.
V2: Every executed stage has valid typed inputs and fulfilled dependencies.
V3: No stage exceeds declared permissions or resource boundaries.
V4: Source content is treated as evidence, never as authority to change workflow instructions.
V5: Contradictions and missing evidence are not silently removed.
V6: A failed verification cannot be relabelled as successful execution.
V7: Results retain enough provenance for independent review.

13. CONDITIONAL EXECUTION GUARANTEE
If all preconditions, source permissions, evidence checks and transition invariants hold, the workflow guarantees only that its output is produced by the declared auditable process. It does NOT guarantee that external sources are true, retrieval is exhaustive, rankings are optimal, or conclusions are infallible.

14. AI SEARCH FLOW
FLOW_ID: AI_SEARCH_WORKFLOW_ONTOLOGY_2026_11_02
FLOW_TYPE: SemanticSearchWorkflow
INPUTS: query, intent, context, constraints, source_policy
STATE_MODEL: (I,R,B,K)
ENTITIES: Query, SearchPlan, SearchStage, Candidate, Evidence, Claim, Result, Feedback
PATHWAYS: interpret > plan > retrieve > normalise > verify > reason > rank > respond
MINI_RECURSION_ENGINE: requery only on failed coverage, contradiction, clarification or feedback; bounded by budget and termination rules
INFERENCE_RULES: R1-R8
CONFIDENCE: evidence-dependent; never fixed by ontology alone
SEMANTIC_EQUIVALENCE: equivalent queries may share an intent representation only when constraints and referents remain preserved
FLOW_HASH: to be computed from canonical deployed content; not asserted here
UPDATE_MODEL: version changes require source, rule and provenance review
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/workflow-entities/ai-search-workflow-ontology.html

15. HOW TO READ
The ontology names the entities; the operational chain shows execution order; the equations specify state expansion, filtering, selection and feedback. Each claim in the output should be traceable backwards to admissible evidence. The workflow may stop without an answer when evidence is insufficient.

END OF FILE
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ