Dumper Interface
- class oaklib.interfaces.dumper_interface.DumperInterface(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.Mapping[str, str] | None = None)[source]
An OntologyInterface that is capable of exporting entire contents.
- dump(path: str | None = None, syntax: str | None = None, enforce_canonical_ordering=False, **kwargs)[source]
Exports current contents.
- Parameters:
path – Path to file to write to. If None, then write to stdout.
syntax – Syntax to use. If None, then use the default syntax.
enforce_canonical_ordering
kwargs – Additional arguments to pass to the dumper
- Returns: