Conjunctive Regular Path Queries with String Variables

被引:3
|
作者
Schmid, Markus L. [1 ]
机构
[1] Humboldt Univ, Berlin, Germany
来源
PODS'20: PROCEEDINGS OF THE 39TH ACM SIGMOD-SIGACT-SIGAI SYMPOSIUM ON PRINCIPLES OF DATABASE SYSTEMS | 2020年
关键词
Graph Databases; Conjunctive Regular Path Queries;
D O I
10.1145/3375395.3387663
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
We introduce the class CXRPQ of conjunctive xregex path queries, which are obtained from conjunctive regular path queries (CRPQs) by adding string variables (also called backreferences) as found in practical implementations of regular expressions. CXRPQs can be considered user-friendly, since they combine two concepts that are well-established in practice: pattern-based graph queries and regular expressions with backreferences. Due to the string variables, CXRPQs can express inter-path dependencies, which are not expressible by CRPQs. The evaluation complexity of CXRPQs, if not further restricted, is PSpace-hard in data complexity. We identify three natural fragments with more acceptable evaluation complexity: their data complexity is in NL, while their combined complexity varies between ExpSpace, PSpace and NP. In terms of expressive power, we compare the CXRPQ-fragments with CRPQs and unions of CRPQs, and with extended conjunctive regular path queries (ECRPQs) and unions of ECRPQs.
引用
收藏
页码:361 / 374
页数:14
相关论文
共 26 条
  • [1] Conjunctive Regular Path Queries with Capture Groups
    Schmid, Markus L.
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 2022, 47 (02):
  • [2] Conjunctive Regular Path Queries under Injective Semantics
    Figueira, Diego
    Romero, Miguel
    PROCEEDINGS OF THE 42ND ACM SIGMOD-SIGACT-SIGAI SYMPOSIUM ON PRINCIPLES OF DATABASE SYSTEMS, PODS 2023, 2023, : 231 - 240
  • [3] SEMANTIC TREE-WIDTH AND PATH-WIDTH OF CONJUNCTIVE REGULAR PATH QUERIES
    Figueira, Diego
    Morvan, Remi
    LOGICAL METHODS IN COMPUTER SCIENCE, 2025, 21 (01) : 1 - 60
  • [4] Expressiveness and static analysis of extended conjunctive regular path queries
    Freydenberger, Dominik D.
    Schweikardt, Nicole
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2013, 79 (06) : 892 - 909
  • [5] Efficient Evaluation of Conjunctive Regular Path Queries Using Multi-way Joins
    Karalis, Nikolaos
    Bigerl, Alexander
    Heidrich, Liss
    Sherif, Mohamed Ahmed
    Ngomo, Axel-Cyrille Ngonga
    SEMANTIC WEB, PT I, ESWC 2024, 2024, 14664 : 218 - 235
  • [6] Language-aware Indexing for Conjunctive Path Queries
    Sasaki, Yuya
    Fletcher, George
    Makoto, Onizuka
    2022 IEEE 38TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE 2022), 2022, : 661 - 673
  • [7] Universal provenance for regular path queries
    Grahne, Gosta
    Liu, Tianyi
    Shiri, Nematollaah
    PROCEEDINGS OF 14TH INTERNATIONAL WORKSHOP ON THE THEORY AND PRACTICE OF PROVENANCE, TAPP 2022, 2022, : 17 - 23
  • [8] Containment of Regular Path Queries Under Path Constraints
    Salvati, Sylvain
    Tison, Sophie
    27TH INTERNATIONAL CONFERENCE ON DATABASE THEORY, ICDT 2024, 2024, 290
  • [9] Jumping Evaluation of Nested Regular Path Queries
    Niehren, Joachim
    Salvati, Sylvain
    Azimov, Rustam
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2022, 364 : 79 - 92
  • [10] Dichotomies for Evaluating Simple Regular Path Queries
    Martens, Wim
    Trautner, Tina
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 2019, 44 (04):