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

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

计算机科学 > 数据库

arXiv:2211.13313 (cs)
[提交于 2022年11月23日]

标题:Run-Based Semantics for RPQs

作者:Claire David, Victor Marsault, Nadime Francis
查看论文《Run-Based Semantics for RPQs》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:The formalism of RPQs (regular path queries) is an important building block of most query languages for graph databases. RPQs are generally evaluated under homomorphism semantics; in particular only the endpoints of the matched walks are returned. Practical applications often need the full matched walks to compute aggregate values. In those cases, homomorphism semantics are not suitable since the number of matched walks can be infinite. Hence, graph-database engines adapt the semantics of RPQs, often neglecting theoretical red flags. For instance, the popular query language Cypher uses trail semantics, which ensures the result to be finite at the cost of making computational problems intractable. We propose a new kind of semantics for RPQs, including in particular simple-run and binding-trail semantics, as a candidate to reconcile theoretical considerations with practical aspirations. Both ensure the output to be finite in a way that is compatible with homomorphism semantics: projection on endpoints coincides with homomorphism semantics. Hence, testing the emptiness of result is tractable, and known methods readily apply. Moreover, simple-run and binding-trail semantics support bag semantics, and enumeration of the bag of results is tractable
评论: 35 pages
主题: 数据库 (cs.DB); 形式语言与自动机理论 (cs.FL); 计算机科学中的逻辑 (cs.LO)
引用方式: arXiv:2211.13313 [cs.DB]
  (或者 arXiv:2211.13313v1 [cs.DB] 对于此版本)
  https://doi.org/10.48550/arXiv.2211.13313

提交历史

来自:Victor Marsault
[v1] 2022年11月23日 星期三 21:31:34 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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