Skip to main content

AI Spatial Relationship Entity Ontology

Spatial and Environmental AI Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 05 November 2026
Audio Overview
AI SPATIAL RELATIONSHIP ENTITY — FLOW ALGEBRA
Semantic Library | Spatial and Environmental AI Entities
Authors: Mark Anthony Higgins — Sky Recursive AI
Prepared: 05 November 2026
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/spatial-and-environmental-ai-entities/ai-spatial-relationship-entity-ontology.html
Status: Companion formalisation; page's embedded formal specifications were not available in retrieved text.

01. PURPOSE
Represent, evaluate, infer and update spatial relationships between entities while preserving reference frames, geometry, provenance, uncertainty and boundaries.

02. ENTITY DEFINITION
SpatialRelationship = (id, subject, predicate, object, frame, geometry, time, evidence, confidence, status).
subject and object identify spatial entities; predicate specifies a typed relationship; frame identifies the coordinate reference system; time bounds validity.

03. HST STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t = observed or asserted spatial entities, coordinates, geometry and timestamps.
R_t = spatial predicates, transformations, topological and metric rules.
B_t = frame, scale, dimensionality, temporal validity, access and safety constraints.
K_t = verified relations, provenance, uncertainty and prior spatial knowledge.

04. FORMAL FLOW
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x, B_t) AND supported(x, K_t, I_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)
If V_t is empty, return UNKNOWN or CONFLICT, not a fabricated relation.
The argmax ranks admissible candidates; it does not establish objective certainty.

05. ENTITY GRAPH
SpatialRelationship --hasSubject--> SpatialEntity
SpatialRelationship --hasObject--> SpatialEntity
SpatialRelationship --usesFrame--> CoordinateReferenceFrame
SpatialRelationship --hasPredicate--> SpatialPredicate
SpatialRelationship --supportedBy--> SpatialObservation
SpatialRelationship --validDuring--> TemporalInterval
SpatialRelationship --boundedBy--> SpatialBoundary
SpatialRelationship --qualifiedBy--> ConfidenceEstimate
SpatialRelationship --derivedFrom--> SpatialInference

06. RELATION TYPES
Topological: intersects, disjoint, contains, within, touches, overlaps, equals.
Directional: northOf, southOf, eastOf, westOf, above, below, leftOf, rightOf.
Metric: distanceFrom, nearerThan, fartherThan, withinRadius.
Connectivity: adjacentTo, connectedTo, reachableFrom.
Directional predicates require an explicitly declared frame or viewpoint.

07. RELATION RULES
contains(A,B) => within(B,A), subject to compatible region semantics.
within(A,B) => contains(B,A).
disjoint(A,B) => disjoint(B,A).
intersects(A,B) => intersects(B,A).
Distance(A,B) = Distance(B,A) for symmetric metric distance.
contains(A,B) AND contains(B,C) => contains(A,C) under consistent geometry and containment definitions.
Do not infer leftOf or rightOf without viewpoint and orientation.
Do not infer connectedTo from nearTo alone.

08. FRAME AND GEOMETRY VALIDATION
Validate dimensionality, units, datum, axis order and projection.
For different frames, transform geometry using an explicit, validated T_{A->B}.
Compare geometries only after transformation into a compatible frame.
Retain original coordinates, transformation method and estimated error.

09. SPATIAL REASONING PATHWAY
Input -> entity resolution -> frame validation -> geometry normalisation -> candidate relations -> boundary filtering -> evidence assessment -> inference -> result.
Each transition records the source, rule, input state and output state.

10. RECURSIVE REFINEMENT
R^(0) = initial candidate spatial relations.
R^(n+1) = validate(refine(R^(n), newEvidence), B_t).
Stop on convergence, maximum iterations, insufficient evidence or detected conflict.
Preserve unresolved alternatives where evidence does not discriminate.

11. TEMPORAL UPDATE
Relation(A,B,t) may change as positions, boundaries or viewpoints change.
Expire or supersede assertions when their validity interval ends.
Do not overwrite historical spatial assertions without retaining provenance.

12. UNCERTAINTY AND EVIDENCE
Attach measurement error, confidence method, evidence source and observation time.
Propagate coordinate and transformation uncertainty through metric calculations.
Separate observed, asserted, inferred and simulated relationships.
An unsupported relation is UNKNOWN, not FALSE.

13. TRI-MAPPING
Ontology: subject --predicate--> object.
Algebra: evaluate predicate(subject, object | frame, time, boundaries).
Execution: normalise -> check -> infer -> validate -> emit with evidence.

14. INFERENCE AND FAILURE CONDITIONS
Reject missing entity identifiers, incompatible frames, invalid geometry or disallowed operations.
Flag contradictory predicates within the same frame and validity interval.
Use explicit conflict resolution rather than silently selecting a result.
Report transformation failure and uncertainty above accepted thresholds.

15. OUTPUT CONTRACT
Return: relation_id, subject_id, predicate, object_id, frame_id, valid_time,
status, confidence, uncertainty, evidence_ids, derivation_rules, provenance.
Permitted status: VERIFIED, INFERRED, PROVISIONAL, UNKNOWN, CONFLICT, INVALID.

16. CONDITIONAL EXECUTION GUARANTEE
If all required inputs, frames, predicates and boundary conditions are valid,
the procedure deterministically applies its declared validation and inference rules.
This guarantees rule-consistent processing under stated assumptions, not that
observations are complete, predictions are correct, or real-world positions are certain.

17. CITATION AND LICENCE NOTE
Attribution: Mark Anthony Higgins — Sky Recursive AI.
Source page: AI Spatial Relationship Entity Ontology, Kireth Research.
This companion text is an original formalisation of the named topic, not a verbatim
transcription of unavailable embedded page specifications. Consult the source
for its applicable Open Research Licence and citation requirements.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ