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

RDF的XML模式语义及其验证

Semantics and Validation of Shapes Schemas for RDF

Iovka Boneva, Jose Emilio Labra Gayo, Eric G. Prud'hommeau

摘要:

我们提出了一个正式的语义和形状模式,RDF图的表达模式语言,是形状表达式语言2.0的基础的合理性证明。它可以用来描述RDF图的词汇表和结构,并约束该图中节点的可接受属性和值。该语言定义了一种称为形状的类型化机制,可以根据形状检查图的节点。它包括一个代数分组运算符,一个选择运算符和基数约束的数量允许出现的属性。可以使用布尔运算符组合图形,并且可以使用对其他形状的递归引用。我们描述了语言的语法和定义其语义。语义被证明是定义良好的模式,满足合理的句法限制,即分层使用否定和递归。我们提出了两个算法的RDF图对形状模式的验证。第一个算法是语义的直接实现,而第二个是一个重要的改进。我们还简要介绍了实施指南。

英文摘要:

We present a formal semantics and proof of soundness for shapes schemas, an expressive schema language for RDF graphs that is the foundation of Shape Expressions Language 2.0. It can be used to describe the vocabulary and the structure of an RDF graph, and to constrain the admissible properties and values for nodes in that graph. The language defines a typing mechanism called shapes against which nodes of the graph can be checked. It includes an algebraic grouping operator, a choice operator and cardinality constraints for the number of allowed occurrences of a property. Shapes can be combined using Boolean operators, and can use possibly recursive references to other shapes. We describe the syntax of the language and define its semantics. The semantics is proven to be well-defined for schemas that satisfy a reasonable syntactic restriction, namely stratified use of negation and recursion. We present two algorithms for the validation of an RDF graph against a shapes schema. The first algorithm is a direct implementation of the semantics, whereas the second is a non-trivial improvement. We also briefly give implementation guidelines.

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

↑