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

基于规则的图查询语言的操作语义

A Rule-based Operational Semantics of Graph Query Languages

Dominique Duval, Rachid Echahed, Frederic Prost

摘要:

我们考虑一个核心语言的图形查询。这些查询被视为相对于面向图的数据库要解决的公式。为此,我们首先定义了一个图查询代数,其中指定了图和图同态集的一些操作。然后,引入模式的概念来表示图上一类递归定义的公式。提供了模式的语法和形式语义。之后,我们提出了一个新的声音和完整的演算来解决模式。这种演算是基于重写系统的,每个模式只需要求解一个推导。我们的演算是通用的,在这个意义上,它可以适应不同种类的图形数据库提供的图形和图形同态(匹配)的概念是很好地定义。

英文摘要:

We consider a core language of graph queries. These queries are seen as formulas to be solved with respect to graph-oriented databases. For this purpose, we first define a graph query algebra where some operations over graphs and sets of graph homomorphisms are specified. Then, the notion of pattern is introduced to represent a kind of recursively defined formula over graphs. The syntax and formal semantics of patterns are provided. Afterwards, we propose a new sound and complete calculus to solve patterns. This calculus, which is based on a rewriting system, develops only one derivation per pattern to be solved. Our calculus is generic in the sense that it can be adapted to different kinds of graph databases provided that the notions of graph and graph homomorphism (match) are well defined.

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

↑