e01.org

ShEx

Shape Expressions (ShEx) is a data modelling language for validating and describing a Resource Description Framework (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 RDF serialization formats like JSON-LD or Turtle. ShEx expressions can be used both to describe RDF and to automatically check the conformance of RDF data. The syntax of ShEx is similar to Turtle and SPARQL while the semantics is inspired by regular expression languages like RelaxNG. Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

Shape Expressions (ShEx) is a data modelling language for validating and describing a Resource Description Framework (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 RDF serialization formats like JSON-LD or Turtle. ShEx expressions can be used both to describe RDF and to automatically check the conformance of RDF data. The syntax of ShEx is similar to Turtle and SPARQL while the semantics is inspired by regular expression languages like RelaxNG. ==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 . ==Implementations== ==References== ==Further reading== ==See also== SHACL Wikidata XML schemas

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"ShEx". 1768408492. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1332926751

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·