Skip to content

Module for Omeka S that implements the main W3C RDF datatypes (html, xml, boolean, integer, decimal and date/time) in order to give more semanticity to values of resources.

License

Notifications You must be signed in to change notification settings

Daniel-KM/Omeka-S-module-RdfDatatype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RDF Datatype (module for Omeka S) [archived]

IMPORTANT This module is deprecated and replaced by the modules Data Type RDF, that manages html, xml, and boolean, and Numeric Data Types, that manages integer and date/time. Install them for an automatic upgrade. Other data types are converted into literal.

RDF Datatype is a module for Omeka S that implements the main RDF datatypes and XSD datatypes that are 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.

Default Omeka datatypes:

  • text
  • Omeka resource (item, item set, media)
  • uri

Added rdf and xsd datatypes:

Installation

Uncompress files and rename plugin folder RdfDatatype.

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

Usage

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:gMonth, xsd:gMonthDay and 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.

TODO

  • Use a javascript for xsd:dateTime.
  • 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).

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 GitHub.

License

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.

Copyright

  • Copyright Daniel Berthereau, 2018

About

Module for Omeka S that implements the main W3C RDF datatypes (html, xml, boolean, integer, decimal and date/time) in order to give more semanticity to values of resources.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published