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

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

计算机科学 > 计算复杂性

arXiv:2208.03088 (cs)
[提交于 2022年8月8日]

标题:Jumping Evaluation of Nested Regular Path Queries

作者:Joachim Niehren, Sylvain Salvati, Rustam Azimov
查看论文《Jumping Evaluation of Nested Regular Path Queries》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Nested regular path queries are used for querying graph databases and RDF triple stores. We propose a new algorithm for evaluating nested regular path queries on a graph from a set of start nodes in combined linear time. We show that this complexity upper bound can be reduced by making it dependent on the size of the query's top-down needed subgraph, a notion that we introduce. For many queries in practice, the top-down needed subgraph is way smaller than the whole graph. Our algorithm is based on a novel compilation schema from nested regular path queries to monadic datalog queries. Its complexity upper bound follows from known properties of top-down datalog evaluation. As an application, we show that our algorithm permits to reformulate in simple terms a variant of a very efficient automata-based algorithm proposed by Maneth and Nguyen that evaluates navigational path queries in datatrees based on indexes and jumping. Moreover, it overcomes some limitations of Maneth and Nguyen's: it is not bound to trees and applies to graphs; it is not limited to forward navigational XPath but can treat any nested regular path query and it can be implemented efficiently without any dedicated techniques, by using any efficient datalog evaluator such as LogicBlox.
评论: In Proceedings ICLP 2022, arXiv:2208.02685
主题: 计算复杂性 (cs.CC); 数据库 (cs.DB); 数据结构与算法 (cs.DS); 计算机科学中的逻辑 (cs.LO)
引用方式: arXiv:2208.03088 [cs.CC]
  (或者 arXiv:2208.03088v1 [cs.CC] 对于此版本)
  https://doi.org/10.48550/arXiv.2208.03088
期刊参考: EPTCS 364, 2022, pp. 79-92
相关 DOI: https://doi.org/10.4204/EPTCS.364.8

提交历史

来自:EPTCS
[v1] 2022年8月8日 星期一 00:00:00 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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