AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
AI TEMPORAL RELATIONSHIP ENTITY — FLOW ALGEBRA
Semantic Library | Temporal AI Entities
Authors: Mark Anthony Higgins — Sky Recursive AI
Created: 05 November 2026
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/temporal-ai-entities/ai-temporal-relationship-ontology.html
Status: Companion formalisation; not a verbatim transcription of hidden page specifications.
01. PURPOSE
Represent and evaluate temporal relations between events, states, actions, observations and intervals, preserving ordering, provenance, uncertainty and temporal consistency.
02. HST STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: input temporal facts and interval assertions.
R_t: admissible temporal relation and inference rules.
B_t: boundaries: clock basis, time zone, granularity, access and consistency constraints.
K_t: known events, states, intervals, sources and previously validated relations.
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, evidence_t)
The argmax is a selection rule only where a justified scoring model exists; otherwise retain all admissible candidates.
03. ENTITY SCHEMA
TemporalRelationship = {
relation_id, subject_id, object_id, subject_interval,
object_interval, relation_type, temporal_basis, granularity,
confidence, evidence_ids, source_ids, valid_from, valid_until,
assertion_time, status, revision_id
}
An interval is [start,end] with start <= end, unless an open boundary is explicitly represented.
Use a declared convention for inclusive/exclusive endpoints before comparing intervals.
04. CORE RELATION TYPES (ALLEN INTERVAL ALGEBRA)
before(A,B): end(A) < start(B)
after(A,B): before(B,A)
meets(A,B): end(A) = start(B)
met_by(A,B): meets(B,A)
overlaps(A,B): start(A) < start(B) < end(A) < end(B)
overlapped_by(A,B): overlaps(B,A)
starts(A,B): start(A) = start(B) and end(A) < end(B)
started_by(A,B): starts(B,A)
during(A,B): start(B) < start(A) and end(A) < end(B)
contains(A,B): during(B,A)
finishes(A,B): start(B) < start(A) and end(A) = end(B)
finished_by(A,B): finishes(B,A)
equals(A,B): start(A) = start(B) and end(A) = end(B)
These definitions assume non-degenerate, closed intervals; endpoint semantics must be adapted for other conventions.
05. ENTITY RELATIONSHIPS
TemporalRelationship -> links -> TemporalEntity
TemporalRelationship -> references -> EventTime
TemporalRelationship -> constrains -> Timeline
TemporalRelationship -> orders -> SequencePosition
TemporalRelationship -> qualifies -> TemporalContext
TemporalRelationship -> depends_on -> TimestampEntity
TemporalRelationship -> validated_by -> EvidenceEntity
TemporalRelationship -> may_conflict_with -> TemporalRelationship
TemporalRelationship -> updated_by -> TemporalObservation
06. FLOW ALGEBRA
F_temporal = Input -> Normalise -> ResolveIntervals -> Classify -> CheckConstraints -> Infer -> Validate -> Record -> Update
Input: gather assertions and their provenance.
Normalise: convert comparable timestamps to a common reference, retaining original offsets.
ResolveIntervals: establish start/end boundaries and open or unknown endpoints.
Classify: calculate supported relation types.
CheckConstraints: reject contradictory or out-of-bound assignments.
Infer: apply sound composition and converse rules.
Validate: compare deductions with source evidence and confidence limits.
Record: preserve assertions, proof paths and revisions.
Update: revise graph after new evidence without silently overwriting historical assertions.
07. FORMAL RULES
R1: before(A,B) => after(B,A).
R2: before(A,B) and before(B,C) => before(A,C).
R3: meets(A,B) and meets(B,C) => before(A,C) for non-degenerate intervals.
R4: during(A,B) => contains(B,A).
R5: equals(A,B) => equals(B,A).
R6: equals(A,B) and relation(B,C,r) => relation(A,C,r).
R7: relation(A,B,r) => relation(B,A,converse(r)).
R8: inferred relation must preserve its premises and evidence lineage.
R9: conflicting evidence triggers review rather than forced resolution.
R10: unknown endpoints cannot justify a precise relation unsupported by available bounds.
08. TEMPORAL CONSISTENCY
For every asserted interval A, verify start(A) <= end(A).
For exact, fully specified intervals, select the uniquely matching Allen relation.
For partial or uncertain intervals, maintain a set of possible relations.
If the possible-relation set becomes empty, mark the constraint network inconsistent.
Do not assume that timestamps from unsynchronised clocks are directly comparable.
Distinguish event time, observation time, processing time and assertion time.
09. UNCERTAINTY
Represent an uncertain boundary as a range or probability distribution with stated assumptions.
Propagate admissible relation sets across uncertain intervals.
Confidence must be supported by evidence or calibration; never invent a probability.
Missing data yields UNKNOWN, not FALSE.
Distinguish observed ordering from causation: before(A,B) does not imply causes(A,B).
10. RECURSIVE REFINEMENT
At iteration n:
T_n = temporal constraint graph.
D_n = derive(T_n, R_t).
T_(n+1) = validate_and_merge(T_n, D_n, evidence_n).
Stop when no new supported relations appear, constraints fail, or a configured resource boundary is reached.
For finite entity sets and monotonic relation-set narrowing, fixed-point evaluation terminates.
Non-monotonic evidence revisions require versioned recomputation and may invalidate earlier conclusions.
11. TRI-MAPPING
Entity map: temporal subjects, objects, interval nodes and relation edges.
Rule map: comparison, converse, transitivity and constraint composition.
Execution map: input -> normalisation -> inference -> validation -> recorded output.
Each output should be traceable through all three maps.
12. EXAMPLE
A = [09:00,10:00]; B = [10:00,11:00]; C = [12:00,13:00], same date and clock basis.
meets(A,B) = TRUE.
before(B,C) = TRUE.
before(A,C) = TRUE.
The example demonstrates ordering only; it does not establish causality.
13. OUTPUT CONTRACT
Return {subject, object, relation, time_basis, evidence, status, uncertainty, derivation, revision}.
Status in {VALIDATED, PROVISIONAL, CONFLICTED, UNKNOWN, REJECTED}.
Never label a relation VALIDATED without meeting the specified evidence and constraint checks.
14. CONDITIONAL EXECUTION GUARANTEE
Given correctly normalised inputs, a sound rule set, explicit endpoint semantics and consistent constraints, every VALIDATED output follows from accepted premises under the declared temporal model.
No guarantee of factual truth, complete evidence, clock accuracy or universal termination is implied.
If premises or boundaries fail, return a diagnostic status rather than an unsupported conclusion.
15. LICENCE AND ATTRIBUTION
Open research companion for the Semantic Library; retain attribution to Mark Anthony Higgins and Sky Recursive AI. Consult the source's applicable Open Research Licence for reuse conditions.