diff --git a/ns/rdf-xsd.ttl b/ns/rdf-xsd.ttl index c19676f..5a0460c 100644 --- a/ns/rdf-xsd.ttl +++ b/ns/rdf-xsd.ttl @@ -226,3 +226,74 @@ xsd:NCName a rdfs:Datatype ; rdfs:label "NCName" ; rdfs:comment "XML 'non-colonized' names matching the NCName production (i.e., Name without the colon). Derived from xsd:Name. Lexical form: XML NCName (same as Name but disallowing ':')." . +# Facets +xsd:length a rdf:Property ; + rdfs:isDefinedBy ; + rdfs:label "length" ; + rdfs:comment "Exact length of the value; units depend on the base type (characters for string/anyURI, octets for binary, items for list types)." . + +xsd:minLength a rdf:Property ; + rdfs:isDefinedBy ; + rdfs:label "min length" ; + rdfs:comment "Minimum length of the value; measured in characters (string/anyURI), octets (binary), or list items for list types." . + +xsd:maxLength a rdf:Property ; + rdfs:isDefinedBy ; + rdfs:label "max length" ; + rdfs:comment "Maximum length of the value; measured in characters (string/anyURI), octets (binary), or list items for list types." . + +xsd:pattern a rdf:Property ; + rdfs:isDefinedBy ; + rdfs:label "pattern" ; + rdfs:comment "Constrains the lexical space by requiring each literal to match the supplied regular expression(s)." . + +xsd:enumeration a rdf:Property ; + rdfs:isDefinedBy ; + rdfs:label "enumeration" ; + rdfs:comment "Restricts the value space to a specified set of values (no ordering implied by the facet itself)." . + +xsd:whiteSpace a rdf:Property ; + rdfs:isDefinedBy ; + rdfs:label "white space" ; + rdfs:comment "Controls whitespace normalization during validation (preserve, replace, collapse), which can indirectly affect lexical forms." . + +xsd:maxInclusive a rdf:Property ; + rdfs:isDefinedBy ; + rdfs:label "max inclusive" ; + rdfs:comment "Inclusive upper bound of the value space for ordered datatypes." . + +xsd:maxExclusive a rdf:Property ; + rdfs:isDefinedBy ; + rdfs:label "max exclusive" ; + rdfs:comment "Exclusive upper bound of the value space for ordered datatypes." . + +xsd:minExclusive a rdf:Property ; + rdfs:isDefinedBy ; + rdfs:label "min exclusive" ; + rdfs:comment "Exclusive lower bound of the value space for ordered datatypes." . + +xsd:minInclusive a rdf:Property ; + rdfs:isDefinedBy ; + rdfs:label "min inclusive" ; + rdfs:comment "Inclusive lower bound of the value space for ordered datatypes." . + +xsd:totalDigits a rdf:Property ; + rdfs:isDefinedBy ; + rdfs:label "total digits" ; + rdfs:comment "Upper bound on the total number of decimal digits in a value (both before and after the decimal point)." . + +xsd:fractionDigits a rdf:Property ; + rdfs:isDefinedBy ; + rdfs:label "fraction digits" ; + rdfs:comment "Upper bound on the number of digits allowed in the fractional part of a decimal value; must not exceed totalDigits." . + +xsd:assertions a rdf:Property ; + rdfs:isDefinedBy ; + rdfs:label "assertions" ; + rdfs:comment "Requires values to satisfy given XPath expressions; the facet value is a sequence of assertion components." . + +xsd:explicitTimezone a rdf:Property ; + rdfs:isDefinedBy ; + rdfs:label "explicit timezone" ; + rdfs:comment "Three-valued facet (required | prohibited | optional) controlling the presence of a time-zone offset for date/time datatypes." . +