Bioimages home page
Globally Unique Identifiers page

the Guid-O-Matic squid

Guid-O-Matic 1.0


for specimens

"You can write better software than this..."


1. What is Guid-O-Matic for?

Globally unique identifiers (GUIDs, also known as Persistent Identifiers) are an integral part of the global biodiversity information network as it is currently envisioned. They provide a way to identify and access information about physical objects, conceptual entities, and information resources. 

GUIDs have three characteristics: they are unique, they are persistent, and they are actionable.  This last characteristic means that a human can receive a webpage representation of the resource by entering the GUID in a web browser.  It also means that a semantic web client can retrieve machine-understandable metadata about the resource in the form of a resource description framework (RDF) file through the web.  The concept of actionability is central to the Linked Data principles.  A GUID that uses a standard "URL-style" format is called an HTTP URI.

A central challenge to implementing GUIDs is creating the RDF files in XML format as required by the Linked Data principles.  Guid-O-Matic is a very simple application that converts comma separated value (CSV) specimen metadata files into RDF/XML structured in a manner appropriate for biodiversity resources.  These metadata files can be exported from database software or created directly from Excel. 

Once the RDF/XML files are loaded onto a webserver along with appropriate stylesheets, URIs that refer to those files can be used as fully functional GUIDs.

2. How does Guid-O-Matic work?

NOTE: This is just a summary to give you the idea how it works.  Click for full instructions for using Guid-O-Matic with your own data.

A. Metadata for the specimens is saved in two files: one for the specimens themselves, and one for the determinations of the individuals represented in the specimens. 
data table

Click here to download an Excel file that contains sample data.

B. The Guid-O-Matic program reads in the metadata from the tables and merges it with more general information about the institution holding the specimens.
guid-o-matic screenshot

Click to download the executable guid-o-matic.exe (200 kb)

Click to download the Guid-O-Matic source code (Visual Basic, text format).

 

C. The program creates one RDF/XML file for each specimen.
RDF XML metadata example

Click here to see an example RDF file.

D.  The files are placed hierarchically in directories that are consistent with the structure of the URI that forms the GUID.  For example, the GUID

http://domain.org/dir02/file03

would represent the pink file hierarchy shown below:
file structure

E. The RDF files are placed on a web server for the domain that forms the base of the URI.  In addition, an XSLT stylesheet that describes how to translate the RDF into a web page is placed on the server.  When a human tries to view the RDF in a web browser, it is translated into a web page by the XSLT stylesheet.
xslt transformation

Click here to view/download the XSLT stylesheet guid-o-matic.xsl

The way that the web page is displayed (font, font size, etc.) is controlled by a normal CSS stylesheet.  In the example, the style sheet has the capability of using different styles for web browsers on computers, iPhones, and iPads.

Click here to view/dowload the CSS stylesheet guid-o-matic.css

F. One setting must be made on the server (one time) to link the HTTP URI to the RDF file.  Voila!  The GUID is actionable.  Because the RDF/XML file underlies the web page, it can also be retrieved by a Linked Data client which can understand the relationships and properties among the described resources.  This method of content negotiation has been dubbed (by me) as RDF And XSLT (RAX). 

3. Examples:

*

Specimen with no image  http://www.cyberfloralouisiana.com/specimens/lsu000/0100
 
Specimen that isn't geolocated  http://www.cyberfloralouisiana.com/specimens/lsu000/0532

Specimens that are geolocated and have images
http://www.cyberfloralouisiana.com/specimens/lsu000/0134

http://www.cyberfloralouisiana.com/specimens/lsu000/0136

http://www.cyberfloralouisiana.com/specimens/lsu000/0138

http://www.cyberfloralouisiana.com/specimens/lsu000/0141

http://www.cyberfloralouisiana.com/specimens/lsu000/0319

http://www.cyberfloralouisiana.com/specimens/lsu000/0428

http://www.cyberfloralouisiana.com/specimens/lsu000/0429

http://www.cyberfloralouisiana.com/specimens/lsu000/0432

http://www.cyberfloralouisiana.com/specimens/lsu000/0433

http://www.cyberfloralouisiana.com/specimens/lsu000/0434

http://www.cyberfloralouisiana.com/specimens/lsu000/0435

* Because cyberfloralouisiana.com has not reached a final decision on URI format, these links are "spoofed" and actually point to a different URI.  However, they do use the RAX method as described above.

Try it yourself

:

Full instructions for using Guid-O-Matic with your own data.