Skip to content
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

Use Jena 2.12.1 implementation of the rulesys reasoner #36

Open
wants to merge 5 commits into
base: development
Choose a base branch
from

Conversation

arteymix
Copy link
Member

@arteymix arteymix commented Sep 18, 2023

The implementation supplied by Jena 2.7 is very inefficient because it has a O(n^2) complexity for inferring axioms.

This is achieved by shading Jena under ubic.basecode.ontology.jena.impl package namespace. It also implicates that baseCode does not depend on Jena anymore.

Jena 2.13.0 has breaking implementation changes and cannot be integrated this way.

  • make sure that the version of Maven Shade is compatible with our minimum requirements
  • include sources with renamed packages for Jena

Make OntologyTermSimple serializable.
Add LanguageLevel so that one can configure the level of OWL supported.

Remove unused getSpec() in AbstractOntologyService.
The implementation supplied by Jena 2.7 is very inefficient because it
has a O(n^2) complexity for inferring axioms.

This is achieved by shading Jena under ubic.basecode.ontology.jena.impl
package namespace. It also implicates that baseCode does not depend on
Jena anymore.

Jena 2.13.0 has breaking implementation changes and cannot be integrated
this way.
@arteymix
Copy link
Member Author

With f31c6c7 workaround, this might not be necessary unless we opt for using an OWL reasoner in Gemma for some of our ontologies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant