# Taxonomy and Vocabulary

{% embed url="<https://vimeo.com/516059762>" %}

## Definitions

A **taxonomy** in Drupal (and GovCMS) is a way to classify or categorise certain types of *content*.

A **vocabulary** is a **group** of *taxonomy* terms. A *vocabulary* can only be used to categorise one type of *content*. For example, only the *Event categories* *vocabulary* can be used to categorise content of type *Event*.

These terms and the distinction between them is best illustrated by an example. Page articles can be classified or categorised by the **Topics** they relate to. The categories or *taxonomy* terms can be Policies, News or Services. The *vocabulary* in this example would be called **Topics**.

## View vocabularies and taxonomy terms

To see the list of *vocabularies* available to use on a site, hover over *Structure* on the *Admin menu* then click **Taxonomy**.

<figure><img src="/files/8DzuYJgWANdQYJc6sF0i" alt=""><figcaption><p>Image showing where to find taxonomy terms</p></figcaption></figure>

Click on the **List terms** to the right hand side any of the *vocabularies* listed to show the list of *taxonomy* terms it contains.

In the screenshot below, the Topics terms are shown.

<figure><img src="/files/tqWYoi2Er4MDXZiMko3E" alt=""><figcaption><p>Topics terms</p></figcaption></figure>

## Add a taxonomy term to content

When creating (or editing) *content* of type *Page* content, authors can add a Topic (*taxonomy* term) to the content. Only the **Topics** vocabulary can be used for the *Page* content type (unless your developers have configured additional vocabularies).

<figure><img src="/files/RgW9m5EKNtPHiUXL3IS5" alt=""><figcaption><p>Adding a Topic terms to a Page content</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://salsa-digital.gitbook.io/govcms-content-administration/unit-9-using-taxonomy-to-categorize-content-and-media/taxonomy-and-vocabulary.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
