首页    期刊浏览 2024年12月02日 星期一
登录注册

文章基本信息

  • 标题:Datalog Rewritings of Regular Path Queries using Views
  • 本地全文:下载
  • 作者:Nadime Francis ; Luc Segoufin ; Cristina Sirangelo
  • 期刊名称:Logical Methods in Computer Science
  • 印刷版ISSN:1860-5974
  • 电子版ISSN:1860-5974
  • 出版年度:2015
  • 卷号:11
  • 期号:4
  • 页码:1
  • DOI:10.2168/LMCS-11(4:14)2015
  • 出版社:Technical University of Braunschweig
  • 摘要:We consider query answering using views on graph databases, i.e. databases structured as edge-labeled graphs. We mainly consider views and queries specified by Regular Path Queries (RPQ). These are queries selecting pairs of nodes in a graph database that are connected via a path whose sequence of edge labels belongs to some regular language. We say that a view V determines a query Q if for all graph databases D, the view image V(D) always contains enough information to answer Q on D. In other words, there is a well defined function from V(D) to Q(D). Our main result shows that when this function is monotone, there exists a rewriting of Q as a Datalog query over the view instance V(D). In particular the rewriting query can be evaluated in time polynomial in the size of V(D). Moreover this implies that it is decidable whether an RPQ query can be rewritten in Datalog using RPQ views.
  • 其他关键词:Regular Path Queries, Views, Rewriting, Datalog.
国家哲学社会科学文献中心版权所有