Contexts, time and spatiality
FormaSL represents and computes over information whose meaning depends on the conditions in which it was produced, interpreted and used. An assertion can be valid for a determined period, an authorization can cover only an operational region and an observation can have been performed under a specific reference system. Those conditions participate in the meaning of the information and of the operations consuming it.
Context, time and spatiality are dimensions of semantic interpretation. They make it possible to relate information about shared referents without erasing differences between perspectives, validity intervals, observation positions or spatial representations. The world model establishes the fundamental distinctions; the operation contracts determine which of them are relevant in each evaluation and how they cross the results.
Situated interpretation bases
Situated information is interpreted under an identifiable basis. That basis can gather a revision of the semantic source, selected theories and rules, context, scope, jurisdiction, frame, perspective and temporal references. It can also include policies, hypothetical premises and other elements required by an operation’s contract.
Those dimensions fulfill different functions. Context identifies the conditions under which information is interpreted or used. Scope bounds the coverage of a relation, rule or operation. Jurisdiction situates competences and normative dispositions. Perspective identifies the position from which an agent knows or evaluates information. A frame establishes an interpretation reference for the quantities or relations depending on it.
In a railway network, the maintenance crew and the control center can query the same stretch under distinct bases. The first evaluates technical inspections; the second also considers the authorized circulation window and the recorded operational situation. The information keeps its identities, while the operations indicate which bases, policies and perspectives were used.
FormaSL preserves the dimensions that are material to the operation’s contract. A query over inspection data may not need a spatial frame; a correlation between georeferenced measurements can depend on it. The interpretation basis is composed of identifiable semantic roles, according to the result’s needs, and can be preserved directly or by stable historical reference.
Information context and evaluation context
Context can be part of the information itself or bound to the operation using it. A Claim issued by an agent keeps the qualifications of its act of assertion. A query, in turn, can select an interval, a jurisdiction or a point of view under which it examines already existing Claims.
Those two situations can happen together. An evaluation queries historically situated information and adds its own interpretation basis. The result identifies both the relevant qualifications of the inputs and the context under which the evaluation was performed.
A circulation restriction record, for example, can indicate the stretch and the period it applies to. A query made by another operator can restrict the results to a larger region and a specific hour. The query’s slice determines the selection; the original record keeps the meaning and history of its restriction.
The contracts establish the combination rules between those bases. When two inputs have contexts, revisions or frames that need to be correlated, the consumer determines the admissible correspondence. The contracts of the context, scope and perspective families determine those combination rules.
Perspectives, visibility and plurality
FormaSL’s agents act from local epistemic positions. They can observe, receive, evaluate or not know different information about the same referent. The existence of a semantic element, its visibility to an agent and its applicability to an operation are distinct properties.
Information can be outside a query’s slice, unavailable to the observer or hidden by access conditions. When those distinctions participate in the interpretation, the language keeps the states of unknownness, absence of observation, hiding, non-applicability, falsity and non-existence in differentiated form. An empty answer reports the result of a query under its basis and completion criterion; its meaning depends on the contract used.
Plurality also applies to evaluations. Two authorities can produce incompatible positions about the condition of an operation area. The positions coexist with their attributions, contexts and normative bases. A selection of current information or a restricted view does not, by itself, perform a reconciliation. When reconciliation happens, it has an identifiable semantic relation and history.
Disclosure policies can determine which information a consumer receives. The transformation of a view under those policies has its own restriction and exposure rules. The access conditions belong to the view’s governance; the semantic status of what remains outside it stays bound to the origin information and contracts.
Time as part of meaning
Time participates in different events and judgments. Validity time indicates when information, a condition or a relation applies in the domain. Observation time situates the acquisition of information by an observer or instrument. Knowledge time indicates when the information became available to a determined agent or basis. Decision time situates a deciding act. Record or transaction time identifies its entry into a determined system or source history.
Consider an inspection performed at 9 am, transmitted to the control center at 9:20 and incorporated into the authoritative source at 10 am. The decision to release the track can be taken at 10:15, valid from 11 am. Those times belong to different roles. A historical query can ask which conditions were valid at 11 am or which information was available to the decider at 10:15; the two questions use distinct temporal bases.
The operations preserve the materially relevant temporal roles, even when their values coincide. The instant an observation was recorded does not automatically replace the instant it happened. When an event’s original time was unknown, the lack of that information remains representable until an appropriate basis allows determining it.
Chronology also participates in relations that are not purely temporal. A decision can precede an execution, and an observation can happen after an action. The order of events, the derivation of a result, its provenance and a possible causal relation are determined by their respective contracts.
Temporal referents and relations
The std::world::time library provides semantic vocabulary for representing time. It declares TemporalEntity, Instant, Interval, TemporalReferenceSystem, TemporalRepresentation and Duration. Instant and Interval specialize TemporalEntity and have explicit subtyping relations with it.
The library’s relations allow associating an entity with its temporal extension (TemporalExtentOf), indicating the beginning and end of intervals (HasBeginning and HasEnd), representing precedence (Before) and temporal containment (TemporalContains). RepresentsTemporal and UsesTemporalReferenceSystem relate temporal referents to the representations and reference systems employed; DurationOf associates a duration with a temporal entity.
The rules declared in the module include the transitivity of Before and of temporal containment under their specific conditions. An application can combine that vocabulary with contracts of validity, observation, decisions and other domain occurrences.
The temporal referent and the function it plays in a judgment remain distinct. The same interval can be used as the extension of an inspection and as the validity period of an authorization, but each use is interpreted under the corresponding relation and contract. The calendar representation, the clock and the conversions needed by realization follow the boundaries defined by the respective contracts.
Versions, revisions and history
The version of a source, theory, rule or model identifies an interpretation basis. Time indicates when information and events participate in the modeled world or its records. Version and time can be related, but have their own identities and functions.
A policy revision can enter into force after its publication; an earlier Claim continues being a historical act issued under its original basis. A result that used a determined theory revision keeps that dependency, even if a later revision comes to be selected for new operations.
The semantic history also includes corrections, retractions and successions. Those acts modify positions or their applicability under evolution contracts, keeping the bindings to the earlier occurrences. The physical organization of storage can vary, as long as the references and historical relations needed for interpretation remain recoverable.
In prolonged evaluations, the contract establishes how the temporal and version basis is bound: it can use a basis fixed for that evaluation or an explicitly defined sequence of revisions and windows. The result keeps the basis actually used, including the relevant binding instant when it influences its meaning.
Places, regions and spatial relations
FormaSL’s spatiality starts from spatial referents and qualitative relations. The std::world::space module declares the types Place, Region, SpatialReferenceSystem and SpatialRepresentation, plus the relations needed to bind entities, regions, representations and reference systems.
A region can participate in a relation of containment (SpatialContains), overlap (SpatialOverlaps), adjacency (SpatialAdjacent) or disjunction (SpatialDisjoint). Those relations describe spatial properties of the domain without requiring the referents to be reduced to coordinates.
The module includes transitivity rules for SpatialContains and symmetry for SpatialOverlaps, SpatialAdjacent and SpatialDisjoint. The derived conclusions depend on the admitted relations and the declared rules. Other spatial commitments can be defined by the contracts and ontologies of the applications using them.
In a railway yard, a maintenance zone and a circulation zone are identifiable regions. Information can establish that an inspection area is contained in the maintenance zone or that two areas are adjacent. Those relations can participate in queries and inferences even when the applications use different geometric representations for the same regions.
Referent, representation and spatial system
The language relates the spatial elements through three central structures. SpatialExtentOf<T> associates a subject with a region expressing its extension. RepresentsSpatial indicates that a determined representation corresponds to a region. UsesSpatialReferenceSystem binds that representation to the spatial reference system used.
A Region referent can have more than one representation. An operational area can be represented by a geometry used in calculations and by another representation destined for visualization. The identity of the region remains distinct from those representations and from the physical identifiers they employ.
The SpatialReferenceSystem is a semantic referent to the applicable reference system. Coordinate system identifiers, axis conventions, projection parameters and numeric transformations belong to the concrete specifications and capabilities needed by realization. Their relation to the referent and their acceptance depend on the pertinent contracts.
That organization lets the semantic structures over regions be shared by applications using different mechanisms of geometry, visualization or perception. The correspondence between a calculated result and the spatial referent remains explicitly identifiable.
Frames and spatial transformations
A frame establishes the conditions under which a spatial representation is interpreted. Map reference systems, local representations of an equipment and the frames of a camera can participate in different operations. The compatibility between frames determines whether certain information can be related under the chosen contract; the effective transformation produces another representation under a defined correspondence.
A camera, for example, provides detections in image coordinates. To correlate that information to a region of the yard, realization can use a calibration artifact, a homography and the declared origin and destination reference systems. The transformation keeps the references to the calibration and the acquisition conditions needed to interpret its result.
FormaSL keeps the numeric transformation in the realization plane. The geometry and reference-system conversion mechanisms produce operational evidence under their guarantees. The entry of that information into the semantic domain happens through the admission and interpretation bridge defined by the application’s contract.
Thus, a geometric test indicating containment or overlap needs to be related to the meaning of SpatialContains or SpatialOverlaps under the corresponding authority basis. The mechanism’s conclusion provides the information used in that passage; the semantic relation has its own introduction rule.
Spatial perception and epistemic positions
Perception systems can produce images, detections, position estimates and correlation proposals. Those results are interpreted according to the identity of the instrument, the model, the frame, the acquisition and the declared guarantees. The identification of an object in the semantic world happens through its own relations and transitions.
In the railway yard, a detector can report an object with a determined class and a bounding box in the image. A correlation mechanism can associate that detection to a region of the yard. The application considers the admitted evidence, the observation conditions and the pertinent policies before deriving an evaluation about presence in a restricted area.
The same principle holds for sensors and tracking systems. An estimated trajectory can be a tracking hypothesis; its association to a specific vehicle keeps the basis and confidence of the correlation. The observer’s position, the referent’s identity and the evaluations performed by other agents can be used together without losing their own statuses.
A cartographic projection also has that representational character. The element drawn in an interface can point to a semantic referent through a typed, reconstructible correspondence. A change of scale, style or display geometry modifies the presented representation, while the referent and the situated information used remain subject to their original contracts.
Space and time in the operations
Spatial relations can have temporal applicability. The restriction of a railway zone, for example, can hold during a maintenance window. The region has spatial identity, the restriction rule has scope and authority, and the validity period joins the temporal basis under which the rule applies.
A query selecting restricted zones at a determined hour can combine referents of std::world::space and std::world::time with the application’s operational contracts. An inference can use the containment between regions and the validity conditions to produce a result relative to the considered instant. A later decision also requires its own admission and authority conditions.
When the inputs come from distinct observers, the operation records the necessary correspondences between frames, regions and temporal roles. An observation made at 9 am in a camera frame and a restriction applicable at 9 am in an operational frame can be related through explicit transformations and bases. Temporal coincidence alone does not establish spatial identity, causality or the occurrence of an effect.
The composition preserves the qualifications its consumers need. The result can restrict a spatial or temporal slice, derive a relation or transform a representation; each passage has its own semantic continuity contract.
Hypothetical contexts in space-time
FormaSL’s scenarios allow evaluating operations under situated premises. A scenario definition establishes the hypothetical changes or conditions, while each context instance is bound to a source basis, relevant revisions and scope, frame and time parameters.
A team can analyze the hypothesis of closing a yard zone for two hours and calculate the operational routes available in that interval. The closed area, the assumed duration and the basis of the other data join the hypothetical context. The results keep their dependency on the premises used.
The scenario evaluation keeps the original basis identifiable. Its result can serve as information for a real decision through the appropriate semantic transition, which makes explicit how the hypothetical conclusion was considered and which authority conditions govern the decision.
Contextual, temporal and spatial continuity
FormaSL keeps, in each operation and composition, the qualifications needed for the result to be interpreted under the correct basis. That includes the temporal roles, the applicable context and scope, the references to frames and reference systems, the provenance bindings and the epistemic nature of the used contents.
An operation can preserve that information directly, transform it with explicit correspondence, derive new properties, restrict the result or discard qualifications when the contract authorizes that loss. The selection depends on the conditions in which the result will be used, and the material dependencies remain reconstructible.
Those properties connect contexts, time and space to the rest of the language. Ontologies establish domain interpretations; the metagraph organizes the relations; the operations use situated information; and realization provides the calculation and acquisition mechanisms foreseen by the semantic contracts.
Related documentation
The World model presents the fundamental categories of situated information. Logical architecture and metagraph describes the relational structures receiving time and space qualifications. Semantic continuity deals with the preservation of those qualifications in operations and results. Semantic operations and transitions explains the passage between computations, judgments, actions and observations. From the semantic program to realization describes the realization of calculations and acquisition boundaries.