-
Notifications
You must be signed in to change notification settings - Fork 4
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
[BUG] - reflexive relation entity #64
Comments
Steve and I agree that option 2 is preferable. |
After further reflection I don't think the range restrictions are what we need here. It is legal to construct a universal range restriction of the form Similarly, it is legal to construct a universal range restriction of the form The correct encoding is I'm still somewhat uneasy with having the OML interpretation of |
Thanks for the analysis. Since the only sensible encoding is |
I like option 1 more because "reflexive" here is always used in the context of a relation entity, which always declares a domain/range. Therefore, OML "reflexive" here can be considered contextual. I don't see a use case where the intension would be to make the relation reflexive on owl:Thing, while clearly giving it a different domain/range (effectively declaring them equivalent to owl:Thing). However, the less useful interpretation is still expressable in OML by using owl:Thing as the domain/range of the relation in this case. |
I could go with that; let's hear from Steve. |
Description
A clear and concise description of what the bug is.
Declaring an OML relation entity whose range is
A
to be reflexive has the counter-intuitive effect of forcingA
to be equivalent toowl:Thing
.Steps to Reproduce
Steps to reproduce the behavior:
Per OWL2 Reflexive Object Properties, this results in an axiom:
which is syntactic sugar for:
That is, every instance
owl:Thing
must also be attached to itself.Since OWL2 distinguishes the declaration of an object property from axioms specifying its domain and range, the syntactic sugar for a reflexive object property is the only reasonable meaning that can be attributed to such an axiom.
In OML, every relation must be declared with an explicit domain and range. In that context, it is reasonable to expect that a reflexive relation would have a meaning limited to its domain/range instead of the whole OWL2 universe according to the current OML2OWL mapping. That is, it would be reasonable to expect that an OML reflexive relation entity like the example above would effectively mean the following:
In other words, it is practically useful to distinguish two notions of reflexivity:
Currently, OML only supports (1) and lacks the expressiveness to support (2).
There are several options available to fix this problem:
Option 1:
Change the OML2OWL mapping for a reflexive relation entity from the universal reflexivity (1) to self reflexivity (2).
Option 2:
Add support in OML for the OWL2 self restriction axiom.
For example:
which in OWL2 would be:
or:
which in OWL2 would be:
Option 3:
Add a new keyword in OML,
selfReflexive
for the declaration of an OML Relation Entity to remind users about the difference between universalreflexivity
(1) andselfReflexivity
(2).For example:
which would mean either:
Option 4: use a rule
There are pros-cons to these options.
Principle: Preserving the meaning of the OWL2 terminology in OML.
According to this principle, option (1) is unacceptable because it would effectively change the meaning of
reflexivity
.The other options are acceptable.
Simplicity
options 1 and 3 are the simplest; however 2 is not difficult either.
Usability
It is not immediately clear that Option 2 captures the intended semantics as option 3 and 4 do.
It is not immediately clear what difference option 3 and 4 have besides the obvious that option 3 is within OWL2-DL whereas option 4 requires SWRL.
Parsimony and unambiguous correspondence with OWL2
With this principle, option 1 is unacceptable because it does not solve the problem.
Option 2 is more expressive than options 3 and 4.
Consider:
and:
In the above,
attachedTo1
is a self-reflexive relation on its range whereasattachedTo2
is effectively forced to be an identity relation.Option 4 does not require any change to OML.
The text was updated successfully, but these errors were encountered: