- From: Manuel J. Diaz via GitHub <noreply@w3.org>
- Date: Tue, 31 Mar 2026 08:29:54 +0000
- To: public-sdwig@w3.org
I only tried this with HermiT, which doesn't really support lexical patterns.
Out of curiosity, would you consider incorporating Gregorian datatypes that are numerical instead of string, e.g.
```turtle
:gregorianMonth # or :gregorianMonthInteger?
a rdfs:Datatype ;
owl:equivalentClass [
a rdfs:Datatype ;
owl:onDatatype xsd:integer ;
owl:withRestrictions (
[ xsd:minInclusive 1 ]
[ xsd:maxInclusive 12 ]
) ;
# plus usual skos:definition, rdfs:label, etc.
] .
```
I think you'd lose the very strict ISO 8601 MM with single digit months and timezone `Z` offset, but reasoners would enforce the constraints and integer parsing is, well, easy to parse.
--
GitHub Notification of comment by manuel-j-diaz
Please view or discuss this issue at https://github.com/w3c/sdw/issues/1461#issuecomment-4160851009 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 31 March 2026 08:29:55 UTC