ShEx is a grammar language created in 2012.
#3218on PLDB | 12Years Old |
Shape Expressions (ShEx) is a language for validating and describing RDF. It was proposed at the 2012 RDF Validation Workshop as a high-level, concise language for RDF validation. The shapes can be defined in a human-friendly compact syntax called ShExC or using any Resource Description Framework (RDF) serialization formats like JSON-LD or Turtle. Read more on Wikipedia...
PREFIX : <http://example.org/>
PREFIX schema: <http://schema.org/>
:Person {
schema:name xsd:string ;
schema:knows @:Person * ;
}