{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,5,19]],"date-time":"2026-05-19T07:12:06Z","timestamp":1779174726977,"version":"3.51.4"},"reference-count":24,"publisher":"Association for Computing Machinery (ACM)","issue":"2","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. ACM Manag. Data"],"published-print":{"date-parts":[[2025,6,9]]},"abstract":"<jats:p>\n            We study the minimization problem for Conjunctive Regular Path Queries (CRPQs) and unions of CRPQs (UCRPQs). This is the problem of checking, given a query and a number\n            <jats:italic toggle=\"yes\">k<\/jats:italic>\n            , whether the query is equivalent to one of size at most\n            <jats:italic toggle=\"yes\">k<\/jats:italic>\n            . For CRPQs we consider the size to be the number of atoms, and for UCRPQs the maximum number of atoms in a CRPQ therein, motivated by the fact that the number of atoms has a leading influence on the cost of query evaluation. We show that the minimization problem is decidable, both for CRPQs and UCRPQs. We provide a 2ExpSpace upper-bound for CRPQ minimization, based on a brute-force enumeration algorithm, and an ExpSpace lower-bound. For UCRPQs, we show that the problem is ExpSpace-complete, having thus the same complexity as the classical containment problem. The upper bound is obtained by defining and computing a notion of maximal under-approximation. Moreover, we show that for UCRPQs using the so-called simple regular expressions consisting of concatenations of expressions of the form a\n            <jats:sup>+<\/jats:sup>\n            or a\n            <jats:sub>1<\/jats:sub>\n            + \u22c5\u22c5\u22c5 + a\n            <jats:sub>k<\/jats:sub>\n            , the minimization problem becomes \"PiP2\"-complete, again matching the complexity of containment.\n          <\/jats:p>","DOI":"10.1145\/3725237","type":"journal-article","created":{"date-parts":[[2025,6,9]],"date-time":"2025-06-09T15:20:31Z","timestamp":1749482431000},"page":"1-25","source":"Crossref","is-referenced-by-count":3,"title":["Minimizing Conjunctive Regular Path Queries"],"prefix":"10.1145","volume":"3","author":[{"ORCID":"https:\/\/orcid.org\/0000-0003-0114-2257","authenticated-orcid":false,"given":"Diego","family":"Figueira","sequence":"first","affiliation":[{"name":"Univ. Bordeaux, CNRS, Bordeaux INP, LaBRI, UMR 5800, F-33400, Talence, France"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-1418-3405","authenticated-orcid":false,"given":"R\u00e9mi","family":"Morvan","sequence":"additional","affiliation":[{"name":"Univ. Bordeaux, CNRS, Bordeaux INP, LaBRI, UMR 5800, F-33400, Talence, France"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-2615-6455","authenticated-orcid":false,"given":"Miguel","family":"Romero","sequence":"additional","affiliation":[{"name":"Dept. of Computer Science, Universidad Cat\u00f3lica de Chile &amp; CENIA, Santiago, Chile"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2025,6,9]]},"reference":[{"key":"e_1_2_1_1_1","first-page":"1","article-title":"Boundedness of Conjunctive Regular Path Queries. In International Colloquium on Automata, Languages and Programming (ICALP) (LIPIcs, Vol. 132)","volume":"104","author":"Barcel\u00f3 Pablo","year":"2019","unstructured":"Pablo Barcel\u00f3, Diego Figueira, and Miguel Romero. 2019. Boundedness of Conjunctive Regular Path Queries. In International Colloquium on Automata, Languages and Programming (ICALP) (LIPIcs, Vol. 132). Schloss Dagstuhl - Leibniz-Zentrum f\u00fcr Informatik, 104:1--104:15.","journal-title":"Schloss Dagstuhl - Leibniz-Zentrum f\u00fcr Informatik"},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1137\/15M1034714"},{"key":"e_1_2_1_3_1","volume-title":"Maurizio Lenzerini, and Moshe Y. Vardi.","author":"Calvanese Diego","year":"2000","unstructured":"Diego Calvanese, Giuseppe De Giacomo, Maurizio Lenzerini, and Moshe Y. Vardi. 2000. Containment of Conjunctive Regular Path Queries with Inverse. In Principles of Knowledge Representation and Reasoning (KR). Morgan Kaufmann, 176--185."},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/800105.803397"},{"key":"e_1_2_1_5_1","first-page":"1","article-title":"Size Bounds and Algorithms for Conjunctive Regular Path Queries. In International Conference on Database Theory (ICDT) (Leibniz International Proceedings in Informatics (LIPIcs))","volume":"13","author":"Cucumides Tamara","year":"2023","unstructured":"Tamara Cucumides, Juan Reutter, and Domagoj Vrgovc. 2023. Size Bounds and Algorithms for Conjunctive Regular Path Queries. In International Conference on Database Theory (ICDT) (Leibniz International Proceedings in Informatics (LIPIcs)). Leibniz-Zentrum f\u00fcr Informatik, 13:1--13:17.","journal-title":"Leibniz-Zentrum f\u00fcr Informatik"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/3180281"},{"key":"e_1_2_1_7_1","volume-title":"Evaluating Graph Queries Using Semantic Treewidth. In International Conference on Database Theory (ICDT) (LIPIcs","volume":"20","author":"Feier Cristina","year":"2024","unstructured":"Cristina Feier, Tomasz Gogacz, and Filip Murlak. 2024. Evaluating Graph Queries Using Semantic Treewidth. In International Conference on Database Theory (ICDT) (LIPIcs, Vol. 290). Schloss Dagstuhl - Leibniz-Zentrum f\u00fcr Informatik, 22:1--22:20."},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.4230\/LIPICS.ICDT.2020.9"},{"key":"e_1_2_1_9_1","doi-asserted-by":"crossref","unstructured":"Diego Figueira Adwait Godbole S. Krishna Wim Martens Matthias Niewerth and Tina Trautner. 2020. Containment of Simple Conjunctive Regular Path Queries. In Principles of Knowledge Representation and Reasoning (KR). 371--380.","DOI":"10.24963\/kr.2020\/38"},{"key":"e_1_2_1_10_1","volume-title":"Om Swostik Mishra, and Anantha Padmanabha","author":"Figueira Diego","year":"2024","unstructured":"Diego Figueira, S. Krishna, Om Swostik Mishra, and Anantha Padmanabha. 2024. Boundedness for Unions of Conjunctive Regular Path Queries over Simple Regular Expressions. In Principles of Knowledge Representation and Reasoning (KR)."},{"key":"e_1_2_1_11_1","volume-title":"Approximation and Semantic Tree-Width of Conjunctive Regular Path Queries. In International Conference on Database Theory (ICDT) (LIPIcs","volume":"19","author":"Figueira Diego","year":"2023","unstructured":"Diego Figueira and R\u00e9mi Morvan. 2023. Approximation and Semantic Tree-Width of Conjunctive Regular Path Queries. In International Conference on Database Theory (ICDT) (LIPIcs, Vol. 255). Leibniz-Zentrum f\u00fcr Informatik, 15:1--15:19."},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.46298\/lmcs-21(1:21)2025"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1145\/3584372.3588664"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/1326554.1326556"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1145\/275487.275503"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1145\/3584372.3588662"},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.4230\/LIPICS.ICDT.2023.1"},{"key":"e_1_2_1_18_1","volume-title":"Yazm\u00edn Ib\u00e1 nez-Garc\u00eda, and Filip Murlak","author":"Guti\u00e9rrez-Basulto V\u00edctor","year":"2022","unstructured":"V\u00edctor Guti\u00e9rrez-Basulto, Albert Gutowski, Yazm\u00edn Ib\u00e1 nez-Garc\u00eda, and Filip Murlak. 2022. Finite Entailment of UCRPQs over ALC Ontologies. In Principles of Knowledge Representation and Reasoning (KR). 184--194."},{"key":"e_1_2_1_19_1","volume-title":"Containment of Graph Queries Modulo Schema. In ACM Symposium on Principles of Database Systems (PODS). ACM Press, 1--26","author":"Guti\u00e9rrez-Basulto V\u00edctor","year":"2024","unstructured":"V\u00edctor Guti\u00e9rrez-Basulto, Albert Gutowski, Yazm\u00edn Ib\u00e1 nez-Garc\u00eda, and Filip Murlak. 2024. Containment of Graph Queries Modulo Schema. In ACM Symposium on Principles of Database Systems (PODS). ACM Press, 1--26."},{"key":"e_1_2_1_20_1","volume-title":"https:\/\/www.iso.org\/standard\/76120.html. Released","author":"International Organization for Standardization (ISO). 2024a. ISO\/IEC 39075:2024 GQL.","year":"2024","unstructured":"International Organization for Standardization (ISO). 2024a. ISO\/IEC 39075:2024 GQL. https:\/\/www.iso.org\/standard\/76120.html. Released in April 2024 by ISO\/IEC."},{"key":"e_1_2_1_21_1","volume-title":"Property Graph Queries (SQL\/PGQ). https:\/\/www.iso.org\/standard\/79473.html. Released","author":"International Organization for Standardization (ISO). 2024b. ISO\/IEC 9075--16:2023 Part 16","year":"2023","unstructured":"International Organization for Standardization (ISO). 2024b. ISO\/IEC 9075--16:2023 Part 16: Property Graph Queries (SQL\/PGQ). https:\/\/www.iso.org\/standard\/79473.html. Released in June 2023 by ISO\/IEC."},{"key":"e_1_2_1_22_1","volume-title":"Mohamed Ahmed Sherif, and Axel-Cyrille Ngonga Ngomo","author":"Karalis Nikolaos","year":"2024","unstructured":"Nikolaos Karalis, Alexander Bigerl, Liss Heidrich, Mohamed Ahmed Sherif, and Axel-Cyrille Ngonga Ngomo. 2024. Efficient Evaluation of Conjunctive Regular Path Queries Using Multi-way Joins. Springer, 218--235."},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1145\/1353343.1353355"},{"key":"e_1_2_1_24_1","volume-title":"Multi-model Graph Database. In ACM Symposium on Principles of Database Systems (PODS). ACM Press, 496--499","author":"Vrgo\u010d Domagoj","year":"2024","unstructured":"Domagoj Vrgo\u010d, Carlos Rojas, Renzo Angles, Marcelo Arenas, Vicente Calisto, Benjam\u00edn Far\u00edas, Sebasti\u00e1n Ferrada, Tristan Heuer, Aidan Hogan, Gonzalo Navarro, Alexander Pinto, Juan Reutter, Henry Rosales, and Etienne Toussiant. 2024. MillenniumDB: A Multi-modal, Multi-model Graph Database. In ACM Symposium on Principles of Database Systems (PODS). ACM Press, 496--499."}],"container-title":["Proceedings of the ACM on Management of Data"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3725237","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,8,22]],"date-time":"2025-08-22T23:19:05Z","timestamp":1755904745000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3725237"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,6,9]]},"references-count":24,"journal-issue":{"issue":"2","published-print":{"date-parts":[[2025,6,9]]}},"alternative-id":["10.1145\/3725237"],"URL":"https:\/\/doi.org\/10.1145\/3725237","relation":{},"ISSN":["2836-6573"],"issn-type":[{"value":"2836-6573","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,6,9]]}}}