I have an ontology into which there is another ontology. I want to know how the OWLOntologyManager loadOntologyFromOntologyDocument(OWLOntologyDocumentSource documentSource, OWLOntologyLoaderConfiguration config) works internally. I used the OWLOntologyLoaderConfiguration class to handle Missing Imports (I want to know which import failed using the MissingImportListener class).
I can listen to missing imports. But if any of my ontology file has an import for a WEB resource, then the above method extracts it from its location. Is there a way so that I can restrict the call to the WEB resource and ask to download a copy that I have on my system?
For example, in the case where the BBC sports ontology loading method loads the following ontologies:
just like the opening of the BBC sports ontology at Protege.
source share