# Semantics

{% hint style="info" %}
PDQ provides the ability to deﬁne semantic terms, tags, applications, dimensions, and ﬁelds which can be assigned to an asset, attribute, and rules to categorize the data accordingly. Once the semantics are deﬁned the platform will auto-discover the data type and ﬁeld type and will automatically apply them across the organization's data asset.
{% endhint %}

<figure><img src="/files/4zkjKKSL9htlFPoaNtuN" alt=""><figcaption><p>Sematics</p></figcaption></figure>

x

{% tabs %}
{% tab title="Domains" %}
{% hint style="info" %}
A domain in a data catalog refers to a logical grouping or category of related data assets within an organization. It provides a way to organize and classify information based on business functions, subject areas, or departments. Domains help structure the data catalog, making it easier for users to navigate, discover, and understand relevant data assets.&#x20;

By grouping similar data together, domains improve data governance, enable more effective search and browsing, and facilitate the management of data ownership and access rights. This organizational structure is particularly useful in large enterprises with diverse data landscapes, allowing stakeholders to quickly locate and comprehend the data relevant to their specific area of interest or responsibility.

Under Semantics, the user can create domains that apply to the organization
{% endhint %}

<figure><img src="/files/5xFWK9P6DtB6r3rBQTWG" alt=""><figcaption><p>Add a Domain</p></figcaption></figure>

1. To create a Domain: click on the + icon in the top right corner.
2. Add a name - Synthea & Description
3. Upload an image: /Workshop--Data-Quality/images/synthea\_domain.jpg

<figure><img src="/files/RK0SW347Q37WbqVKoYs6" alt=""><figcaption><p>Synthea Domain</p></figcaption></figure>

4. Click on the 3 dots and select: 'Edit' and add a Description - Patients medical history.
5. To add a sub-domain, click on the Domain name - Synthea - followed by the 3 dots that appear under fields or expand and select the option from the lefthand menu.

<figure><img src="/files/lY37p6YGfRbnLInrpEo7" alt=""><figcaption><p>Add Sub-domain or Term</p></figcaption></figure>

<figure><img src="/files/zu7QIHgt7Qcrrkl9J2CU" alt=""><figcaption><p>Manage Domains</p></figcaption></figure>
{% endtab %}

{% tab title="Terms" %}
{% hint style="info" %}
A Term is the metadata deﬁnition of a ﬁeld type, a user can deﬁne an attribute following metadata properties, and the PDQ platform will automatically assign the deﬁned properties to the attribute once identiﬁed.

Lets take a look at the Patients SSN - Social Security Number.
{% endhint %}

<figure><img src="/files/qMc5oUnGejEBHsc5FLBB" alt=""><figcaption><p>Add a Term</p></figcaption></figure>

1. From the Domain page, exapnd the left hand menu, click on the 3 dots and select the option Add Term.

<figure><img src="/files/vZtF04eDfcrqACM7N2RZ" alt=""><figcaption><p>Add a Term - Social Security Number</p></figcaption></figure>

2. Once created, Click on: 'Terms'.

<figure><img src="/files/2yzyTviYFHjClUyHCr6c" alt=""><figcaption><p>Term - Social Security Number</p></figcaption></figure>

3. Check the Data Type as defined in the database tables or Table option - DBeaver&#x20;

<figure><img src="/files/McRX4Asz2C2JaKFNjLVA" alt=""><figcaption><p>SSN</p></figcaption></figure>

<figure><img src="/files/EYGU6D856kCNpfTd5vt3" alt=""><figcaption><p>SSN</p></figcaption></figure>

4. Click on the Term - Social Security Number

<figure><img src="/files/iCzI3YCy6ogCFNqrhdy4" alt=""><figcaption><p>Term - Social Security Number</p></figcaption></figure>

x

x

x

x

x

x
{% endtab %}

{% tab title="Tags" %}

{% endtab %}

{% tab title="Applications" %}

{% endtab %}

{% tab title="Dimensions" %}

{% endtab %}

{% tab title="Fields" %}

{% endtab %}
{% endtabs %}


---

# 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://academy.pentaho.com/data-quality-en/pentaho-data-quality/pdq-settings/semantics.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.
