Open labra opened 3 years ago
Technically this could already be achieved by specifying a min value of seconds-since-epoch or?
Not currently, XSD numeric comparisons are only spec'd for XSD numeric types. but we could go where no RDF or XML language has gone before (afaik):
:User {
:birthDate MinInclusive 2000-01-01T12:00:00Z
// wd:proposed 2021-06-06T18:35:00-01:00;
:asValueSetValue [ 1 'a' 2000-01-01T12:00:00Z ] ;
}
ShEx supports range comparisons with (Min/Max)(In/Ex)clusive but it is limited to numbers. I think it would be easy to extend it to other datatypes like dates. For example, we could express: