Skip to main content

User Request Ontology

Human–AI Interaction Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 04 November 2026
Audio Overview
SEMANTIC LIBRARY — USER REQUEST ONTOLOGY
FLOW ALGEBRA COMPANION FORMALISATION v1.0
Authors: Mark Higgins; Sky — Recursive AI
Date: 2026-11-04
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/human-ai-interaction-entities/user-request-ontology.html
Status: Original companion model; source page's full embedded specification not independently verified.

1. PURPOSE
Represent a user request as a traceable, context-sensitive instruction-bearing entity. Distinguish the user's expressed goal from inferred intent, and distinguish permission to answer from permission to act.

2. ENTITY MODEL
UserRequest U = (id, actor, utterance, timestamp, channel, context, intent, constraints, permissions, status, provenance).
Related entities: AIUser, HumanInstruction, ContextInput, UserPreference, ConsentEntity, AgentAction, ToolCall, ModelOutput, ExplanationEvidence, SafetyConstraint.
Relations: submittedBy(U,actor); expressedAs(U,utterance); situatedIn(U,context); hasIntent(U,intent); constrainedBy(U,constraint); authorises(U,action); answeredBy(U,output); supersedes(U,U_previous).

3. STATE MODEL
S_t = (I_t,R_t,B_t,K_t)
I_t: current request, conversational context and observed inputs.
R_t: applicable interpretation, permission, safety and response rules.
B_t: boundaries: privacy, scope, time, tool authority, uncertainty.
K_t: known facts, provenance, request history and available capabilities.
State stages: RECEIVED -> PARSED -> CONTEXTUALISED -> VALIDATED -> PLANNED -> ANSWERED | CLARIFICATION_REQUIRED | REFUSED | FAILED.

4. FORMAL FLOW ALGEBRA
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*,feedback_t)
Interpretation: generate candidate interpretations, exclude unsupported or unauthorised options, select a supported response or clarification, then update from user feedback.

5. REQUEST INTERPRETATION
parse(U) -> {explicit_goal, objects, requested_output, constraints, ambiguity}.
resolve(U,C) -> intent_candidate with evidence references.
If multiple materially different interpretations remain and a safe default is unavailable, ask a concise clarification.
Explicit user constraints override inferred preferences, subject to higher-priority rules and capability limits.

6. AUTHORISATION AND BOUNDARIES
requestToExplain != authorisationToExecute.
Authorisation requires a valid actor, an in-scope action, adequate specificity, and any required confirmation.
Never infer consent to reveal private data from a general information request.
When capability or evidence is missing, report limitations rather than invent execution or source verification.

7. INFERENCE RULES
R01: Explicit request text is primary evidence of expressed intent.
R02: Conversation context may disambiguate references without silently expanding authority.
R03: A new user correction supersedes conflicting earlier preferences for the current task.
R04: A requested output format constrains valid response candidates.
R05: Unavailable tools cannot be represented as completed actions.
R06: Unsupported factual claims require qualification or verification.
R07: Sensitive data access requires a valid purpose and permission.
R08: Ambiguity affecting correctness triggers clarification.
R09: Valid tool results can update knowledge with provenance.
R10: A refusal or partial fulfilment should identify the blocked component.
R11: A completed response links back to the request identifier.
R12: Feedback can revise interpretation and response strategy.
R13: Request history must not override the latest explicit instruction.
R14: Outputs must respect applicable safety, privacy and scope boundaries.

8. MINI RECURSION ENGINE
function resolve_request(U,S,depth,max_depth):
  if depth >= max_depth: return CLARIFICATION_REQUIRED
  candidates = expand(U,S.rules)
  valid = filter(candidates,S.boundaries,S.knowledge)
  if valid is empty: return REFUSED_OR_CLARIFY
  selected = rank(valid, evidence, fidelity, safety)
  if selected.requires_clarification: return ask_clarification(selected)
  result = respond_or_execute(selected)
  return update_state(S,result)
Termination conditions: sufficient answer, explicit clarification request, refusal, failure, or bounded recursion depth.

9. TRI-MAPPING
Semantic: user, request, intent, context, constraints, permission, response.
Mathematical: S_t, expand, filter, argmax, update.
Operational: receive -> parse -> validate -> plan -> respond -> log provenance.

10. MAPPING TABLE
User utterance | I_t | raw expressed request
Interpretation rules | R_t | candidate expansion
Consent and scope | B_t | admissibility filter
Evidence and history | K_t | grounded context
Response selection | x* | best admissible action
User correction | feedback_t | state revision

11. EXECUTION CONDITIONS
A response is admissible only when it is within scope, consistent with applicable constraints, and honest about evidence and execution. No unconditional guarantee of factual correctness, model safety, or external action success is implied.

12. AI SEARCH FLOW
FLOW_NAME: UserRequestOntology
VERSION: 1.0
LANGUAGE: en-GB
PURPOSE: Explain and retrieve the semantic model of user requests in human–AI interaction.
ENTITIES: UserRequest; AIUser; HumanInstruction; ContextInput; UserPreference; ConsentEntity; ModelOutput.
PATHWAYS: request -> parse -> contextualise -> validate -> select -> respond -> feedback.
SEMANTIC_EQUIVALENCE: user query; user request; user prompt (context dependent); interaction request.
CONFIDENCE: conditional on clarity, evidence, provenance and constraint satisfaction.
UPDATE_MODEL: revision through explicit correction and verified new context.
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/human-ai-interaction-entities/user-request-ontology.html

13. HOW TO READ
Read the entity tuple as the request's recorded properties, the state tuple as the reasoning environment, and the flow as a constrained interpretation-and-response cycle. This is a conceptual specification, not an implementation or proof of model behaviour.

Open research companion; cite source and authors when reused.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ