-
Notifications
You must be signed in to change notification settings - Fork 7
bug: Do not use xsd:minInclusive and xsd:maxInclusive #307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
its nice to use things that are authoritative, but one should use them right. Sorry I wasn't there at the 2024-11-27 meeting, but I don't understand why no one screamed about this before. We shouldn't leave it this way. |
Maybe I'm not reading 4.1 properly, do you want to write a synopsis here that we can then push into the spec for explanation? |
Here are some excerpts of https://www.w3.org/TR/owl2-syntax/
(xsd:minInclusive and xsd:maxInclusive are listed in Table 3)
That is: |
Requirements for the way of modeling things:
make a choice between two opposite design principles:
|
I don't know when these properties were used to replace schema:minValue and schema:maxValue . Now they are everywhere
This was a bad decision.
in OWL, xsd:minInclusive and xsd:maxInclusive are only allowed to define restrictions in the definition of a datatype . See https://www.w3.org/TR/owl2-syntax/ section 4.1. and https://www.w3.org/TR/xmlschema-2/#rf-minInclusive
Value ranges cannot be modeled easily and they seem to bring confusion.
I suggest we just define two properties to observe: one for the lower bound, and one for the upper bound.
For example: MinOperatingTemperature / MaxOperatingTemperature
The text was updated successfully, but these errors were encountered: