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

RDF图上的上下文无关路

Context-Free Path Queries on RDF Graphs

Xiaowang Zhang, Zhiyong Feng, Xin Wang, Guozheng Rao, Wenrui Wu

摘要:

导航图查询是一类重要的查询,它可以提取输入图节点上的隐式二元关系。RDF社区中使用的大多数导航查询语言,例如W3C SPARQL 1.1中的属性路径和nSPARQL中的嵌套正则表达式,都是基于正则表达式的。众所周知,正则表达式具有有限的表达能力;例如,一些自然查询,如同代查询,不能用正则表达式表达。为了克服这一局限性,在本文中,我们提出了cfSPARQL,SPARQL查询语言配备了上下文无关文法的扩展。cfSPARQL语言严格来说比属性路径和嵌套表达式更具表达性。额外的表达能力可以用于建模图相似性,图摘要和本体对齐。尽管增加的表达,我们表明,cfSPARQL仍然享有低计算复杂性,可以有效地进行评估。

英文摘要:

Navigational graph queries are an important class of queries that canextract implicit binary relations over the nodes of input graphs. Most of the navigational query languages used in the RDF community, e.g. property paths in W3C SPARQL 1.1 and nested regular expressions in nSPARQL, are based on the regular expressions. It is known that regular expressions have limited expressivity; for instance, some natural queries, like same generation-queries, are not expressible with regular expressions. To overcome this limitation, in this paper, we present cfSPARQL, an extension of SPARQL query language equipped with context-free grammars. The cfSPARQL language is strictly more expressive than property paths and nested expressions. The additional expressivity can be used for modelling graph similarities, graph summarization and ontology alignment. Despite the increasing expressivity, we show that cfSPARQL still enjoys a low computational complexity and can be evaluated efficiently.

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

↑