ShEx
Shape Expressions (ShEx) is a data modelling language for validating and describing a Resource Description Framework (RDF).[src] It was proposed at the 2012 RDF Validation Workshop as a high-level, concise language for RDF validation.[src] The shapes can be defined in a human-friendly compact syntax called ShExC or using any RDF serialization formats like JSON-LD or Turtle.[src] ShEx expressions can be used both to describe RDF and to automatically check the conformance of RDF data.[src] The syntax of ShEx is similar to Turtle and SPARQL while the semantics is inspired by regular expression languages like RelaxNG.[src]
Shape Expressions (ShEx) is a data modelling language for validating and describing a Resource Description Framework (RDF).[src] It was proposed at the 2012 RDF Validation Workshop as a high-level, concise language for RDF validation.[src] The shapes can be defined in a human-friendly compact syntax called ShExC or using any RDF serialization formats like JSON-LD or Turtle.[src] ShEx expressions can be used both to describe RDF and to automatically check the conformance of RDF data.[src] The syntax of ShEx is similar to Turtle and SPARQL while the semantics is inspired by regular expression languages like RelaxNG.[src] ==Example== PREFIX : PREFIX schema: PREFIX xsd: Person { schema:name xsd:string ; schema:knows @:Person * ; } The previous example declares that nodes conforming to shape Person must have one property schema:name with a string value and zero or more properties schema:knows whose values must conform with shape Person .[src] ==Implementations== ==References== ==Further reading== ==See also== SHACL Wikidata XML schemas[src]
12 sentences · 12 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"ShEx." encyclopegia.org, 2026, https://encyclopegia.org/wiki/shex. Accessed 25 November 2026.
Chicago
"ShEx." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/shex.
APA
encyclopegia.org. (2026). ShEx. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/shex
Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON