SHACL

Semantic & Data Protocol

Shapes Constraint Language — W3C standard for describing and validating RDF graphs against sets of conditions (shapes). Provides closed-world validation semantics over RDF data, distinct from OWL's open-world reasoning. Used increasingly in linked-data work where validation-against-expectations is more useful than logical inference. Member of the W3C Semantic Web Suite.

Comunidade

Detalhes

Licença Specification only; implementations include Apache Jena SHACL, TopBraid SHACL API (Java), pySHACL (Python), rdf-validate-shacl (JavaScript), Shaclex (Scala)
Status de Dev 🟢 Ativo
Detalhe do Status de Dev Released / Active (W3C Recommendation; growing adoption in linked-data ecosystems)
Proprietário W3C; RDF Data Shapes Working Group
País International (W3C)
Ano de Início 2017
Stack Specification; reference implementations across multiple languages — Apache Jena (Java), TopBraid SHACL API (Java), pySHACL (Python), rdf-validate-shacl (JavaScript)
Financiamento W3C standards process
Última Investigação 1 de jul. de 2026

Domínios de Caso de Uso

Semantic & Data Protocol Atributos

Origins RDF validation (created to fill the validation gap left by OWL's open-world reasoning; influenced by ShEx and SPIN)
Database Operates over RDF data in triple stores or in-memory graphs
Query Language SHACL itself is partly a query mechanism via SPARQL-based constraints (SHACL Advanced Features); SPARQL remains the primary RDF query language
Data Formats Turtle, JSON-LD, RDF/XML (any RDF serialization) for both shapes and data
Collaborative Live Editing N/A (validation specification)
Rich Text Editing N/A
Mobile Support Library-level
Web Support Yes (rdf-validate-shacl runs in browsers; JSON-LD shapes serializable for web use)
Native Apps TopBraid Composer and other RDF editors support SHACL
Terms Open standard — W3C Recommendation
Funds N/A
Based On Earlier RDF validation languages (ShEx, SPIN); RDF data model; SPARQL for advanced constraints; influenced by structured-data validation patterns from other ecosystems
Semantic Web Compatibility Native — SHACL operates over RDF and is part of the W3C Semantic Web Suite
Protocol Maturity / Standardization W3C Recommendation (2017; SHACL Core + SHACL-SPARQL extension); SHACL 1.2 in active working group development; mature and growing in adoption
Vocabulary / Ontology Type Validation vocabulary — provides constructs for defining shapes (NodeShape, PropertyShape) with constraints (min/max cardinality, datatype, value ranges, pattern matching, etc.) over RDF graphs
Usage Pattern Linked data validation; data quality enforcement; form generation from shapes; API request/response validation; Solid Pod data validation; FAIR data practices; widely used in Wikidata, biomedical data, and W3C VC ecosystems