Data Type RDF

By Daniel Berthereau Implement some W3C RDF datatypes (html, xml, boolean) in order to simplify user input and to give more semanticity to values of resources.
Download 3.4.9

Data Type RDF (module for Omeka S)

New versions of this module and support for Omeka S version 3.0 and above are available on GitLab, which seems to respect users and privacy better than the previous repository.

Data Type RDF is a module for Omeka S that implements some RDF datatypes and an XSD datatype recommended by the World Wide Web consortium W3C in order to simplify user input and to give a better semanticity to the values of the properties.

Added rdf and xsd datatypes: - rdf:HTML: an html fragment - rdf:XMLLiteral: an xml fragment - xsd:boolean: true or false

Number and date time data types can be managed with module Numeric Data Types.

Installation

First, install the optional module [Generic] if wanted.

The module uses an external js library for the html editor, so use the release zip to install it, or use and init the source.

  • From the zip

Download the last release [DataTypeRdf.zip] from the list of releases (the master does not contain the dependency), and uncompress it in the modules directory.

  • From the source and for development:

If the module was installed from the source, rename the name of the folder of the module to DataTypeRdf, and go to the root module, and run:

composer install --no-dev

Note: the library "CodeMirror" has no file "codemirror.js" by default: it is created automatically when installing packages with npm. To use it via composer, the zip file from codemirror.net (v5) is used.

Then install it like any other Omeka module.

See general end user documentation for Installing a module and follow the config instructions.

Usage

The data types are automatically available through the resource templates. It is not recommended to use too many data types by property. One to four types are enough in most of the cases.

TODO

  • [ ] Simplify search (Omeka S issue #1241).
  • [ ] Manage inline maximization of html for ckeditor.
  • [ ] Add xsd:token or a derivative for standard or custom enumerations (language, etc.).
  • [ ] Manage restrictions via the resource templates (default value for boolean, default tokens, css for html, xsl for xml…).

Warning

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.

Troubleshooting

See online issues on the module issues page on GitLab.

License

Module

This module is published under the CeCILL v2.1 license, compatible with GNU/GPL and approved by FSF and OSI.

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.

Libraries

  • CKEditor 4 footnotes

One of the CKEditor ones [GPL]. See [CKEditor-Footnotes].

  • CodeMirror

License MIT

See licenses of other libraries in composer.json.

Copyright

  • Copyright Daniel Berthereau, 2018-2024 (see Daniel-KM on GitLab)
  • Copyright 2011-2023, Marijn Haverbeke & alii (library CodeMirror)
Version Released Minimum Omeka version
3.4.9February 12, 2024 [info]^3.1.0 || ^4.0.0
3.4.8November 20, 2023 [info]^3.1.0 || ^4.0.0
3.4.7June 12, 2023 [info]^3.1.0 || ^4.0.0
3.4.6May 15, 2023 [info]^3.1.0 || ^4.0.0
3.4.5April 17, 2023 [info]^3.1.0 || ^4.0.0
3.4.4.5.1January 16, 2023 [info]^3.1.0 || ^4.0.0
3.4.4.5January 09, 2023 [info]^3.1.0 || ^4.0.0
3.3.4.4October 10, 2022 [info]^3.1.0
3.3.4.3September 19, 2022 [info]^3.1.0
3.3.4.2January 03, 2022 [info]^3.1.0
3.3.4.1October 26, 2020 [info]^3.0.0