owlcs / owlapi

OWL API main repository
825 stars 314 forks source link

Fix forced use of `oboInOwl` namespace when translating OBO IDs. #1113

Closed gouttegd closed 11 months ago

gouttegd commented 11 months ago

This PR rewrites part of the OWLAPIObo2Owl#oboIdToIRI_load() method so that the oboInOwlDefault parameter is only used when translating unprefixed IDs (where it instructs to create an IRI in the oboInOwl namespace instead of the ontology's default namespace). When translating a prefixed ID, the IRI to construct should always use the URL prefix dictated by the prefix name.

closes #1112