We recommend using the Encord platform to create Ontologies. The platform allows you to visualize how different elements of the Ontology are related to each other.

Ontologies are used to label your data and define how concepts are related to each other.

The following script creates an Ontology called “My test Ontology” containing an object called Cute Cat, a radio button attribute for colour, and a checklist attribute for features. Examples for bounding boxes, rotatable bounding boxes, polygons, and bitmasks are provided.

The script outputs the hash of the Ontology. The hash is used for the creation of a Project in step 3.

Ensure you replace:

  • <file-path-to-ssh-private-key> with the pull path to your private key.
  • My test Ontology with the name of your Ontology.
  • Cute Cat with the name of your Ontology class.
  • As well as any other options relevant to your Ontology.