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 条
  • [41] The view selection problem for regular path queries
    Afonin, Sergey
    LATIN 2008: THEORETICAL INFORMATICS, 2008, 4957 : 121 - 132
  • [42] α-ADJACENCY: A GENERALIZATION OF ADJACENCY MATRICES
    Hudelson, M.
    Mcdonald, J.
    Wendler, E.
    ELECTRONIC JOURNAL OF LINEAR ALGEBRA, 2019, 35 : 365 - 375
  • [43] PAIRPQ: An Efficient Path Index for Regular Path Queries on Knowledge Graphs
    Liu, Baozhu
    Wang, Xin
    Liu, Pengkai
    Li, Sizhuo
    Wang, Xiaofei
    WEB AND BIG DATA, APWEB-WAIM 2021, PT II, 2021, 12859 : 106 - 120
  • [44] CLASSIFYING STRONGLY REGULAR GRAPHS USING LEXICAL ORDERING OF ADJACENCY MATRICES
    COOLSAET, K
    FACK, V
    COMPUTERS & MATHEMATICS WITH APPLICATIONS, 1991, 21 (2-3) : 15 - 21
  • [45] On the p-Ranks of the Adjacency Matrices of Distance-Regular Graphs
    René Peeters
    Journal of Algebraic Combinatorics, 2002, 15 : 127 - 149
  • [46] On the p-ranks of the adjacency matrices of distance-regular graphs
    Peeters, R
    JOURNAL OF ALGEBRAIC COMBINATORICS, 2002, 15 (02) : 127 - 149
  • [47] Processing Regular Path Queries on Arbitrarily Distributed Data
    Davoust, Alan
    Esfandiari, Babak
    ON THE MOVE TO MEANINGFUL INTERNET SYSTEMS: OTM 2016 CONFERENCES, 2016, 10033 : 844 - 861
  • [48] FPIRPQ: Accelerating regular path queries on knowledge graphs
    Wang, Xin
    Hao, Wenqi
    Qin, Yuzhou
    Liu, Baozhu
    Liu, Pengkai
    Song, Yanyan
    Zhang, Qingpeng
    Wang, Xiaofei
    WORLD WIDE WEB-INTERNET AND WEB INFORMATION SYSTEMS, 2023, 26 (02): : 661 - 681
  • [49] Distributed processing of regular path queries in RDF graphs
    Guo, Xintong
    Gao, Hong
    Zou, Zhaonian
    KNOWLEDGE AND INFORMATION SYSTEMS, 2021, 63 (04) : 993 - 1027
  • [50] Answering Regular Path Queries over SQ Ontologies
    Gutierrez-Basulto, Victor
    Ibanez-Garcia, Yazmin
    Jung, Jean Christoph
    THIRTY-SECOND AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE / THIRTIETH INNOVATIVE APPLICATIONS OF ARTIFICIAL INTELLIGENCE CONFERENCE / EIGHTH AAAI SYMPOSIUM ON EDUCATIONAL ADVANCES IN ARTIFICIAL INTELLIGENCE, 2018, : 1845 - 1852