# Example 38 Facets on Literals
# https://book.validatingrdf.com/bookHtml010.html#sec72

PREFIX :       <http://example.org/>
PREFIX schema: <http://schema.org/>
PREFIX xsd:    <http://www.w3.org/2001/XMLSchema#>

:Product {
 schema:name       xsd:string  MaxLength 10 ;
 schema:weight     xsd:decimal MinInclusive 1 MaxInclusive 200 ;
 schema:sku        /^[A-Z0-9]{10,20}$/ ;
}