Lune

WWW2025Top-tier venue

Worst-Case-Optimal Joins on Graphs with Topological Relations

José Fuentes-Sepúlveda, Adrián Gómez-Brandón, Aidan Hogan, Ayleen Irribarra-Cortés, Gonzalo Navarro, Juan L. Reutter

Abstract

Spatial data play an important role in many applications built over knowledge graphs, and are frequently referenced in queries posed to public query services, such as that of Wikidata. Querying for spatial data presents a significant challenge, as topological relations such as adjacent or contains imply inferred information, such as through the transitivity of the containment relation. However, despite all the recent advances in querying knowledge graphs, we still lack techniques specifically tailored for topological information. Applications looking to incorporate topological relations must either materialize the inferred relations, incurring high space and maintenance overheads, or query them with less efficient recursive algorithms, incurring high runtime overheads. In this paper we address the problem of leveraging topological information in knowledge graphs by designing efficient algorithms to process these queries. Our solution involves building a specific index that stores the topological information in a convenient compact form, and includes specialized algorithms that infer every possible relation from the basic topological facts in the graph. We show that, while using essentially the same space required to solve standard graph pattern queries, we can incorporate topological predicates, accounting for all the inferred information, all within worst-case-optimal time. We implement our scheme and show experimentally that it outperforms baseline solutions by a notable margin.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Builds on1

  1. Worst-Case Optimal Graph Joins in Almost No SpaceDiego Arroyuelo, Aidan Hogan, Gonzalo Navarro, Juan L. Reutter et al.SIGMOD 2021 · 34 citations

Related papers

  1. HGE: Embedding Temporal Knowledge Graphs in a Product Space of Heterogeneous Geometric SubspacesJiaxin Pan, Mojtaba Nayyeri, Yinan Li, Steffen StaabAAAI 2024 · 22 citations
  2. ExpressivE: A Spatio-Functional Embedding For Knowledge Graph CompletionAleksandar Pavlovic, Emanuel SallingerICLR 2023 · 12 citations
  3. Worst-Case-Optimal Similarity Joins on Graph DatabasesDiego Arroyuelo, Benjamin Bustos, Adrián Gómez-Brandón, Aidan Hogan et al.SIGMOD 2024 · 3 citations
  4. Towards Global-Topology Relation Graph for Inductive Knowledge Graph CompletionLing Ding, Lei Huang, Zhizhi Yu, Di Jin et al.AAAI 2025 · 8 citations
  5. Generalizing Knowledge Graph Embedding with Universal Orthogonal ParameterizationRui Li, Chaozhuo Li, Yanming Shen, Zeyu Zhang et al.ICML 2024 · 11 citations
Dusk over the sea between two cliffs drawn in fine vertical lines