Ontologies
Ontologies Basics
Ontologies are top-level entities that can be attached to projects that provide a template structure for labels.
For a detailed description about ontologies in the Encord platform go here.
A project can only have a single Ontology attached to it, but one Ontology can be attached to multiple Projects.
Each ontology is identified using a unique <dataset_hash>
- a unique ID that can be found within a Dataset in the Encord platform, as highlighted below.
To access the Ontology use the get_ontology() method, that allows you to work with its structure property.
The structure comes as the OntologyStructure
class.
Ontologies cannot be deleted using the SDK or the API. Use the Encord platform to delete an Ontology.
View Ontology Structure
Use the following script to view the Ontology structure and all other Ontology attributes.
Was this page helpful?