Proceedings of the VLDB Endowment · 2023 · 18 citations · 28 references
ComputingComputer ScienceData StructuresDatabasesProgramming LanguagesGraph AlgorithmsGraph TheoryQuery OptimizationQuery ProcessingStructured Query LanguageGraph DatabasesGraph MatchingGraph QueryingGraphqlPath Query ProcessingQuery EvaluationRandom SamplingRandom Sampling Algorithms
Modern graph database query languages such as GQL, SQL/PGQ, and their academic predecessor G-Core promote paths to first-class citizens in the sense that their pattern matching facility can return paths , as opposed to only nodes and edges. This is challenging for database engines, since graphs can have a large number of paths between a given node pair, which can cause huge intermediate results in query evaluation. We introduce the concept of path multiset representations (PMRs) , which can represent multisets of paths exponentially succinctly and therefore bring significant advantages for representing intermediate results. We give a detailed theoretical analysis that shows that they are especially well-suited for representing results of regular path queries and extensions thereof involving counting, random sampling, and unions. Our experiments show that they drastically improve scalability for regular path query evaluation, with speedups of several orders of magnitude.
28
Denny Vrandečić, Markus Krötzsch · Communications of the ACM · 2014 · 3.3K citations · Full text
The Lorel query language for semistructured data
Serge Abiteboul, Dallan Quass, Jason McHugh et al. · International Journal on Digital Libraries · 1997 · 1.1K citations
On compressing social networks
Flavio Chierichetti, Ravi Kumar, Silvio Lattanzi et al. · 2009 · 358 citations
Exploiting local similarity for indexing paths in graph-structured data
Raghav Kaushik, Pradeep Shenoy, Philip Bohannon et al. · 2003 · 256 citations
Qun Chen, Andrew Lim, Kian Win Ong · 2003 · 235 citations