ShEx
From Wikipedia, the free encyclopedia
For the UK government body, see Shareholder Executive.
Shape Expressions (ShEx) [2] is a data modelling language for validating and describing a Resource Description Framework (RDF).
Quick Facts Paradigm, Designed by ...
Paradigm | Data Validation |
---|---|
Designed by | Eric Prud'hommeaux, Iovka Boneva, Jose Emilio Labra Gayo, Gregg Kellogg, Shape Expressions W3C Community Group |
Stable release | 2.1
/ November 21, 2018; 5 years ago (2018-11-21) |
Scope | Semantic Web |
Implementation language | JavaScript, Scala |
Filename extensions | shex, sx |
Website | www |
Major implementations | |
shex.js,[1] Shaclex[1] | |
Influenced by | |
Turtle, SPARQL, RelaxNG | |
Influenced | |
SHACL |
Close
It was proposed at the 2012 RDF Validation Workshop[3] as a high-level, concise language for RDF validation.
The shapes can be defined in a human-friendly compact syntax called ShExC or using any RDF serialization formats like JSON-LD or Turtle.
ShEx expressions can be used both to describe RDF and to automatically check the conformance of RDF data. The syntax of ShEx is similar to Turtle and SPARQL while the semantics is inspired by regular expression languages like RelaxNG.