Properties for Paths in Graph Databases

📅 2025-07-25
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
To address result explosion and ambiguous path semantics in navigational graph database queries, this paper proposes a formal framework for path attributes: quantitative constraints—such as path length and accumulated cost—are natively embedded into the operational semantics of the query language, enabling the first seamless integration of path properties with query processing. Unlike register automata, our framework offers strictly greater expressive power; its completeness and consistency are rigorously established via co-modeling of operational and logical semantics. We implement a prototype system based on this framework. Experiments demonstrate that incorporating path-attribute filtering significantly reduces result set size (by 72% on average), improves query throughput (up to 4.3× speedup), and effectively identifies and eliminates malformed paths.

Technology Category

Application Category

📝 Abstract
This paper presents a formalism for defining properties of paths in graph databases, which can be used to restrict the number of solutions to navigational queries. In particular, our formalism allows us to define quantitative properties such as length or accumulated cost, which can be used as query filters. Furthermore, it enables the identification and removal of paths that may be considered ill-formed. The new formalism is defined in terms of an operational semantics for the query language that incorporates these new constructs, demonstrating its soundness and completeness by proving its compatibility with a simple logical semantics. We also analyze its expressive power, showing that path properties are more expressive than register automata. Finally, after discussing some complexity issues related to this new approach, we present an empirical analysis carried out using our prototype implementation of the graph database that serves as a running example throughout the paper. The results show that queries using path properties as filters outperform standard queries that do not use them.
Problem

Research questions and friction points this paper is trying to address.

Defining path properties in graph databases
Filtering queries using quantitative path properties
Identifying and removing ill-formed paths efficiently
Innovation

Methods, ideas, or system contributions that make the work stand out.

Formalism for defining path properties in graphs
Operational semantics for query language compatibility
Path properties enhance query performance significantly
🔎 Similar Papers
No similar papers found.
Fernando Orejas
Fernando Orejas
Universitat Politècnica de Catalunya
Software specification and ModelingGraph TransformationModel TransformationLogic ProgrammingAlgebraic Methods in Software
E
Elvira Pino
Universitat Politècnica de Catalunya, Barcelona, Spain
Renzo Angles
Renzo Angles
Department of Computer Science, Universidad de Talca
Graph databasesQuery LanguagesRDFSPARQL
E
E. Pasarella
Universitat Politècnica de Catalunya, Barcelona, Spain
N
Nikos Milonakis
Universitat Politècnica de Catalunya, Barcelona, Spain