Skip to main content

Temporal Context Ontology

Context Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 01 November 2026
Audio Overview
TEMPORAL CONTEXT ONTOLOGY — FLOW ALGEBRA
Semantic Library | AI Core | Entity Graph | Context Entities
Version: 1.0 | Date: 2026-11-01
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/context-entities/temporal-context-ontology.html
Status: Original companion formalisation; not a verified transcription of the source page.

01. PURPOSE
Represent, validate, select and update time-dependent context for an AI task while preserving event time, observation time, validity intervals, provenance and uncertainty.

02. ENTITY DEFINITION
TemporalContext C_t = (E, T, O, V, R, B, K, P, U), where E is a set of events or facts, T event timestamps, O observation timestamps, V validity intervals, R temporal relations, B constraints, K background knowledge, P provenance, and U uncertainty.

03. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t = currently available temporal inputs
R_t = temporal interpretation and inference rules
B_t = task, trust, time-zone and retention boundaries
K_t = validated temporal knowledge

04. CORE FLOW
E_t = expand(I_t, R_t)
V_t = {x in E_t | valid(x,B_t,K_t)}
x*_t = argmax_{x in V_t} Score(x | I_t,R_t,B_t,K_t)
I_(t+1) = update(I_t,x*_t,observations_(t+1))
An empty V_t produces an abstention or request for clarification, not an invented timestamp.

05. TEMPORAL ATTRIBUTES
Each temporal assertion a carries (subject, predicate, object, event_time, observed_at, valid_from, valid_until, time_zone, precision, source, confidence).
Unknown fields remain unknown. Open-ended intervals are permitted.

06. TIME NORMALISATION
normalise(timestamp,zone,calendar) -> canonical instant or explicitly unresolved value.
Preserve the original expression and zone. Daylight-saving ambiguity requires an offset or disambiguation.

07. INTERVAL ALGEBRA
For intervals A=[a0,a1) and B=[b0,b1):
precedes(A,B) iff a1 <= b0
overlap(A,B) iff max(a0,b0) < min(a1,b1)
contains(A,B) iff a0 <= b0 and b1 <= a1
Use explicit endpoint conventions throughout.

08. EVENT TIME VERSUS RECORD TIME
Event time describes when an occurrence happened. Record time describes when it was learned or stored. They must not be silently conflated.

09. TEMPORAL VALIDITY
valid_at(a,t) iff a.valid_from <= t and (a.valid_until is null or t < a.valid_until).
Missing validity boundaries do not establish perpetual truth.

10. TEMPORAL RELEVANCE
relevance(a,q,t) = semantic_match(a,q) * temporal_fit(a,t) * provenance_quality(a).
Weights are application-specific and must be calibrated; this is a design score, not a probability guarantee.

11. FRESHNESS
age(a,t) = max(0,t - a.observed_at), for known compatible instants.
freshness(a,t) = exp(-lambda * age(a,t)) for lambda >= 0.
Decay is optional and depends on the domain; historical facts may not decay.

12. ORDERING
partial_order(E,R) respects grounded before/after dependencies.
If observations conflict, record the conflict instead of forcing a total order.

13. CAUSALITY BOUNDARY
Temporal precedence alone does not establish causation. Causal edges require independent evidence or a stated model.

14. CONTEXT SELECTION
Selected_t = top_k({a | relevant(a,q) and permitted(a,B_t) and valid_at(a,t)}, score, token_budget).
Selection must retain provenance and qualifiers for any summarised assertion.

15. TRI-MAPPING
ENTITY: temporal context, event, timestamp, interval, source.
RELATION: precedes, overlaps, valid_during, observed_at, supersedes.
FLOW: ingest -> parse -> normalise -> validate -> relate -> select -> reason -> update.

16. RELATIONSHIP GRAPH
TemporalContext --contains--> TemporalAssertion
TemporalAssertion --describes--> Event
TemporalAssertion --valid_during--> Interval
TemporalAssertion --observed_at--> Timestamp
TemporalAssertion --supported_by--> Source
TemporalAssertion --supersedes--> EarlierAssertion

17. MAPPING TABLE
Input event -> temporal assertion -> parsed event time -> validity check -> indexed context
Query time -> time normalisation -> interval filter -> ranked context
New evidence -> provenance check -> revision edge -> refreshed context

18. INFERENCE RULES
IF A precedes B and B precedes C, THEN A precedes C, subject to consistent time semantics.
IF validity interval excludes query time, THEN do not treat assertion as currently valid.
IF source timestamps conflict, THEN flag temporal conflict.
IF timestamp is missing, THEN preserve unknown time.
IF an assertion is superseded, THEN retain its history unless policy requires deletion.

19. MINI-RECURSION ENGINE
function TemporalStep(state, observation):
  candidate = parse_temporal(observation)
  candidate = normalise_when_possible(candidate)
  if not permitted(candidate,state.boundaries): return state
  checked = validate_with_provenance(candidate)
  state.graph = append_or_revise(state.graph,checked)
  state.active = select_context(state.graph,state.query,state.budget)
  return state

20. HOW TO READ
S is the current reasoning state; expand generates candidate interpretations; valid filters unsupported or disallowed interpretations; Score selects a task-relevant candidate; update incorporates newly checked evidence.

21. IMPLEMENTATION NOTES
Use timezone-aware timestamps, stable entity IDs, interval indexes, immutable provenance records, explicit revision histories, and retention controls. Test leap days, daylight-saving transitions, out-of-order events and missing timestamps.

22. EXECUTION CONDITIONS
The flow is well-defined only when input formats, calendar conventions, validation predicates, tie-breaking and error behaviour are specified. No unconditional correctness or safety guarantee is claimed.

23. AI SEARCH FLOW
QUERY -> INTENT -> TEMPORAL EXTRACTION -> TIME NORMALISATION -> SOURCE RETRIEVAL -> PROVENANCE VALIDATION -> INTERVAL FILTER -> RELEVANCE RANK -> RESPONSE WITH TIME QUALIFIERS -> UPDATE.

24. EXAMPLE
Assertion: 'Service available 09:00–17:00 Europe/London on 2026-11-02.'
Query: 'Available at 18:00 on 2026-11-02?'
If the interval is confirmed and no exception exists, the asserted interval excludes 18:00. This does not prove all other service hours or exceptions.

25. LIMITATIONS AND CITATION
This is a proposed formal model for the linked ontology topic, not a quotation or verified reproduction of the website. Any deployment must check its actual ontology definitions and applicable policies.
Citation: Kireth Research, Semantic Library, Temporal Context Ontology (source URL above); companion Flow Algebra formalisation, 2026-11-01.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ