Shape Expressions Schemas

نویسندگان

  • Iovka Boneva
  • José Emilio Labra Gayo
  • Eric Prud'hommeaux
  • Slawomir Staworko
چکیده

We present Shape Expressions (ShEx), an expressive schema language for RDF designed to provide a high-level, user friendly syntax with intuitive semantics. ShEx allows to describe the vocabulary and the structure of an RDF graph, and to constrain the allowed values for the properties of a node. It includes an algebraic grouping operator, a choice operator, cardinalitiy constraints for the number of allowed occurrences of a property, and negation. We define the semantics of the language and illustrate it with examples. We then present a validation algorithm that, given a node in an RDF graph and a constraint defined by the ShEx schema, allows to check whether the node satisfies that constraint. The algorithm outputs a proof that contains trivially verifiable associations of nodes and the constraints that they satisfy. The structure can be used for complex post-processing tasks, such as transforming the RDF graph to other graph or tree structures, verifying more complex constraints, or debugging (w.r.t. the schema). We also show the inherent difficulty of error identification of ShEx.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Feasibility of Modeling HL7 FHIR Profiles Using RDF Shape Expressions Language

This presentation describes our progress to date in developing tools to mechanically parse the core models in the HL7 Fast Healthcare Interoperability Resources (FHIR) DSTU2 Ballot, and produce corresponding Shape Expressions (ShEx) schemas. In it we describe the transformation process, and how the resulting artifacts can be used in modeling FHIR profiles, and its validation and information map...

متن کامل

Understanding Constraint Expressions in Large Conceptual Schemas by Automatic Filtering

Human understanding of constraint expressions (also called schema rules) in large conceptual schemas is very difficult. This is due to the fact that the elements (entity types, attributes, relationship types) involved in an expression are defined in different places in the schema, which may be very distant from each other and embedded in an intricate web of irrelevant elements. The problem is i...

متن کامل

A Methodology of Constructing Canonical Form Database Schemas in a Multiple Heterogenous Database Environment

Databases are usually developed independently by each group or organization to meet their own individual requirements. However, as interactions between groups and organizations become increasingly common, many applications end up requiring data not from one single database but from several related databases. Thus, users have to deal with databases whose designs have never been coordinated. Inte...

متن کامل

Semantics and Validation of Shapes Schemas for 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 whi...

متن کامل

Complexity of Decision Problems for XML Schemas and Chain Regular Expressions

We study the complexity of the inclusion, equivalence, and intersection problem for XML schemas occurring in practice. These schemas make use of regular expressions with a very simple structure: they basically consist of the concatenation of factors, where each factor is a disjunction of strings, possibly extended with “∗”, “+”, or “?”. We refer to these as CHAin Regular Expressions (CHAREs). W...

متن کامل

Capturing well typed references in DTDs

Surprisingly enough, there has been few investigations for typing references of semistructured data and XML documents. This paper build on a previous proposal [7] introducing simple schemas with well-typed references and showing that such schemas, called normalized ref-schemas, are expressible as formulas of Hybrid Modal Logic. The aim of the present paper is to extend normalized ref-schemas in...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • CoRR

دوره abs/1510.05555  شماره 

صفحات  -

تاریخ انتشار 2015