Overview
Data Type RDF is a module that adds data types (html, xml, boolean) to Omeka S.
Its usage is similar to Numeric Data Types:
https://nakamura196.hatenablog.com/entry/2021/08/01/070701
Below is an introduction to how to use it.
Usage
Installation
Install it the same way as other Omeka modules.
Editing Resource Templates
Create a resource template.

Next, select the Data Type RDF values for the data type of a specific property. Here, we add all three types provided by this module.

As a result, the data types are specified as follows:

Editing Items
Go to the item editing screen and select the resource template created earlier.
Then, for the property specified earlier (here, dcterms:description), three input forms appear: “Html”, “Xml”, and “Boolean”.
Each has a different input form, simplifying the input method.

Also, the display method changes according to these data types as shown below:

API Output Example
The JSON-LD output from the API looks like the following. You can confirm that URIs are specified in @type:

The result of converting to RDF/XML using EasyRdf’s converter is shown below. (For Xml, datatype was not applied.)

Summary
This was an introduction to “Data Type RDF,” a module that adds data types (html, xml, boolean) to Omeka S. I hope this serves as a useful reference.