Skip to content

Migrate OntModel to use Jena 5 jena-ontapi#308

Merged
goneall merged 3 commits into
spdx:masterfrom
bact:migrate-ontmodel
Jul 20, 2026
Merged

Migrate OntModel to use Jena 5 jena-ontapi#308
goneall merged 3 commits into
spdx:masterfrom
bact:migrate-ontmodel

Conversation

@bact

@bact bact commented Jul 20, 2026

Copy link
Copy Markdown
Collaborator

Migrated from the deprecated org.apache.jena.ontology.* to the OWL2-compliant org.apache.jena.ontapi.* (which also support OWL versions before 2).

Limit the Jena version to 5.6, the latest before 6.0, as 6.0 requires Java 21.
Jena 5.6 can run on Java 11, matches maven.compiler.release in pom.xml.

No changes in public API, only internal representations.
Existing RDF and JSON context files should work as they were.

To fix #307

bact added 3 commits July 20, 2026 04:44
Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
@bact bact added the dependencies Pull requests that update a dependency file label Jul 20, 2026

@goneall goneall left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@goneall
goneall merged commit 1265a6e into spdx:master Jul 20, 2026
1 check passed
@bact
bact deleted the migrate-ontmodel branch July 20, 2026 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate to org.apache.jena.ontapi.model.OntModel

2 participants