Update Dockerfile — fixes wrong ontology IRI display (OWL API #1080) - #221
Open
Artemis-IA wants to merge 1 commit into
Open
Update Dockerfile — fixes wrong ontology IRI display (OWL API #1080)#221Artemis-IA wants to merge 1 commit into
Artemis-IA wants to merge 1 commit into
Conversation
Build OWL2VOWL from Artemis-IA/OWL2VOWL fix-owlapi-1080 branch which uses OWL API 5.5.1 from the owlcs/owlapi version5 branch (commit d7e997a) that includes the fix for issue #1080 by Victor Chavez (commit b1768cd): "Fixed ontology iri parsing when annotation imports same iri". This fixes WebVOWL displaying the wrong ontology IRI for affected ontologies such as OSO 1.1.0 and 1.2.0. Changes: - Maven image updated from temurin-8 to temurin-11 (OWL API 5.5.x requires Java 11) - Tomcat images updated from jdk8/jre8 to jdk11/jre11 - OWL2VOWL source updated to Artemis-IA/OWL2VOWL fix-owlapi-1080 branch End-to-end validation: - OSO 1.0.0: IRI=https://w3id.org/earthsemantics/OSO, 205 classes, 285 properties - OSO 1.1.0: IRI=https://w3id.org/earthsemantics/OSO, 199 classes, 286 properties (was prov-o) - OSO 1.2.0: IRI=https://w3id.org/earthsemantics/OSO, 192 classes, 280 properties (was prov-o) Once the upstream PR (VisualDataWeb/OWL2VOWL#76) is merged, this should be reverted to use the official OWL2VOWL master branch.
Artemis-IA
force-pushed
the
fix-owlapi-1080
branch
from
September 2, 2026 13:12
58eecc0 to
374dd31
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
WebVOWL's Dockerfile builds OWL2VOWL from
master, which depends on OWL API 5.1.1. This version has a bug (#1080): when an ontology hasowl:importsand a self-referencing annotation (e.g.rdfs:isDefinedBy → <ontology-iri>), the parser assigns an imported ontology's IRI. WebVOWL then displays the wrong IRI.The fix was merged upstream in
b1768cdbut is not yet released to Maven Central.Changes
VisualDataWeb/OWL2VOWL master→Artemis-IA/OWL2VOWL fix-owlapi-1080(companion PR: OWL2VOWL#76)Once OWL2VOWL#76 is merged, this Dockerfile should revert to
VisualDataWeb/OWL2VOWL master.Validation
Built the Docker image from scratch and tested via
/convertAPI:OSO✓OSO✓prov-o✗OSO✓prov-o✗OSO✓The OWL API jar in the image was verified to contain the fix from
b1768cd.