-
Notifications
You must be signed in to change notification settings - Fork 23
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
Added reasoning to the creation of oeo-full.omn #1465
Conversation
#1475 has to be merged first |
Can not be inferred:
Edit: Tried to infer Disjoint classes in Protegé and it went kaputt |
After thinking a lot about this I am now starting to wonder if it is really necessary to provide the Disjoint class inferences as part of the ontology with full closure. Is there any example application where one would need this? I accept hypothetical examples as well. |
We definitely do not need every disjoint. For example, in PR #882 we added the axioms:
Before the mentioned PR we had only: But this example shows nicely that we sometimes need disjoints at least temporarily. In the example, the disjoint should have been deleted when the proper axioms were included. |
I think Disjoints are non avoidable. But I mean if we need to provide the inference of all the disjoint classses of every class (which is performed in the closure of the ontology when adding the DisjointClasses option), this is the operation that I think takes insanely long and I actually don't see any direct use case. |
Just for everyones information: phillord/hermit-reasoner#13 (comment) The algorithm is by itself slow for the amount of classes we have in the ontology. So we might have to consider providing the disjoint classes by some other means i don't really know how long would the reasoning would take but I suspect it may be too much for github. So probalby we can use some internal server for that, either from Magdeburg or somewhere else. |
We could merge this under two considerations:
|
Open issues moved to #1583 |
I do not really understand why additional subsumptions are inferred only to be dropped by |
I pretty much built it based on https://github.com/OpenEnergyPlatform/ontology/pull/1125/files and since reduce was getting rid of duplicate axioms just left it there. Didn't know it was also getting rid of desired inferences. |
I removed the reduce command, seems to be woking. I looked at a couple of entities and it seems to be inferring things correctly. Some axioms seem redundant but I guess that is the point of the operation. From my side we could merge this but I really think it would be nice to have someone take a second look. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes seem good, the oeo-full ontology seems consistent and opens in protege. Good from my side!
Summary of the discussion
Related to #1124
Type of change (CHANGELOG.md)
Added
Workflow checklist
Automation
Closes #
PR-Assignee
term tracker item
Reviewer