encyclopegia.org

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

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1332926751 · 0.5 · snapshot enwiki-001332926751

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.