Representing Paths in Graph Database Pattern Matching

Author:

Martens Wim1,Niewerth Matthias1,Popp Tina1,Rojas Carlos2,Vansummeren Stijn3,Vrgoč Domagoj4

Affiliation:

1. University of Bayreuth, Germany

2. IMFD Chile, Chile

3. UHasselt, Data Science Institute, Belgium

4. PUC Chile & IMFD Chile, Chile

Abstract

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.

Publisher

Association for Computing Machinery (ACM)

Subject

General Earth and Planetary Sciences,Water Science and Technology,Geography, Planning and Development

Reference63 articles.

1. The Lorel query language for semistructured data

2. Constant-Delay Enumeration for Nondeterministic Document Spanners

3. WDBench: A Wikidata Graph Query Benchmark

4. G-CORE

5. Renzo Angles , Angela Bonifati , Stefania Dumbrava , George Fletcher , Keith W. Hare , Jan Hidders , Victor E. Lee , Bei Li , Leonid Libkin , Wim Martens , Filip Murlak , Josh Perryman , Ognjen Savkovic , Michael Schmidt , Juan F. Sequeda , Slawek Staworko , and Dominik Tomaszuk . 2021 . PG-Keys: Keys for Property Graphs. In International Conference on Management of Data (SIGMOD). ACM, 2423--2436 . Renzo Angles, Angela Bonifati, Stefania Dumbrava, George Fletcher, Keith W. Hare, Jan Hidders, Victor E. Lee, Bei Li, Leonid Libkin, Wim Martens, Filip Murlak, Josh Perryman, Ognjen Savkovic, Michael Schmidt, Juan F. Sequeda, Slawek Staworko, and Dominik Tomaszuk. 2021. PG-Keys: Keys for Property Graphs. In International Conference on Management of Data (SIGMOD). ACM, 2423--2436.

Cited by 4 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Querying Graph Databases at Scale;Companion of the 2024 International Conference on Management of Data;2024-06-09

2. Compact Path Representations for Graph Database Pattern Matching;2024 IEEE 40th International Conference on Data Engineering Workshops (ICDEW);2024-05-13

3. Distinct Shortest Walk Enumeration for RPQs;Proceedings of the ACM on Management of Data;2024-05-10

4. Evaluating Regular Path Queries on Compressed Adjacency Matrices;String Processing and Information Retrieval;2023

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3