首页> 外国专利> TRANSLATING FUNCTIONAL GRAPH TRAVERSAL LANGUAGE TO EXTENDED STRUCTURED QUERY LANGUAGE

TRANSLATING FUNCTIONAL GRAPH TRAVERSAL LANGUAGE TO EXTENDED STRUCTURED QUERY LANGUAGE

机译:将功能图遍历语言转换为扩展的结构化查询语言

摘要

In embodiments of the present disclosure, there is provided a scheme for translating a functional graph traversal language to an extended Structured Query Language (SQL). After a first query compiled with the functional graph traversal language is obtained, the first query is translated to a second query in the form of the extended Structured Query Language based on the translating rules. By extending the standard Structured Query Language, embodiments of the present disclosure enable retaining directed edges between vertices in the graph database in the second query and retaining flow control, iteration, temporary variable definition, advanced data structure, side effect, and dependency between steps included in the first query. Therefore, according to embodiments of the present disclosure, by translating the functional graph traversal language, it is possible to identify queries with the same semantics in the functional graph traversal language, thereby optimizing queries in the functional graph traversal language.
机译:在本公开的实施例中,提供了一种用于将功能图遍历语言翻译成扩展的结构化查询语言(SQL)的方案。在获得使用功能图遍历语言编译的第一查询之后,基于翻译规则,将第一查询转换为扩展的结构化查询语言形式的第二查询。通过扩展标准的结构化查询语言,本公开的实施例使得能够在第二查询中在图数据库中的顶点之间保留有向边,并且保留流控制,迭代,临时变量定义,高级数据结构,副作用以及所包括的步骤之间的依赖性。在第一个查询中。因此,根据本公开的实施例,通过翻译功能图遍历语言,可以识别功能图遍历语言中具有相同语义的查询,从而优化功能图遍历语言中的查询。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号