Writing data schemas with ShEx
Make a tutorial on how to create a schema for the measurements of a geitbåt.
This could serve as the starting point for writing schemas using ShEx (Shape Expressions).
Graph compatible open data schemas
Daniel Mahal wrote a demo Shape Expression in ShExC format that can automatically generate a form via RDFShape
PREFIX ex: <http://ex.example/#>
prefix xsd: <http://www.w3.org/2001/XMLSchema#>
prefix dcterms: <http://purl.org/dc/terms/>
start = @<Topic>
<Topic> {
dcterms:title xsd:string;
ex:number xsd:integer MinInclusive 13 MaxInclusive 20;
ex:mål xsd:integer MinInclusive 0 MaxInclusive 5
}
This example includes client-side validation