Evaluating Regular Path Queries on Compressed Adjacency Matrices

被引:4
|
作者
Arroyuelo, Diego [1 ,2 ]
Gomez-Brandon, Adrian [1 ,3 ]
Navarro, Gonzalo [1 ,4 ]
机构
[1] Millennium Inst Foundat Res Data IMFD, Santiago, Chile
[2] Univ Tecn Federico Santa Maria, Dept Informat, Vina Del Mar, Chile
[3] Univ A Coruna, CITIC Res Ctr, La Coruna, Spain
[4] Univ Chile, Dept Comp Sci, Santiago, Chile
来源
STRING PROCESSING AND INFORMATION RETRIEVAL, SPIRE 2023 | 2023年 / 14240卷
关键词
D O I
10.1007/978-3-031-43980-3_4
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Regular Path Queries (RPQs), which are essentially regular expressions to be matched against the labels of paths in labeled graphs, are at the core of graph database query languages like SPARQL. A way to solve RPQs is to translate them into a sequence of operations on the adjacency matrices of each label. We design and implement a Boolean algebra on sparse matrix representations and, as an application, use them to handle RPQs. Our baseline representation uses the same space as the previously most compact index for RPQs and excels in handling the hardest types of queries. Our more succinct structure, based on k(2)-trees, is 4 times smaller and still solves complex RPQs in reasonable time.
引用
收藏
页码:35 / 48
页数:14
相关论文
共 50 条
  • [1] Evaluating regular path queries on compressed adjacency matrices
    Arroyuelo, Diego
    Gomez-Brandon, Adrian
    Navarro, Gonzalo
    VLDB JOURNAL, 2025, 34 (01):
  • [2] Compressed Graph Representations for Evaluating Regular Path Queries
    Navarro, Gonzalo
    Robert, Josefa
    STRING PROCESSING AND INFORMATION RETRIEVAL, SPIRE 2024, 2025, 14899 : 218 - 232
  • [3] Dichotomies for Evaluating Simple Regular Path Queries
    Martens, Wim
    Trautner, Tina
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 2019, 44 (04):
  • [4] On the Complexity of Evaluating Regular Path Queries over Linear Existential Rules
    Bienvenu, Meghyn
    Thomazo, Michael
    WEB REASONING AND RULE SYSTEMS, (RR 2016), 2016, 9898 : 1 - 17
  • [5] Parametric regular path queries
    Liu, YHA
    Rothamel, T
    Yu, FX
    Stoller, SD
    Hu, NJ
    ACM SIGPLAN NOTICES, 2004, 39 (06) : 219 - 230
  • [6] Temporal Regular Path Queries
    Arenas, Marcelo
    Bahamondes, Pedro
    Aghasadeghi, Amir
    Stoyanovich, Julia
    2022 IEEE 38TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE 2022), 2022, : 2412 - 2425
  • [7] Preferential Regular Path Queries
    Grahne, Goesta
    Thomo, Alex
    Wadge, William W.
    FUNDAMENTA INFORMATICAE, 2008, 89 (2-3) : 259 - 288
  • [8] Regular path queries with constraints
    Abiteboul, S
    Vianu, V
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1999, 58 (03) : 428 - 452
  • [9] Solving regular path queries
    Liu, YA
    Yu, FX
    MATHEMATICS OF PROGRAM CONSTRUCTION, 2002, 2386 : 195 - 208
  • [10] Reasoning on regular path queries
    Calvanese, D
    De Giacomo, G
    Lenzerini, M
    Vardi, MY
    SIGMOD RECORD, 2003, 32 (04) : 83 - 92