arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1612.08872cs.DB
收藏

上下文无关的路径查询及其结果的结构化表示

Context-Free Path Querying with Structural Representation of Result

Semyon Grigorev, Anastasiya Ragozina

摘要:

图数据模型和图数据库在生物信息学、语义网和社交网络等领域都非常流行。在该领域的一个具体问题是路径查询与正式语法方面制定的约束。这种方法中的查询被写为语法,路径查询是针对给定语法的图解析。目前已有多种解决方案,但如何提供查询结果的结构化表示,以便于应答处理和调试,仍然是一个悬而未决的问题。在本文中,我们提出了一个图分析技术,它允许一个建立这样的表示相对于给定的文法在多项式时间和空间的任意上下文无关文法和图。该算法基于广义LL句法分析算法,而以往的解决方案大多基于CYK或Earley算法,在某些情况下降低了时间复杂度。

英文摘要:

Graph data model and graph databases are very popular in various areas such as bioinformatics, semantic web, and social networks. One specific problem in the area is a path querying with constraints formulated in terms of formal grammars. The query in this approach is written as grammar, and paths querying is graph parsing with respect to given grammar. There are several solutions to it, but how to provide structural representation of query result which is practical for answer processing and debugging is still an open problem. In this paper we propose a graph parsing technique which allows one to build such representation with respect to given grammar in polynomial time and space for arbitrary context-free grammar and graph. Proposed algorithm is based on generalized LL parsing algorithm, while previous solutions are based mostly on CYK or Earley algorithms, which reduces time complexity in some cases.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑