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 about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Builds on3
- On the Optimization of Recursive Relational Queries: Application to Graph QueriesLouis Jachiet, Pierre Genevès, Nils Gesbert, Nabil LayaïdaSIGMOD 2020 · 31 citations
- Property Graph Schema Optimization for Domain-Specific Knowledge GraphsRana Alotaibi, Chuan Lei, Abdul Quamar, Vasilis Efthymiou et al.ICDE 2021 · 15 citations
- 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
- What Makes a Desired Graph for Relational Deep Learning?Yao Cheng, Siqiang LuoICML 2026
- 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
- Enriching Relations with Additional Attributes for ERMengyi Yan, Wenfei Fan, Yaoshu Wang, Min XieVLDB 2024 · 1 citation
- Mobius: Synthesizing Relational Queries with Recursive and Invented PredicatesAalok Thakkar, Nathaniel Sands, George Petrou, Rajeev Alur et al.OOPSLA 2023 · 5 citations
- MGQL: An Executable, Small-Step Semantics of GQLAditya Thimmaiah, Tong-Nong Lin, Milos GligoricOOPSLA 2026
