class OntologyRepositoryCache extends AbstractDatasetRepositoryCache<String, Ontology> {

    @Override
    public Ontology get(String key) {
        LOG.debug("Retrieving ontology from cache for key " + key);
        requireNotClosed();
        IRI datasetIRI = OntologyDatasets.createDatasetIRIFromKey(key, vf);
        try (DatasetConnection dsConn = getDatasetConnection(datasetIRI, false)) {
            return getValueFromRepo(dsConn, key);
        } catch (IllegalArgumentException e) {
            LOG.debug("Cache does not contain ontology for key " + key);
            return null;
        }
    }

    public  OntologyRepositoryCache(String name, Repository repository, CacheManager cacheManager,
                                   Configuration configuration);

}