Worst-Case-Optimal Similarity Joins on Graph Databases

Loading...
Thumbnail Image

Identifiers

Publication date

Authors

Arroyuelo, Diego
Bustos, Benjamin
Hogan, Aidan
Navarro, Gonzalo
Reutter, Juan

Advisors

Other responsabilities

Journal Title

Bibliographic citation

Diego Arroyuelo, Benjamin Bustos, Adrián Gómez-Brandón, Aidan Hogan, Gonzalo Navarro, and Juan Reutter. 2024. Worst-Case-Optimal Similarity Joins on Graph Databases. Proc. ACM Manag. Data 2, 1, Article 39 (February 2024), 26 pages. https://doi.org/10.1145/3639294

Type of academic work

Academic degree

Abstract

[Absctract]: We extend the concept of worst-case optimal equijoins in graph databases to the case where some nodes are required to be within the k-nearest neighbors (kNN) of others under some similarity function. We model the problem by superimposing the database graph with the kNN graph and show that a variant of Leapfrog TrieJoin (LTJ) implemented over a compact data structure called the Ring can be seamlessly extended to integrate similarity clauses with the equijoins in the LTJ query process, retaining worst-case optimality in many relevant cases. Our experiments on a benchmark that combines Wikidata and IMGpedia show that our enhanced LTJ algorithm outperforms by a considerable margin a baseline that first applies classic LTJ and then completes the query by applying the similarity predicates. The difference is more pronounced on queries where the similarity clauses are more densely connected to the query, becoming of an order of magnitude in some cases.

Description

© ACM 2024. This is the author's version of the work (accepted manuscript or postprint). It is posted here for your personal use. Not for redistribution. The definitive Version of Record was published in Proceedings of the ACM on Management of Data, https:// doi.org/10.1145/3639294

Rights