QQESPM: A Quantitative and Qualitative Spatial Pattern Matching Algorithm
Carlos Minervino, Claudio Campelo, Maxwell Oliveira, Salatiel Silva
TL;DR
The paper defines QQ-SPM, a generalized POI group search that combines quantitative distance constraints with qualitative connectivity between POIs via topological relations. To answer QQ-SPM queries, the authors adapt ESPM into QQESPM, leveraging the IL-Quadtree index and DE-9IM to support connectivity constraints. The work formalizes the QQ-SPM problem, introduces qq-n-match and qq-e-match notions, and provides an algorithm that performs level-wise pruning and joins to produce matches. An open-source implementation and empirical evaluation against a QQ-simple baseline demonstrate that QQESPM offers superior runtime efficiency and lower memory usage, with statistically significant improvements on real-world POI data. This work enables richer spatial pattern specification for location-based services and geospatial search systems, and suggests avenues for extending predicates and parallelization.
Abstract
The Spatial Pattern Matching (SPM) query allows for the retrieval of Points of Interest (POIs) based on spatial patterns defined by keywords and distance criteria. However, it does not consider the connectivity between POIs. In this study, we introduce the Qualitative and Quantitative Spatial Pattern Matching (QQ-SPM) query, an extension of the SPM query that incorporates qualitative connectivity constraints. To answer the proposed query type, we propose the QQESPM algorithm, which adapts the state-of-the-art ESPM algorithm to handle connectivity constraints. Performance tests comparing QQESPM to a baseline approach demonstrate QQESPM's superiority in addressing the proposed query type.
