English

Containment of Simple Regular Path Queries

Artificial Intelligence 2020-03-11 v1 Databases

Abstract

Testing containment of queries is a fundamental reasoning task in knowledge representation. We study here the containment problem for Conjunctive Regular Path Queries (CRPQs), a navigational query language extensively used in ontology and graph database querying. While it is known that containment of CRPQs is expspace-complete in general, we focus here on severely restricted fragments, which are known to be highly relevant in practice according to several recent studies. We obtain a detailed overview of the complexity of the containment problem, depending on the features used in the regular expressions of the queries, with completeness results for np, pitwo, pspace or expspace.

Keywords

Cite

@article{arxiv.2003.04411,
  title  = {Containment of Simple Regular Path Queries},
  author = {Diego Figueira and Adwait Godbole and S. Krishna and Wim Martens and Matthias Niewerth and Tina Trautner},
  journal= {arXiv preprint arXiv:2003.04411},
  year   = {2020}
}
R2 v1 2026-06-23T14:09:25.309Z