A Generic Model and Pattern Language for Semantic Trajectories

The trajectory of a moving object is typically represented by samples indicating the position of the object at a time instant. Analysis may be performed over the original trajectories, but also over so-called semantic trajectories, which describe the movement of an object together with contextual information, such as the streets traversed, the weather, or the places visited. In most existing approaches, the movement is first cut into segments called episodes, typically stops at places of interest and moves between them, and contextual information is then attached to each episode as a single label or aggregate value. In addition, queries about periods that do not coincide with the predefined episodes, or about the instant at which a condition starts or stops holding, require going back to the original data and repeating the segmentation. In this paper, we propose to represent the movement and its contextual information, such as the speed, the road type, or the temperature, as trajectories, that is, as functions of time, using the temporal data types (also known as moving types) of the moving object database MobilityDB. In this way, episodes are then not fixed in advance but computed at query time as the periods during which a condition holds, and new semantic trajectories can be derived from existing ones. Over this representation we define a pattern language whose semantics is based on the domain relational calculus, Allen’s interval relations, and regular expressions. We implement this pattern language in SQL, both over the conventional discrete representation and the continuous representation enabled by MobilityDB. Using two months of pollution data collected by buses in Delhi, we show that the discrete representation misses episodes and boundary crossings that occur between observations, and answers patterns that depend on the instant at which a boundary is crossed, while the continuous representation answers them directly.

Authors

Institutions

Publication Details

Journal
ACM Transactions on Spatial Algorithms and Systems
Published
2026-11-26
DOI
https://doi.org/10.1145/3860540
Primary Topic
Data Management and Algorithms
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

A Generic Model and Pattern Language for Semantic Trajectories

Esteban Zimányi, Alejandro Ariel Vaisman
ACM Transactions on Spatial Algorithms and Systems
Data Management and Algorithms
article

A Generic Model and Pattern Language for Semantic Trajectories

Esteban Zimányi, Alejandro Ariel Vaisman
article en

Abstract

The trajectory of a moving object is typically represented by samples indicating the position of the object at a time instant. Analysis may be performed over the original trajectories, but also over so-called semantic trajectories, which describe the movement of an object together with contextual information, such as the streets traversed, the weather, or the places visited. In most existing approaches, the movement is first cut into segments called episodes, typically stops at places of interest and moves between them, and contextual information is then attached to each episode as a single label or aggregate value. In addition, queries about periods that do not coincide with the predefined episodes, or about the instant at which a condition starts or stops holding, require going back to the original data and repeating the segmentation. In this paper, we propose to represent the movement and its contextual information, such as the speed, the road type, or the temperature, as trajectories, that is, as functions of time, using the temporal data types (also known as moving types) of the moving object database MobilityDB. In this way, episodes are then not fixed in advance but computed at query time as the periods during which a condition holds, and new semantic trajectories can be derived from existing ones. Over this representation we define a pattern language whose semantics is based on the domain relational calculus, Allen’s interval relations, and regular expressions. We implement this pattern language in SQL, both over the conventional discrete representation and the continuous representation enabled by MobilityDB. Using two months of pollution data collected by buses in Delhi, we show that the discrete representation misses episodes and boundary crossings that occur between observations, and answers patterns that depend on the instant at which a boundary is crossed, while the continuous representation answers them directly.

ACM Transactions on Spatial Algorithms and Systems
Université Libre de Bruxelles (BE), Instituto Tecnológico de Buenos Aires (ITBA) (AR)
Data Management and Algorithms
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon