arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1508.03843cs.DBcs.DM
收藏

Gremlin图形处理机与语言

The Gremlin Graph Traversal Machine and Language

Marko A. Rodriguez

摘要:

Gremlin是一种图遍历机器和语言,由Apache TinkerPop项目设计,开发和分发。Gremlin是一个图遍历机,它由三个相互作用的部分组成:图$G$、遍历器$Ψ$和遍历器集$T$ .遍历器根据遍历中指定的指令在图中移动,其中计算的结果是所有停止的遍历器的最终位置。Gremlin机器可以在任何支持图形计算系统上执行,例如OLTP图形数据库和/或OLAP图形处理器。Gremlin作为一种图遍历语言,是一种用用户的本机程序设计语言实现的函数语言,用于定义Gremlin机器的$Ψ$。本文提供了Gremlin的数学描述,并详细介绍了它的自动机和功能属性。这些属性使Gremlin能够自然地支持命令式和声明式查询,主机语言不可知论,用户定义的域特定语言,可扩展的编译器/优化器,单机和多机执行模型,混合深度和广度优先评估,以及通用Gremlin机器及其各自蕴涵的存在。

英文摘要:

Gremlin is a graph traversal machine and language designed, developed, and distributed by the Apache TinkerPop project. Gremlin, as a graph traversal machine, is composed of three interacting components: a graph $G$, a traversal $Ψ$, and a set of traversers $T$. The traversers move about the graph according to the instructions specified in the traversal, where the result of the computation is the ultimate locations of all halted traversers. A Gremlin machine can be executed over any supporting graph computing system such as an OLTP graph database and/or an OLAP graph processor. Gremlin, as a graph traversal language, is a functional language implemented in the user's native programming language and is used to define the $Ψ$ of a Gremlin machine. This article provides a mathematical description of Gremlin and details its automaton and functional properties. These properties enable Gremlin to naturally support imperative and declarative querying, host language agnosticism, user-defined domain specific languages, an extensible compiler/optimizer, single- and multi-machine execution models, hybrid depth- and breadth-first evaluation, as well as the existence of a Universal Gremlin Machine and its respective entailments.

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

↑