Knowledge graphs have become popular over the past decade and frequently rely on the Resource Description Framework (RDF) or Property Graph (PG) databases as data models. However, the query languages for these two data models -- SPARQL for RDF and the PG traversal language Gremlin -- are lacking interoperability. We present Gremlinator, the first translator from SPARQL -- the W3C standardized language for RDF -- and Gremlin -- a popular property graph traversal language. Gremlinator translates SPARQL queries to Gremlin path traversals for executing graph pattern matching queries over graph databases. This allows a user, who is well versed in SPARQL, to access and query a wide variety of Graph Data Management Systems (DMSs) avoiding the steep learning curve for adapting to a new Graph Query Language (GQL). Gremlin is a graph computing system-agnostic traversal language (covering both OLTP graph database or OLAP graph processors), making it a desirable choice for supporting interoperability for querying Graph DMSs. Gremlinator currently supports the translation of a subset of SPARQL 1.0, specifically the SPARQL SELECT queries.
翻译:过去十年来,知识图表变得很流行,并经常以资源描述框架或财产图数据库作为数据模型,但这两种数据模型的查询语言 -- -- RDF的SPARQL 和PG Traversal 语言Gremlin -- -- 缺乏互操作性。我们介绍SPARQL的第一个翻译者Gremlinator -- -- RDF的W3C标准化语言和Gremlin -- -- 一种受欢迎的属性图解曲解语言。Gremlinator将 SPARQL 查询翻译成Gremlin路径轨迹数据库,用于在图形数据库中执行图形模式匹配查询。这让在 SPARQL 中精通读的用户能够访问和查询范围广泛的图表数据管理系统(DMS),避免为适应新的图形Quagraph Query 语言(GQQQQ) 的急剧学习曲线。Gremlin是一张图表计算系统- Ancriversal 语言(覆盖 OLTP 图形数据库或OLAP 图表处理器),从而成为支持查询DRANS SL 具体的SL 翻译的适当选择。