Conjunctive Regular Path Queries under Injective Semantics

Diego Figueira, Miguel Romero

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

We introduce injective semantics for Conjunctive Regular Path Queries (CRPQs), and study their fundamental properties. We identify two such semantics: Atom-injective and query-injective semantics, both defined in terms of injective homomorphisms. These semantics are natural generalizations of the well-studied class of RPQs under simple-path semantics to the class of CRPQs. We study their evaluation and containment problems, providing useful characterizations for them, and we pinpoint the complexities of these problems. Perhaps surprisingly, we show that containment for CRPQs becomes undecidable for atom-injective semantics, and PSPACE-complete for query-injective semantics, in contrast to the known EXPSPACE-completeness result for the standard semantics. The techniques used differ significantly from the ones known for the standard semantics, and new tools tailored to injective semantics are needed. We complete the picture of complexity by investigating, for each semantics, the containment problem for the main subclasses of CRPQs, namely Conjunctive Queries and CRPQs with finite languages.

Original languageEnglish
Title of host publicationPODS 2023 - Proceedings of the 42nd ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems
PublisherAssociation for Computing Machinery
Pages231-240
Number of pages10
ISBN (Electronic)9798400701276
DOIs
StatePublished - 18 Jun 2023
Externally publishedYes
Event42nd ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems, PODS 2023 - Seattle, United States
Duration: 18 Jun 202323 Jun 2023

Publication series

NameProceedings of the ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems

Conference

Conference42nd ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems, PODS 2023
Country/TerritoryUnited States
CitySeattle
Period18/06/2323/06/23

Keywords

  • containment
  • evaluation
  • graph databases
  • injective homomorphisms
  • regular path queries (RPQ)
  • simple paths

Fingerprint

Dive into the research topics of 'Conjunctive Regular Path Queries under Injective Semantics'. Together they form a unique fingerprint.

Cite this