Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

SHACL

< >

SHACL, aka Shapes Constraint Language, is a programming language created in 2015.

#2021on PLDB 9Years Old
Wikipedia

A standard language for describing Resource Description Framework (RDF) graphs.


Example from the web:
ex:PersonShape a sh:NodeShape ; sh:targetClass ex:Person ; # Applies to all persons sh:property [ # _:b1 sh:path ex:ssn ; # constrains the values of ex:ssn sh:maxCount 1 ; sh:datatype xsd:string ; sh:pattern "^\\d{3}-\\d{2}-\\d{4}TEMPLATEquot; ; ] ; sh:property [ # _:b2 sh:path ex:worksFor ; sh:class ex:Company ; sh:nodeKind sh:IRI ; ] ; sh:closed true ; sh:ignoredProperties ( rdf:type ) .
- Build the next great programming language Add About Search Keywords Livestreams Labs Resources Acknowledgements Part of the World Wide Scroll