Ontology Lookup Service (OLS) Adapter

Provides access to ontologies provided via the EMBL-EBI Ontology Lookup Service (OLS)

Also provides interface to OxO mapping endpoint

This adapter uses ols-client to connect to any OLS endpoint.

Warning

very partially implemented!

Code

class oaklib.implementations.ols.ols_implementation.OlsImplementation(resource: ~oaklib.resource.OntologyResource | None = None, strict: bool = False, _multilingual: bool | None = None, autosave: bool = <factory>, exclude_owl_top_and_bottom: bool = <factory>, ontology_metamodel_mapper: ~oaklib.mappers.ontology_metadata_mapper.OntologyMetadataMapper | None = None, _converter: ~curies.api.Converter | None = None, auto_relax_axioms: bool | None = None, cache_lookups: bool = False, property_cache: ~oaklib.utilities.keyval_cache.KeyValCache = <factory>, _edge_index: ~oaklib.indexes.edge_index.EdgeIndex | None = None, _entailed_edge_index: ~oaklib.indexes.edge_index.EdgeIndex | None = None, _prefix_map: ~typing.Dict[str, str] = <factory>, label_cache: ~typing.Dict[str, str] = <factory>, focus_ontology: str | None = None, **_kwargs)[source]

Implementation for the EBI OLS instance.