跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 数据库

arXiv:2305.07271 (cs)
[提交于 2023年5月12日 (v1),最后修订于 2026年11月2日 (此版本, v2)]

标题:Complexity of conjunctive regular path query homomorphisms

作者:Laurent Beaudou, Florent Foucaud, Florent R. Madelaine, Lhouari Nourine, Anantha Padmanabha, Gaétan Richad
查看论文《Complexity of conjunctive regular path query homomorphisms》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:A graph database is a digraph whose arcs are labeled with symbols from a fixed alphabet. A regular graph pattern (RGP) is a digraph whose arcs are labeled with regular expressions over the alphabet. RGPs model navigational queries for graph databases called \emph{conjunctive regular path queries} (CRPQs). A match of a CRPQ in the database is witnessed by a special navigational homomorphism of the corresponding RGP to the database, where vertices of the RGP are mapped by a function $f$ to the vertices of the database, and for each arc $uv$ of the RGP, we require the existence of a walk in the database from $f(u)$ to $f(v)$, such that the word corresponding to the sequence of labels of that walk belongs to the regular language labeling the arc $uv$. We extend this definition to one of navigational homomorphisms between two RGPs, modeling a homomorphism-based form of CRPQ containment. We study the complexity of deciding the existence of such a homomorphism between RGPs. We show that this problem, in the case where general walks are considered, can still be solved by an EXPSPACE algorithm (just like general CRPQ Containment, which is known to be EXPSPACE-complete). In the case of simple paths or trails, in fact the navigational homomorphism problem considered here becomes much more tractable, as it is PSPACE-complete. We also study the problem for restricted RGPs over a unary alphabet, that arise from some applications like XPath or SPARQL. For this case, homomorphism-based CRPQ containment is in NP. We prove that certain interesting cases are in fact polynomial-time solvable.
评论: 24 pages, 7 figures. A short version appeared in the proceedings of the 15th Conference on Computability in Europe (CIE 2019). This improved version corrects mistakes from earlier versions, contains new results, and has one additional author
主题: 数据库 (cs.DB); 离散数学 (cs.DM); 形式语言与自动机理论 (cs.FL); 计算机科学中的逻辑 (cs.LO)
引用方式: arXiv:2305.07271 [cs.DB]
  (或者 arXiv:2305.07271v2 [cs.DB] 对于此版本)
  https://doi.org/10.48550/arXiv.2305.07271

提交历史

来自:Florent Foucaud
[v1] 2023年5月12日 星期五 06:19:45 UTC (21 KB)
[v2] 2026年11月2日 星期一 23:01:28 UTC (33 KB)
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.DM
< 上一篇   |   下一篇 >
最新 | 近期 | 2026-11
切换浏览方式为:
cs
cs.DB
cs.FL
cs.LO

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站