however, when the file containing the ontology does not have owl:versionIRI, it is not added to the ontology file by default.
As a result, the catalog-v001.xml files do not contain entries that have "versioned" IRIs, and when another ontology imports a given ontology (one without owl:versionIRI), the file must be fetched from the Internet.
owl:imports
are always "versioned": https://github.com/edmcouncil/ontology-publisher/blob/18f73e336a607ccf4d2530c32067dfa752d68cdf/publisher/product/ontology/build.sh#L360-L368however, when the file containing the ontology does not have
owl:versionIRI
, it is not added to the ontology file by default.As a result, the catalog-v001.xml files do not contain entries that have "versioned" IRIs, and when another ontology imports a given ontology (one without owl:versionIRI), the file must be fetched from the Internet.
.zip archives are generated based on
owl:import
entries (getOwlImports
function), which are "versioned": https://github.com/edmcouncil/ontology-publisher/blob/18f73e336a607ccf4d2530c32067dfa752d68cdf/publisher/product/ontology/build.sh#L584-L590 so if there are no "versioned" IRIs in thecatalog-v001.xml
file, ontology files without owl:versionIRI are not added to .zip archives.