ACM Transactions on Spatial Algorithms and Systems

A Generic Model and Pattern Language for Semantic Trajectories

Alejandro Vaisman, Esteban Zimányĩ

Key points

From the paper's conclusion
  • We implement this pattern language in SQL, both over the conventional discrete representation and the continuous representation enabled by MobilityDB.

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.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers

A Generic Model and Pattern Language for Semantic Trajectories — Science Skim