Also known as: ShEx 2.1

Theme

Data & Technology

Status

Adopting

Description

Shape Expressions (ShEx) helps organisations and communities that maintain linked data to describe the structure their data should have and check that data meets it, so that errors are found early and data from many contributors stays consistent.

For example, Wikidata uses ShEx for its entity schemas, which describe what information items such as people or places should include.

The language provides a compact, readable way to write "shapes" that set out which properties a piece of data should have, what values are allowed and how many there can be, along with tools that check RDF data against them. It is similar in purpose to SHACL.

Version 2.1 was published in 2019 as a report by the W3C Shape Expressions Community Group; it is not a full W3C Recommendation.

Licence

W3C Community Final Specification Agreement (FSA) Deed

Metadata last updated

2 December 2026