owlcs / owlapi

OWL API main repository
813 stars 314 forks source link

Ontology iri fix for owl api version 4 #1117

Closed vChavezB closed 4 months ago

vChavezB commented 7 months ago

This fix adds a condition to check wether the parsed IRIs are used as subject for owl:imports. This fixes #1080 for owl api version 4.

In specific I made it for version 4 as I am using protege 5.6 which uses owl api 4.5.26

It is based on the solution from here https://github.com/owlcs/owlapi/issues/1080#issuecomment-1826185972

Feel free to add comments or improvements.