-
Notifications
You must be signed in to change notification settings - Fork 5
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
capture domain/range correlations in "restriction" ontology #91
Comments
This is a nice example, how reused properties lead to semantic overloading. |
"appliesTo" is a highly ambiguous name, even though it may make triples sound like English. There is no problem to use polymorphic domain, as soon as the range is a single class. And so a nice convention is to name properties by the target class. Eg |
Take into account that we revised many of these properties that are general. I do not think these changes are currently applied to the OWL ontology (probably they will be in the future versions) but we have tried to be more specific in some cases or, alternatively, we use general properties but with domains and/or ranges owl:Thing. The issue that I see here, and this is a message more for @costezki :), is that in the UML is difficult to express some of these general cases, unless we introduce the class owl:Thing (that is not very UML style :) ). Then, this has an impact on the automatic translation from UML to OWL which is represented in this repo. |
If I understand the problem correctly, the most elegant, and correct, solution for this would be that, instead of the specifying domain/ranges for the property (with possibly the union of multiple classes), to create With this approach, we are not inferring the type of individual that is at either end of the property (which domain/range statements would do), but rather we would state that the property, when used in context of class So, perhaps the best solution would be to provide flags for the model2owl tool, so that users can express their preferences about what kind of statements they would like to be generated in the restriction layer: domain/range, someValuesFrom and/or allValuesFrom. |
I guess someone quite contravened your UML Conventions with this prop because it's wildly polymorphic:
There are desired domain-range correlations, eg:
ReviewTerm appliesTo Lot
,SecurityClearanceTerm appliesTo org:Site
.They are captured in "shapes" but not in "restriction". You should also emit them in "restriction" by using
onProperty
.The text was updated successfully, but these errors were encountered: