Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 71 additions & 0 deletions ns/rdf-xsd.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://www.w3.org/TR/xmlschema11-2/#rf-length> ;
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 <https://www.w3.org/TR/xmlschema11-2/#rf-minLength> ;
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 <https://www.w3.org/TR/xmlschema11-2/#rf-maxLength> ;
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 <https://www.w3.org/TR/xmlschema11-2/#rf-pattern> ;
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 <https://www.w3.org/TR/xmlschema11-2/#rf-enumeration> ;
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 <https://www.w3.org/TR/xmlschema11-2/#rf-whiteSpace> ;
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 <https://www.w3.org/TR/xmlschema11-2/#rf-maxInclusive> ;
rdfs:label "max inclusive" ;
rdfs:comment "Inclusive upper bound of the value space for ordered datatypes." .

xsd:maxExclusive a rdf:Property ;
rdfs:isDefinedBy <https://www.w3.org/TR/xmlschema11-2/#rf-maxExclusive> ;
rdfs:label "max exclusive" ;
rdfs:comment "Exclusive upper bound of the value space for ordered datatypes." .

xsd:minExclusive a rdf:Property ;
rdfs:isDefinedBy <https://www.w3.org/TR/xmlschema11-2/#rf-minExclusive> ;
rdfs:label "min exclusive" ;
rdfs:comment "Exclusive lower bound of the value space for ordered datatypes." .

xsd:minInclusive a rdf:Property ;
rdfs:isDefinedBy <https://www.w3.org/TR/xmlschema11-2/#rf-minInclusive> ;
rdfs:label "min inclusive" ;
rdfs:comment "Inclusive lower bound of the value space for ordered datatypes." .

xsd:totalDigits a rdf:Property ;
rdfs:isDefinedBy <https://www.w3.org/TR/xmlschema11-2/#rf-totalDigits> ;
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 <https://www.w3.org/TR/xmlschema11-2/#rf-fractionDigits> ;
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 <https://www.w3.org/TR/xmlschema11-2/#rf-assertions> ;
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 <https://www.w3.org/TR/xmlschema11-2/#rf-explicitTimezone> ;
rdfs:label "explicit timezone" ;
rdfs:comment "Three-valued facet (required | prohibited | optional) controlling the presence of a time-zone offset for date/time datatypes." .