Diversity Collection
Stable identifier
Stable identifiers are generated from a basic URL and the IDs from the
database. To set the basic URL select Administration -
Stable identifier ... from the menu. A window as
shown below will open, where you can set the basic URL for the stable
identifier either for the whole database or for every project. With the
button you can copy the current URL to all
projects in the list.
The Test button creates a QR code for the URL as
shown above using a google api (http://chart.apis.google.com). The
stable identifier consits of the basis address as set above, followed by
the part that identifies the object in the database as shown in the
examples below. For an introduction see a short tutorial
.
Icon | Table | Stable identifier |
---|---|---|
Specimen | http://id.snsb.info/snsb/Collection_SNSB/312 = [Server]/[Instance]/[Alias for database]/[CollectionSpecimenID] |
|
Unit | http://id.snsb.info/snsb/Collection_SNSB/312/789 = [Server]/[Instance]/[Alias for database]/[CollectionSpecimenID]/[IdentificationUnitID] |
|
Part | http://id.snsb.info/snsb/Collection_SNSB/312/789/283 = [Server]/[Instance]/[Alias for database]/[CollectionSpecimenID]/[IdentificationUnitID]/[SpecimenPartID] |
|
Collection | http://id.snsb.info/snsb/Collection_SNSB/Collection/23 = [Server]/[Instance]/[Alias for database]/[Table]/[CollectionID] |
|
Transaction | http://id.snsb.info/snsb/Collection_SNSB/Transaction/4 = [Server]/[Instance]/[Alias for database]/[Table]/[TransactionID] |
In the examples above [ http://id.snsb.info] is the server, [snsb] is the instance on the server that may correspond to an organization etc. like ZSM or SMNK. [Collection_SNSB] is an alias for the database corresponding to the name of the database without the leading string Diversity. The following numbers point on the keys of the datasets in the main tables. The last two examples point to separate tables within the database and the following number correspond to the key for these tables.
An additional id service is necessary to make direct use of the stable
identifiers. This id service redirect a given stable identifier to
another web-page which shows data about the identifier. This can be HTML
or xml-rdf according to the CETAFrecommendations. The id
service needs further information to redirect to those websites. For the
redirection to a BioCase-Provider installation or a xml-rdf-service, the
information can be retrieved from the main database. The necessary roles
and logins for this id service can be generated by pressing the
button at the buttom of the window. This buttom
will not be visible if the corresponding roles etc. already do exist.