> For the complete documentation index, see [llms.txt](https://docs.unitlab.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.unitlab.ai/documentation/ontologies/ontologies-overview.md). Agents can also search and read this documentation through its [MCP server](https://docs.unitlab.ai/~gitbook/mcp).

# Ontologies overview

What an ontology is, how it shapes every label in a project, and where to build, publish and test one.

An **ontology** is the list of things your team labels and the questions they answer about each one. It decides which classes appear in the Workbench, which tool draws each one, and what ends up in your exports.

<figure><img src="https://292810646-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGjVLUz4wthGkGlRKM6rM%2Fuploads%2FoZj5IEY7o9j8Kk5bRm9X%2Fontologies-overview-hero.webp?alt=media" alt="Ontology builder for a robot grasping project: classes on the left, the Graspable object property tree in the middle, the class summary on the right"><figcaption></figcaption></figure>

## How it works

1. Add **classes**, such as *Graspable object* or *Gripper*. Each class has one shape: polygon, box, mask, entity, event and so on.
2. Add **properties** to a class, such as *Grasp status: Pickable or Blocked*.
3. Choose **Publish draft**. The new version becomes **Live**, and annotators get it in the Workbench.

The examples in this section follow a robot that picks objects from a table.

## Key concepts

| Term                 | Meaning                                                                                 |
| -------------------- | --------------------------------------------------------------------------------------- |
| **Class**            | A thing you label, with one shape. *Graspable object* (polygon).                        |
| **Property**         | A question about one object. *Grasp status*: Pickable or Blocked.                       |
| **Nested property**  | A follow-up that appears only for one answer. *Grasp type* appears only for *Pickable*. |
| **Dynamic property** | A value that can change from frame to frame, or slice to slice. A hand's *Grip*.        |
| **Item Property**    | A question about the whole file. A photo's *Environment*.                               |
| **Relation**         | A directed link between two objects. A cup *Rests on* a table.                          |
| **Draft**            | Unpublished edits. Annotators don't see them.                                           |
| **Live**             | The version a project labels with. A project has one Live ontology.                     |

## Where to find ontologies

| Where                                   | What you see                                                                              |
| --------------------------------------- | ----------------------------------------------------------------------------------------- |
| **Ontologies** in the workspace sidebar | Every ontology in the workspace, with its status and class, property and relation counts. |
| A project's **Ontologies** page         | The project's ontologies. One is Live.                                                    |
| **Global Ontologies** on that page      | Workspace ontologies you can import. The import is an independent copy.                   |

## What you can do

| Task                                          | Page                                                                                                                                       |
| --------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| Add classes and pick a shape                  | [Classes and annotation types](https://docs.unitlab.ai/documentation/ontologies/classes-and-annotation-types.md)                           |
| Add properties, Item Properties and relations | [Properties, relations, and Item Properties](https://docs.unitlab.ai/documentation/ontologies/properties-relations-and-item-properties.md) |
| Ask follow-up questions only when they apply  | [Nested properties](https://docs.unitlab.ai/documentation/ontologies/nested-properties.md)                                                 |
| Label states that change during a video       | [Dynamic properties in video](https://docs.unitlab.ai/documentation/ontologies/dynamic-properties-in-video.md)                             |
| Make fields required and check values         | [Required fields and validation](https://docs.unitlab.ai/documentation/ontologies/validation-and-conditional-logic.md)                     |
| Publish, compare and restore versions         | [Draft, Live, and version history](https://docs.unitlab.ai/documentation/ontologies/draft-live-and-version-history.md)                     |
| Check the ontology before labeling starts     | [Test an ontology in Workbench](https://docs.unitlab.ai/documentation/ontologies/test-an-ontology-in-workbench.md)                         |
| Start from a ready-made design                | [Ontology examples by use case](https://docs.unitlab.ai/documentation/ontologies/ontology-examples-by-use-case.md)                         |
