RDF Datatype (module for Omeka S)
RDF Datatype is a module for Omeka S that implements the main RDF datatypes and XSD datatypes recommended by the World Wide Web consortium W3C, so the values of properties may have a better semanticity.
Default Omeka datatypes:
- Omeka resource (item, item set, media)
Added rdf and xsd datatypes:
rdf:HTML: an html fragment
rdf:XMLLiteral: an xml fragment
xsd:boolean: true or false
xsd:integer: a simple number
xsd:decimal: a decimal number
xsd:dateTime: a full ISO 8601 date time
xsd:date: an ISO 8601 date
xsd:time: an ISO 8601 time
xsd:gYear: a Gregorian year
xsd:gYearMonth: a Gregorian year and month
xsd:gMonth: a Gregorian month
xsd:gMonthDay: a Gregorian month and day
xsd:gDay: a Gregorian day of month
Uncompress files and rename plugin folder
See general end user documentation for Installing a module and follow the config instructions.
The data types that are set in the config of the module are automatically available in all the resource forms. It is advisable to avoid to overload the user interface.
In all cases, it is recommended to create resources templates in order to simplify the use of the datatypes and to normalize all the metadata of all the records.
Note: the datatypes
xsd:gDay may not be
intuitive. To be compliant with the standard, they should be prepended with
for months, and
--- for day. They are not added automatically. Furthermore,
sparql cannot request any of the the Gregorian datatypes.
- Use a purifier for rdf:XMLLiteral.
- Add a batch process to change the type of a property for a list of resources.
- Add xsd:token or a derivative for standard or custom enumerations (language, etc.).
- Add xsd:anyURI for uris.
- Normalize Zend form for xsd:time, that requires seconds.
- Simplify search (Omeka S issue #1241).
- Manage restrictions via the resource templates (default value for boolean, range, default tokens, with or without seconds, css for html, xsl for xml…).
- Allow to attach multiple selected datatypes to resource templates (in particular for subjects).
Use it at your own risk.
It’s always recommended to backup your files and your databases and to check your archives regularly so you can roll back if needed.
See online issues on the module issues page on GitHub.
This software is governed by the CeCILL license under French law and abiding by the rules of distribution of free software. You can use, modify and/ or redistribute the software under the terms of the CeCILL license as circulated by CEA, CNRS and INRIA at the following URL "http://www.cecill.info".
As a counterpart to the access to the source code and rights to copy, modify and redistribute granted by the license, users are provided only with a limited warranty and the software’s author, the holder of the economic rights, and the successive licensors have only limited liability.
In this respect, the user’s attention is drawn to the risks associated with loading, using, modifying and/or developing or reproducing the software by the user in light of its specific status of free software, that may mean that it is complicated to manipulate, and that also therefore means that it is reserved for developers and experienced professionals having in-depth computer knowledge. Users are therefore encouraged to load and test the software’s suitability as regards their requirements in conditions enabling the security of their systems and/or data to be ensured and, more generally, to use and operate it in the same conditions as regards security.
The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms.
- Copyright Daniel Berthereau, 2018