Skip to main content

Conversation Turn 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
CONVERSATION TURN ONTOLOGY — FLOW ALGEBRA v1.0
Semantic Library | AI Core | Entity Graph | Human–AI Interaction Entities

AUTHORS: Mark Anthony Higgins; Sky — Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/human-ai-interaction-entities/conversation-turn-ontology.html
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/human-ai-interaction-entities/conversation-turn-ontology.html
LANGUAGE: en-GB
STATUS: Companion formalisation; the public page currently exposes the ontology title and interpretation note, but not the underlying detailed specification in retrieved page text.

1. PURPOSE
Represent a conversation turn as an ordered, attributable contribution to a conversation, preserving its content, role, context, temporal position, relationships and state transitions. Distinguish a turn from an entire conversation and from individual messages or tool events.

2. ENTITY DEFINITION
ConversationTurn := (turn_id, conversation_id, ordinal, actor, role, payload, timestamp, references, status, provenance)
turn_id: unique identifier within a conversation.
conversation_id: parent conversation identifier.
ordinal: monotonic sequence position in the conversation.
actor: human, assistant or authorised tool/system participant.
role: functional role of the contribution.
payload: content or typed reference to content.
timestamp: recorded creation time, if available.
references: links to prior turns, messages, tool actions and supporting evidence.
status: proposed | received | processing | completed | rejected | superseded | failed.
provenance: origin and integrity metadata.

3. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t := current turn input and conversation prefix.
R_t := role, ordering, dialogue and transition rules.
B_t := safety, authority, privacy, context-window and consent boundaries.
K_t := known conversation facts, referenced entities and provenance.
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x, B_t) and consistent(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)
If V_t is empty, return a bounded clarification, rejection or failure state rather than inventing a turn.

4. FORMAL FLOW
FLOW ConversationTurnFlow(input, conversation_state):
  identify parent conversation and authorised actor
  validate turn identity, role and sequence position
  parse content and typed event references
  resolve permitted links to prior turns
  apply privacy, consent and authority boundaries
  derive candidate interpretation and next-turn transitions
  reject inconsistent, unsafe or unauthorised transitions
  select a valid transition with provenance
  append immutable turn event; update derived conversation state
  emit turn record, state, evidence and trace
END FLOW

5. IMPLEMENTS
ConversationEntity; HumanInputEntity; AIResponseEntity; HumanApprovalEntity; HumanRejectionEntity; HumanCorrectionEntity; ContextEntity; WorkflowStateEntity; ExplanationEvidenceEntity.
A conversation contains zero or more ordered turns. A turn may reference one or more messages or tool events. A response may answer, clarify, correct or reject a previous turn.

6. HOW TO READ
A turn is a local unit in a wider conversational sequence. Its meaning depends on its actor, content, predecessor relationships and applicable boundaries. Turn numbering is an ordering property, not proof of causation or agreement. Tool calls may be sub-events of an assistant turn depending on the application model.

7. TRI-MAPPING
Natural-language mapping: 'The user asks a question and the assistant replies.'
Entity mapping: Conversation -> Turn(user) -> Turn(assistant), with replies_to relation.
Formal mapping: T_i = (id_i, parent, i, actor_i, payload_i, links_i, state_i); replies_to(T_(i+1), T_i).

8. MAPPING TABLE
Concept | Entity/Field | Constraint
Conversation | conversation_id | Parent must exist
Turn identity | turn_id | Unique within parent
Ordering | ordinal | Stable, monotonic in canonical sequence
Speaker | actor/role | Authorised and attributable
Content | payload | Typed; may be redacted
Context | references | Links must resolve or be marked unresolved
Lifecycle | status | Transition must be permitted
Evidence | provenance | Source must not be fabricated
Feedback | correction/approval/rejection | Explicitly attributable to actor

9. INFERENCE RULES
R1 Parentage: valid(T) => exists(C): belongs_to(T,C).
R2 Sequence: same_conversation(T_i,T_j) and ordinal_i < ordinal_j => precedes(T_i,T_j).
R3 Reply: replies_to(T_j,T_i) => belongs_to(T_j,C) and belongs_to(T_i,C), unless an explicit cross-conversation link is supported.
R4 Attribution: actor(T)=A => preserve attribution A in derived records.
R5 Correction: corrects(T_j,T_i) => retain original T_i and append correction T_j; do not silently overwrite history.
R6 Rejection: rejects(T_j,T_i) => record rejection scope; do not infer rejection of unrelated turns.
R7 Boundary: violates(T,B) => do not execute restricted downstream action.
R8 Uncertainty: missing_evidence(T) => mark unknown rather than assert completion.

10. MINI RECURSION ENGINE
seed := latest valid turn T_n
repeat while within authorised depth and context budget:
  retrieve permitted predecessor or reference links
  update local context and evidence set
  detect cycles and repeated references
  stop at root, unresolved link, boundary or resource limit
return bounded context graph with provenance

11. EXECUTION GUARANTEES (CONDITIONAL)
G1 Unique identity is enforced when identifiers are validated by the host system.
G2 Ordering is reproducible when a canonical event log is available.
G3 Corrections and rejections remain auditable under append-only storage.
G4 No semantic correctness guarantee is implied by structural validation.
G5 No privacy or safety guarantee is implied without enforcement by the execution environment.
G6 A turn is never treated as human-approved without explicit, attributable approval evidence.

12. AI SEARCH FLOW
QUERY: 'What is a conversation turn in a human–AI interaction?'
ENTITIES: ConversationTurn, ConversationEntity, HumanInputEntity, AIResponseEntity, HumanCorrectionEntity, HumanApprovalEntity, HumanRejectionEntity.
PATHWAYS: Conversation -> Turn -> Actor -> Payload -> References -> State -> NextTurn.
SEMANTIC_EQUIVALENCE: dialogue turn; conversational turn; interaction turn (context-dependent).
CONFIDENCE: High for structural definitions; source-specific details not independently verified.
UPDATE_MODEL: Revalidate against the published source and revise version, date and hash on substantive changes.
FLOW_HASH: Not computed; generate a cryptographic hash from the final distributed bytes if required.

13. EXAMPLE
C1 contains T1 (human: 'Explain the concept') and T2 (assistant: explanation).
T2 replies_to T1. T3 (human: 'That definition is incorrect') corrects T2.
The record retains T2, appends T3 and permits T4 to acknowledge and revise the explanation.

14. LIMITATIONS
This is a companion Flow Algebra design, not a verbatim transcription of hidden page content. Actual runtime guarantees depend on storage, policy enforcement and implementation.

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