Lune

SIGMOD2025Top-tier venue

Schema-Based Query Optimisation for Graph Databases

Chandan Sharma, Pierre Genevès, Nils Gesbert, Nabil Layaïda

Abstract

Recursive graph queries are increasingly popular for extracting information from interconnected data found in various domains such as social networks, life sciences, and business analytics. Graph data often come with schema information that describe how nodes and edges are organized. We propose a type inference mechanism that enriches recursive graph queries with relevant structural information contained in a graph schema. We show that this schema information can be useful in order to improve the performance when evaluating recursive graph queries. Furthermore, we prove that the proposed method is sound and complete, ensuring that the semantics of the query is preserved during the schema-enrichment process.

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 on3

  1. On the Optimization of Recursive Relational Queries: Application to Graph QueriesLouis Jachiet, Pierre Genevès, Nils Gesbert, Nabil LayaïdaSIGMOD 2020 · 31 citations
  2. Property Graph Schema Optimization for Domain-Specific Knowledge GraphsRana Alotaibi, Chuan Lei, Abdul Quamar, Vasilis Efthymiou et al.ICDE 2021 · 15 citations
  3. Expressive Completeness of Two-Variable First-Order Logic with Counting for First-Order Logic Queries on Rooted Unranked TreesJelle Hellings, Marc Gyssens, Jan Van den Bussche, Dirk Van GuchtLICS 2023

Related papers

  1. What Makes a Desired Graph for Relational Deep Learning?Yao Cheng, Siqiang LuoICML 2026
  2. Flexible and Expressive Typed Path Patterns for GQLWenjia Ye, Matías Toro, Tomás Díaz, Bruno C. d. S. Oliveira et al.OOPSLA 2025 · 1 citation
  3. Enriching Relations with Additional Attributes for ERMengyi Yan, Wenfei Fan, Yaoshu Wang, Min XieVLDB 2024 · 1 citation
  4. Mobius: Synthesizing Relational Queries with Recursive and Invented PredicatesAalok Thakkar, Nathaniel Sands, George Petrou, Rajeev Alur et al.OOPSLA 2023 · 5 citations
  5. MGQL: An Executable, Small-Step Semantics of GQLAditya Thimmaiah, Tong-Nong Lin, Milos GligoricOOPSLA 2026
Dusk over the sea between two cliffs drawn in fine vertical lines