Properties for Paths in Graph Databases
By: Fernando Orejas , Elvira Pino , Renzo Angles and more
Potential Business Impact:
Finds better paths in computer maps.
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.
Similar Papers
Properties for Paths in Graph Databases
Databases
Finds better paths in computer maps.
Answering Constraint Path Queries over Graphs
Databases
Finds hidden patterns in complex data faster.
Database Theory in Action: From Inexpressibility to Efficiency in GQL's Order-Constrained Paths
Databases
Makes graph searches faster and more complete.