Subsections of Scientific terms
Diversity Scientific terms
Download
Upcoming version
4.2.1
SQL Server 2016
For this version you need SQL Server 2016 or higher
New table JsonCache containing the data related to a term as JSON. In the menu accessible via Administration →
Json cache … or in the header click on the
Show JsonCache button to see the json cache for the current term.
Current version
4.2 (2023-05-10)
Download 
- Bugfixes in Workbench.dll
- Bugfix setting permissions
- Database documentation: Enumeration tables with specific title and
generic table definition
Previous versions
4.1.21 (2023-02-22)
- Bugfix creating archive
- Bugfix linking to client software site
- Many order columns enabled
- New order columns Property, Section, Resource, Reference Ranking
hierarchy included

- Docu: Bugfix retrieving column description for views
Database updates
- 01.00.15: New views View_TermProperty, View_SectionTerm,
View_TermReference, View_TermResource, View_TermRankingHierarchy for
query; Missing defaults for table TermDependency; Missing descriptions
for tables, views, …; New function TerminologySize if missing; New
column ArchiveProtocol in table Terminology including log table and
trigger; Function TerminologyDataLastChanges; Missing grants for table
TerminologyPropertyValue; Removing not used type - moved to table
TermRepresentation;
Diversity Scientific terms
Installation
Resources
To run a module of the Diversity Workbench framework, you need access to a database and an installation of the respective client.
The following instructions explain how to install the DiversityCollection client. All other modules are installed in the same way.
If you do not yet have an account for your institutional DWB platform, please contact your institution’s DWB administrator. If you wish to set up and use your own personal, institutional, domain-specific, or research-group-internal database environment, see Installation
of a database for more information.
A German-language video demonstrates the installation using the DC client as an example. Please note that the initial steps in the video are outdated, as the downloads are now available via this manual, as described below.
.
Download
All DiversityWorkbench modules can be downloaded free of charge.
Within each module in the manual, you will find a Download menu item. There, you can download the latest version in the Current version section.

Installation of the client
The client is currently based on the .Net framework version 4.8 from Microsoft. If not already present, the software will prompt you to install it.
After downloading the client, unzip the .zip folder. The extracted setup folder contains two files: an .msi and a .bat file.

If you want to install the client on your computer, start the installation by double-clicking the .msi file.
If necessary, you can adjust the installation location in the next step.

Once the installation is complete, the software will be added to the program menu (see below) and a shortcut will be created on the desktop.
In the next chapter Database Login the login process is explained.
Run program without installer
There are several reasons why you might prefer to run
DiversityCollection without installation. E.g. if you lack
administrative permissions on your computer or if you want to use
several different versions of DiversityCollection in parallel.
Therefore, the downloaded .zip file contains a .bat file. With this .bat file, a folder DiversityCollection_x_x_x is created on your desktop containing all relevant files to run the client DiversityCollection.
You have to unzip the downloaded .zip file to a local folder. The unzipped folder contains the .msi file and the .bat file. Within this unzipped! folder start the .bat file with a
double-click. You might get a security warning, as shown in the section
Windows protection warning.
The batch file unpacks the program files to a folder on your desktop named DiversityCollection_x_x_x,
where "x_x_x" stands for the program version.
To start the DiversityCollection program, go to the folder and double-click on the file
DiversityCollection.exe.
The login process is explained in the next chapter Database Login.
The software will be placed in the programs directory, as shown below.

Additionally, a folder is created in the user directory. This folder contains files and templates, for example, for label printing. It also contains hidden folders, such as Query. User input is saved there so that it can be loaded again the next time the program is started.

Windows protection warning
If you receive the following warning from Windows

please click on Weitere Informationen. A button Trotzdem ausführen will appear.

Please click on Trotzdem ausführen to install the software.

Diversity Scientific terms
Database login
To use a module from the DiversityWorkbench framework, such as “DiversityCollection”, you need access to a database. If you do not yet have an account for your institutional DWB platform, please contact your institution’s DWB administrator. If you wish to set up and use your own personal, institutional, domain-specific, or research-group-internal database environment, you will find instructions here.
Connect to a database
-
At the top left of the main window, go to Connection → Database … or click the Connect button
. A dialog form “Connect to database” opens.
-
In the “Server” section, add the server name or the IP address and the port number.
-
In the “Login” section, choose an option:
-
Click on the Connect to server button.
-
If the connection information is valid, you can Choose a database from the drop-down list at the bottom.
-
Choose the database you want to work with and click OK.
-
If you access a database for the first time, you will be asked to consent
to the storage and processing of your personal data (see below)
according to the General Data Protection Regulation.
Without your consent the access is not possible.

Important
The standard port number for SQL-Server is 1433 and is set as
default. If the database server is configured to use a different port, you must change the port number in the port input field.
Previous connection
If you have been connected to a database in previous sessions, you can select one of these connections:
- At the top of the “Connect to database” dialog form, click on the Previous connections button
.
- Select a connection from the drop-down list. This inserts the name or IP address and the port in the corresponding input fields in the server section.
- To log into a database, proceed as described above starting from step 3.
Testing a connection
To test the connection, you can send a ping by clicking the button
.

Switch between databases
- At the top left, go to Connection → Database … or click on the Connect button
.
- If you are already connected to a server, you can select a database from the drop-down list Choose database at the bottom of the dialog box.
Reset and Cancel
Reset:
If you are connected to a server, there is a Reset button below the “Login” section of the “Connect to database” dialogue box.
Click the Reset button to change your server or login settings.
Cancel:
If you do not want to change anything, click on Cancel.
Encryption
By default, the connection to the databases is encrypted.
The icon
next to the Connect to server button indicates an encrypted connection.
By clicking on the icon, you can switch to an unencrypted connection, indicated by the icon
.
Videos
- Login to a database:
.
Diversity Scientific terms
Overview of the menu in DiversityScientificTerms
- Connection
Database
Choose one of the databases available on the server. Only those
databases will be listed to which the user has access
permission..png?class=inlineimg)
Module connections …
Edit the connections to the other modules within the
DiversityWorkbench.
Transfer previous settings
Transfer the settings of a previous version.
- Quit
Quit the application and stop all processes started by the
application.
- Data
-
Table editors
Edit data as selected in the query data
directly in the data tables.
Term …
Edit data of the Term table.
Representation …
Edit data of the TermRepresentation table.
Property …
Edit data of the TermProperty table.
Reference …
Edit data of the TermReference table.
Resource …
Edit data of the TermResource table.
Backup database …
Backup of the whole database
CSV (bcp)
Export data of the whole database as csv files
- Administration
Database
Administration of the database
Documentation …
Documentation of the tables within the database
Logins …
Administration of the logins of the server their permissions in the
databases
Rename database
Rename the current database
Set published address
Setting the address published for links by other modules
Database tools …
Creation of log tables, triggers etc. (only for dbo)
Language …
Enabling languages for the
terms.
Resources directory …
Setting the directory for the
resources.
Terminologies …
Administration of the terminologies.
- Help
Manual
Opens the online manual
- Info
Show the version and corresponding information
Feedback …
Opens a form for sending feedback
Feedback history …
Opens a window for browsing former feedback.
Edit feedback …
Opens a window for editing the feedbacks sent to the administrator
(for admins only).
Websites Websites related to DiversityScientificTerms
- Download applications …
Download DiversityScientificTerms from the website of the Diveristy
Workbench project
- Information model …
Inspect the information model on the website of the Diveristy
Workbench project
Errorlog
Inspect the errorlog of DiversityScientificTerms
- Update
Update database …
Update the database to the current version
Update client …
Download the current version of the client
Diversity Scientific terms
Query
Once you are connected to your database, you can search across all data. You have a wide range of options for this search.
Everything related to the query can be found on the left-hand side of the main window.

The upper part of the query section contains the list of all results “Query results”.

Below this you will find a section with all the buttons that are relevant for the search.

Under the query buttons you will find the “Query conditions”. You can enter all possible search criteria here.

Display the entire data set
To display the entire data set, start a search without specifying any criteria in the “Query conditions” section:
-
In the middle of the query section on the left side of the main window, click on the “filter” button.

-
A list of the results is displayed in the “Query results” section. The number of results is displayed above the list next to the “Query results” label.

Filter a search
Unter the query buttons, at the bottom of the query section, you will find the “Query conditions”.
- Enter the filter criteria for your search. E.g. you can select a project from the dropdown list.
- You can combine as many criteria as you want to limit your results.
- Start the query by clicking on the filter button
.
- A list of the results is displayed in the “Query results” section. The number of results is displayed above the list next to the “Query results” label. If no result matches the query, the list is empty and the label “No match” is displayed.
Edit and customize query conditions
You can choose which query conditions are displayed in the main window. You can change this at any time.
- At the top left above the query results list, click on the “checkbox” button
.

- Select any query conditions you want to use for your searches by selecting the respective checkboxes in the treeview.

Customize the interface
Hide/show the entire query section
In the main window go to the menu item Query → Show Query.
Hide the “Query conditions” section
On the left side of the “query buttons” in the middle of the query section, click on the “arrow” button
.
Switch vertical/horizontal arrangement
You can change the arrangement of the query elements from vertical to horizontal and vice versa. To do this, click on the button below the main menu bar:

Edit the result list
Add results to the existing list
You can add new results with different query conditions to your current result list.
- Enter the new filter criteria for your additional search.
- Start and add these query results to the existing result list by clicking on the button
.
- The new results are appended to the existing list.
Remove result items from the list
You can remove entries from your current result list.
- Select the entries you want to delete.
- Click on the button
.
Important This will not delete the data from the database. It only affects the current display in the results list.
Many result columns
The option to provide a result list with many columns is described in
chapter Many result columns.
Query conditions
Remember the last query
By default the values you entered for the query will be remembered. Your query criteria will be pre-filled when the program starts. To change this behaviour, click on the button
.
Query annotation
The query for annotations deviates from the standard query (see below).
Additionally, you may specify a type of the annotation (Annotation
, Problem
, Reference
) and the linked table (see
Annotation).

Duplicates
Certain query condition fields provide the option to add up to 3 duplicates of themselves. For adding a ‘duplicate’ search criteria, click on the green “Plus” button
. Remove a ‘duplicate’ search condition with a click on the red “Minus” button
. The restrictions can be combined with AND +
and OR |
. To change between the modes click on the + resp. | icon.
Query modules
In the “Query conditions” section, some values might be linked to other modules. E.g. within the “Identification” group the fields “Taxa” and “Terms” are linked to the “DiversityTaxonNames” and “DiversityScientificTerms” modules. You can also add “linked” values to your query condition.
- Select the operator that determines how the entries are integrated into the search. See an explanation of all available operators in the table below.
- To connect to the linked module, click on the “Ammonite” button at the right of the respective query field.

- A query window for the linked module will open.
- Search for values within the linked module and click ok.
- If you want to see a list of the selected items, click on the magnifying glass button
.
Info: There is also a detailed
available, which explains all possible operators and how to use them.
Operator |
Meaning |
Example |
∈ |
Search for entries with a list |
Rosa | Rosa caninia \ |
∉ |
Search for entries not within a list |
Rosa | Rosa caninia | ... |
+H  |
search for entry including lower hierarchy |
Picea | Picea abies | ... |
+S  |
search for entry including synonyms |
Picea abies | Pinus abies | ... |
+HS  |
search for entry including lower hierarchy and synonyms |
Picea | Picea abies | Pinus abies | ... |
 |
Change filter mode between link and text |
http://tnt.diversityworkbench.de/TaxonNames_Plants/4269 <> Picea abies L. |
Query any fields
The query for any fields
will search in several
fields, e.g. withholding reasons in specimen, images etc. There are two
versions: The first version (e.g. Notes) will search in all tables but
not in collection event tables while the second version (e.g. Any notes)
will search in any table (see image below).

Videos
- Introduction how to use the query conditions:

- How to use special query conditions:

- Tutorial on how to query modules:

- Tutorial on how to save a query:
.
Wildcards in SQL
There are 4 different possibilities for wildcards in SQL:
Operator |
Description |
Example |
Result |
% |
any string consisting of no, one or many characters |
Pinus % |
will find anything like Pinus, Pinus sylvestris, Pinus strobus etc. |
* |
same effect as % (see above) |
|
|
_ |
a single character |
Pinus s_lvestris |
will find Pinus sylvestris and Pinus silvestris etc. |
[…] |
any character out of a given range like [abcde] or [a-e] |
Pinus s[iy]lvestris |
will find Pinus sylvestris and Pinus silvestris |
[^…] |
any character not in a given range like [^abcde] or [^a-e] |
Pinus s[^i]lvestris |
will find Pinus sylvestris but not Pinus silvestris |
Many colunns
The option to include several columns in the result list is only
available for optimized queries
. To display
several columns in the result list, click on the
button next to the order by column (see below). A window will open where
you can select the next column for the sorting. Underneath the order by
column the second column for the sorting will be added. To remove this
sorting column you can click on the
button. By
default the width for the columns is set to 10. You can change this
according to content. To set the width to the maximal length of the
current content, click on the
button.
To change the sorting of the added order column click on the
button. The colums are separated via "
| " as shown in the image below.

For an introduction see the videos:
- Mehrspaltige Suche:

- Sortierung:

Diversity Scientific terms
Editing the data
The main form of DiversityScientificTerms contains two main areas. On
the left you find the query and the results of this query.
On the right part the details of a dataset selected in the result list
is shown. The upper part of the data area shows the position of the
current term within the hierarchy. In the lower part
you find the fields for the details of a term. At the base of the window
the properties, references and
resources of a term are listed.

For every term one
representation can be set the preferred one, indicated by the
icon. To make a representation the preferred
representation, simply click on this icon.
Display settings for charts etc.
For display in an
interface used from other modules like DiversityCollection, e.g. via a
chart, a term may have a display order, a color for the background and
an image.
The display order
will be applied within the terms of the same hierarchy level and works
top down, so the term with the lowest display order will be presented at
the top of the list.
To set the display
color, click on the
set color button. A window will open where
you can either select an available color or define a new one. The color
will e.g. be used as background in a chart. If depending terms should
use a color of the same hue, click on the
button to activate the inheritance for the color. The button will change
to
. See chapter chart for
details.
To set the display image for a term, click on
the
button. A window will open where you can
search for the image that should be presented. In a chart,
the size of the image will be scaled down to a maximal width of 100. To
remove an image, use the
button next to the image.

After editing the
data, click on the
button to save your data. To see
the description of the fields, just move the mouse into it. A small
window will appear, showing the description. To see the description of
all fields turn to the description of thedatabase.
Copy data
To create a new term
click on the
button above the query list. A form as
shown below will open where you can enter some basic informations for
the new term.
To create a copy of
a term, choose an entry in the query list and click on the
button besides the hierarchy. A form as shown below
will open providing you with the possibility to create a synonym, an
inferior dataset or a copy on the same level in the hierarchy as the
original dataset.
To create a synonym
of a term, choose an entry in the query list and click on the
button besides the hierarchy. This will
create a synonym to the original dataset.
To make a term a
synonym to another term, choose the term in the hierarchy and click on
the
button besides the hierarchy. This will
open a window, where you can select the term to which the current term
should become a synonym to.
To delete a dataset,
select it an click on the
button.
Subsections of Editing
Diversity Scientific terms
Chart
The module DiversityScientificTerms provides other modules the option to
query the terms on basis of a chart. These charts are created on basis
of the selected terminology or sections and in case there are sections
available To test the chart of the current terminology, select Test -
Chart
from the menu. In case there are sections a window will open where you
choose the data you want to show in the chart. A window as shown below
will open. To test the chart, select an entry and click OK. 
Ranking terms resp. types
The chart is not available for ranking terms resp. types
.
Sections
Terminologies may contain
sections. If no sections are available, only the whole terminology will be presented (see below).

If the terminology contains sections, you can choose either the whole
terminology or a section. If you choose a section only the terms within
the section will be shown and the name of the section is shown in the
header (see below).

Images

If a term has
images, these images will be shown in the chart as shown below. The images will be shown according to the order
set for the images. If a title for an image has been defined, this will
be shown in the tool tip when you moove the mouse above the image. If no
title has been defined either the synonyms the term will be shown or if
no synonyms are defined the display text of the term. The width of the
images is restricted to 100 pixel, larger images will be adapted
accordingly.

Colors

Every term may have display color
. Click on the
set
color button to select a color for the term. This color will be
shown as background for the term as shown below. If no color has been
choosen, a greyscale value will be used as background as shown above.

If the terms depending on a term do not have a color of their own and
the inheritance of the color is activated, a hue of the parent term will
be used as shown in the image below. To activate the inheritance of the
color, click on the
button. It will change to
and the color will be inherited to depending values as shown in the
image below.

To select an item, click on it so the corresponding ID will appear in
the box in the left upper corner. If there are synonyms available for a
term these will be shown via a tooltip as shown below.

Files
The html files
for the chart will be generated in the user directory as
shown below. The file …_ChartSelect.html is the main file. the other
files like e.g. …_ChartSelect_71_76.html are depending files that
contain the items with the parent ID 71. These files will be removed
when you close the chart.

The html files and the chart are adapted to the width of the window of
your application, so if you change the width of your main window, the
files will be regenerated to ensure that the displayed columns fit into
the available space. In the examples below, the chart has been selected
with two different widths that result in a regeneration of the files.

The html file below has been generated with a reduced with of the window
with the links to subpages starting on a higher level. The fields with a
colored background let you select the displayed items while the fields
with a link lead you to a subpage containing depending items (e.g. Coastal
dune and sand habitatas in the example below).

A field with a link will lead you to a subpage as shown below. The link
at the top of the subpage will lead you back to the page where you came
from (← Coastal habitatas in the example below).

Diversity Scientific terms
Dependency
For an introduction see the video: 
The terms of a certain type/ranking may be dependent on terms that are
no types/ranking, e.g. terms of the type Zement may only be available for terms
underneath the term Sedimentgestein
which itself is of the type Gestein.
Clients that want to use any term of a dependent type (e.g. Zement) must therefore first insert a term of
the type of these terms depend on (e.g. Sedimentgestein) or underneath in the
hierarchy (e.g. Kalkgestein). The
clients afterwards will contact the database including the information
of the first term (e.g. Kalkgestein)
and will in return get a list of all terms of which the type (e.g. Zement) is defined as dependent on the first
term (e.g. Kalkgestein) resp. a parent
of this term (e.g. Sedimentgestein).
The image below shows the relationships in an example.

To define dependencies, change to
Ranking terms (in the menu click on
Ranking terms to switch to the administration of the types resp. ranking
terms (see image below)). This part is only accessible for users in the
group Editor or above.

Diversity Scientific terms
Hierarchy
The upper part of the form shows the term in the hierarchical relation.
To insert a relation to a broader term, click no the
button. In the window that will open, select
the broader term from the list and click OK. To remove the relation to a
broader term, click on the
button. The
image below summarizes the options to depict the relations in the
hierarchy.
The default view of the hierarchy is shown below.
If you want to see the synonyms, click on the
button. The button will change to
and the hierarchy will show the synonyms
with the indaction of the language. Synonyms of the current term will
have a pink backgroud.
If you restrict the output in the hierarchy to a certain language,
only one language will be shown in the
hierarchy as shown below.
In the image above the hierarchy is restricted to the superior terms. If
you want to see the whole hierarchy click on the
button. It will change to
and all terms will be shown. To return to
the previous view, just click the button again.
A cached value of the hierarchy is stored in two fields (downward and
upward) for every term. These entries are needed e.g. for queries where
the whole hierarchy is used instead of the term itself. The hierarchies
are build using the preferred terms (see Editing thedata
).
Diversity Scientific terms
History
To inspect the
history of a dataset click on the
button. A form
will open, showing all former states of the data in the tables with the
current dataset at the top.
Diversity Scientific terms
Language
To edit the
language list available for the selection of the synonyms,
choose Administration -
Language from the menu. In
the window that will appear, you can enanble or disable certain
languages (see below). With a click on the Disable languages that are not used button,
you can disable all languages that are not used for synonyms so far,
which will shorten the list for selection in the main form..

Diversity Scientific terms
Properties
The properties that can be asigned for a term might be defined under the
terminology to which the term belongs. To insert a new property, open
the form Terminology. You find the properties defined
for a terminology in the base part of the form as shown below.

The properties that are defined in the terminology are then available
for a term. Depending on the datatype set for a property in the
terminology, you can either enter list, text, numeric or date values for
a property of a term as in the example above numeric values for an age.
For properties of the datatype list, an area for the entry of the
dedicated (text) values will appear as shown below.

The values for a term will be restricted to the list of values (see
below).
Diversity Scientific terms
Ranking terms
Every term should be characterized by a ranking term or type. These
ranking terms are edited in a separate list, not to be mixed up with the
terms. To switch to the editing of the ranking terms, click on Ranking terms in the menu that
will switch to
Ranking terms and list the ranking terms (see image below).
If in the query for the terms Ranking has been selected as the display column, this will be changed to Display Text as Ranking is not available for Ranking terms. To edit the ranking terms / types a user needs to be in the group DiversityWorkbenchEditor or above. For the ranking terms, you can define a dependency from a term.

Diversity Scientific terms
References
For every terminoloy and every term you can insert references.
There are 3 options to enter a reference:
|
|
1 |
as simple text |
|
just enter the title of the reference in the text field as shown below |
|
 |
2 |
linked to a module like DiversityReferences or a webservice |
|
Click on the button to open a window where you can search and select for a reference in e.g. the module DiversityReferences. You need access to DiversityReferences or a corresponding webservice to use this option. |
|
 |
3 |
a URI of a website |
|
click on the button to open a browser where you can choose the reference from the web |
|
 |
The data are stored in the tables TermReference and TerminologyReference
respectively.
Diversity Scientific terms
Resources
For every term you can insert resources, including informations about
the creator, the license etc. (see image below). Use the
and
button to add or remove
images. If an image should not be shown in an external user interface,
e.g. in a chart in another modul like DiversityCollection,
enter the reason in the
field. The image will
change to
and the pink background will indicate
the withholding of the image. The title will be shown as tooltip in a
chart.

To see an image, click on the
button. A window
as shown below will open.

The data are stored in the tables TermResource.
Diversity Scientific terms
Sections

The
sections that can be asigned for a term must
be defined under the terminology to which the term belongs. To insert a
new section, open the form Terminology. You find the
sections defined for a terminology in the base part of the form as shown
below.

The sections that are defined in the terminology are then available for
a term. Choose the
and
button
to add resp. remove a term from a section (see below). To Insert all
Terms listed in the query results to a section, choose Data -
Add to section from the menu.

Diversity Scientific terms
Synonyms
Every term may have several synonmys. The preferred synonym, shown in
picklists and the like is marked with a green
icon. To make another synonym the preferred icon, click on the
button. To make a term a synonym to
another term, click on the
button. In the
window that will open, select the synonym from the list and click OK.
To create a synonym
of a term, choose an entry in the query list and click on the
button besides the hierarchy. A window as
shown below will open. Enter the display text and choose the language of
the new synonym. This will create a synonym to the original dataset.

To make a term a
synonym to another term, choose the term in the hierarchy and click on
the
button besides the hierarchy. This will
open a window, where you can select the term to which the current term
should become a synonym to (see below).

If you want to see the synonyms in the Hierarchy, click
on the
button. The button will change to
and the hierarchy will show the synonyms
with the indaction of the language. Synonyms of the current term will
have a pink backgroud.
If there are several synonyms, the perferred term will be marked
green while the other
synonyms are marked pink. The current term will be marked
yellow (see below).
Diversity Scientific terms
Table Editors
For the data selected in the main window the table editors offer a
direct access to the tables of the database. The menu Data -
Table editors provide an editor for
Term… ,
Representation… and
Resource…
A window with the content of the table will open. Columns with a gray
background can not be edited here. Columns with a light gray background
are linked to the contents of lookup tables where you can change
according to the contents of these tables.
Select
Set timeout … from the menu to
increase the default timeout from 5 seconds to a higher value, e.g. for
greater amounts of data.
Editing
You can either edit the contents of the table directly or perform
changes to any number of marked fields. To mark a whole column use
the
button. Once you have selected the
contents to change, select one of the modes of change that appear in the
upper left corner. The modes of change are:
Insert: Insert the given value at the beginning
of the content
Append: Append the given value at the end of
the content
Replace: Replace a string in the content with
the given value
Clear: Remove the content
After selecting the change mode, enter the text in the field where
necessary and click on the corresponding button to perform the changes
Filtering
To filter the content of the table, click in the column that should be
used for filtering. Then choose the mode of comparision:
- = : The content must be exactly like the given value
- ~ : The content must contain the given value
- ≠ : The content must be different to the given value
If you want the filtering to be case sensitive, choose the
a<>A option. After all parameters are set,
click on the
button. To undo the filtering, click
on the
button. This will reset the data to the
last saved version. If you want your changes to be saved, click the
button before you reset the filtering. If you close
the window all changes so far will be saved automatically. So if you do
not want to save your changes, click on the
button before closing the window.
Export
To export the data as a tab separated text file, click on the
button. The file will be automatically saved in
the client-folder.
Log data
To see the log data of the table, you can click on the
button. The content of the log table can not be
changed, but is read only.
Diversity Scientific terms
Terminology
To edit the terminologies select Administration - Terminologies … from
the menu.
A form as shown below will open. A terminology may optionally be linked
to a project
in DiversityProjects. Click on the
button to get further
informations about the project or directly access the module
DiversityProjects. To remove the connection to
DiversityProjects, click on the
button.
After changes in the data, especially in the hierarchy, please use the
button Refresh the cache entries for the hierarchy
to update the hierarchy cache for the terms
within the terminology. The hierarchies are build using the preferred
terms (see Editing the data
).
On the left the terminologies accessible for the user are listed, on the
right you find the details. At the bottom of the window the
properties, references and users
with access to the selected terminology are listed. In the User tab, use
the < and > buttons to decide if
a user has access to a terminology. To add missing users use
the
button. This functionallity is as well
available under the Login Administration.

Diversity Scientific terms
Import Export
The import wizard reachable in the menu Data -> Import can be used to import data into DiversityScientifcTerms.
Currenlty there is no export wizard, but the data tables from DiversityScientificTerms can be exported using the Table editors, accessible via the menu -> Data -> Table Editors.
Diversity Scientific terms
Internals
For users that need more detailed information about the software including database design etc.
Subsections of Internals
Diversity Scientific terms
Database
The image below shows the main datadomains within DiversityScientificTerms.

The database for DiversityScientificTerms is based on Microsoft SQL-Server 2014 or
above.
Organisation of the data
The main data are kept in the tables Terminology, Term and TermRepresentation. For further tables and
details see the table descriptions.
Subsections of Database
Diversity Scientific Terms
TABLES, VIEWS, FUNCTIONS, PROCEDURES, ROLES
The following objects are not included:
- Logging tables
- Enumeration tables
- System objects
- Objects marked as obsolete
- Previous versions of objects
TABLES

Table Section
A section of terms within a scientific terminology, e.g. the terms of a certain geographic area extracted from a terminology
Column |
Data type |
Description |
Nullable |
Relation |
TerminologyID |
int |
The ID of the terminology, refers to PK in table Terminology (foreign key) |
NO |
Refers to table Terminology |
SectionID |
int |
ID of the section, Primary key |
NO |
- |
DisplayText |
varchar (500) |
The label or name of the section |
YES |
- |
Notes |
nvarchar (MAX) |
Notes about the section |
YES |
- |
LogInsertedBy |
nvarchar (50) |
ID of user who first entered (typed or imported) the recorde into this system. This is the operator (or typist) name, which may be different from the person responsible.Default value: [dbo].UserID |
YES |
- |
LogInsertedWhen |
smalldatetime |
Date and time when record was first entered (typed or imported) into this system.Default value: getdate() |
YES |
- |
LogUpdatedBy |
nvarchar (50) |
ID of user who last updated the data. This is the operator (or typist) name, which may be different from the person responsible.Default value: [dbo].UserID |
YES |
- |
LogUpdatedWhen |
smalldatetime |
Date and time when record was last updated.Default value: getdate() |
YES |
- |
Depending on:
Dependent tables:
Table SectionTerm
A term within a section of terms within a scientific terminology, e.g. the terms of a certain geographic area extracted from a terminology
Column |
Data type |
Description |
Nullable |
Relation |
TerminologyID |
int |
The ID of the terminology, refers to PK in table Terminology (foreign key) |
NO |
Refers to table Section and table Term |
SectionID |
int |
ID of the section, Part of primary key |
NO |
Refers to table Section |
TermID |
int |
ID of the term, Part of primary key |
NO |
Refers to table Term |
LogInsertedBy |
nvarchar (50) |
ID of user who first entered (typed or imported) the recorde into this system. This is the operator (or typist) name, which may be different from the person responsible.Default value: [dbo].UserID |
YES |
- |
LogInsertedWhen |
smalldatetime |
Date and time when record was first entered (typed or imported) into this system.Default value: getdate() |
YES |
- |
LogUpdatedBy |
nvarchar (50) |
ID of user who last updated the data. This is the operator (or typist) name, which may be different from the person responsible.Default value: [dbo].UserID |
YES |
- |
LogUpdatedWhen |
smalldatetime |
Date and time when record was last updated.Default value: getdate() |
YES |
- |
Depending on:
Table Term
The scientific term within a scientific terminology, e.g. the name of a soil in soil sciences or the name of a mineral in mineralogy
Column |
Data type |
Description |
Nullable |
Relation |
TerminologyID |
int |
The ID of the terminology, refers to PK in table Terminology (foreign key) |
NO |
Refers to table Term and table Terminology |
TermID |
int |
ID of the term, Primary key |
NO |
- |
BroaderTermID |
int |
ID of the superior term within DiversityScientificTerms to which this record belongs to, e.g. Rosaceae is broader term for Rosa |
YES |
Refers to table Term |
RankingTermID |
int |
ID of the ranking term of the term, e.g. Epoch is rank for Paleocene, family is rank of Rosaceae |
YES |
Refers to table Term |
IsRankingTerm |
bit |
If the term is a ranking term, e.g. epoch in paleontolgoyDefault value: (0) |
YES |
- |
PreferredRepresentationID |
int |
The ID of the preferred representation of this term |
YES |
- |
TermIdentifier |
nvarchar (500) |
An identifier for a term, valid for all representations of this term |
YES |
- |
Notes |
nvarchar (MAX) |
Notes about the term |
YES |
- |
LogInsertedBy |
nvarchar (50) |
Name of user who first entered (typed or imported) the data. This is the operator (or typist) name, which may be different from the person responsible.Default value: user_name() |
YES |
- |
LogInsertedWhen |
smalldatetime |
Date and time when record was first entered (typed or imported) into this system.Default value: getdate() |
YES |
- |
LogUpdatedBy |
nvarchar (50) |
Name of user who last updated the data. This is the operator (or typist) name, which may be different from the person responsible.Default value: user_name() |
YES |
- |
LogUpdatedWhen |
smalldatetime |
Date and time when record was last updated.Default value: getdate() |
YES |
- |
Depending on:
Dependent tables:
- SectionTerm
- TermDependency
- TermProperty
- TermRepresentation
Table TermDependency
Dependency within terms
Column |
Data type |
Description |
Nullable |
Relation |
TerminologyID |
int |
The ID of the terminology, refers to PK in table Terminology (foreign key) |
NO |
Refers to table Term |
TermID |
int |
ID of the term, Part of primary key |
NO |
- |
DependsOnTermID |
int |
ID of the term the current term depens on, Part of primary key |
NO |
Refers to table Term |
LogInsertedBy |
nvarchar (50) |
-Default value: [dbo].UserID |
YES |
- |
LogInsertedWhen |
smalldatetime |
-Default value: getdate() |
YES |
- |
LogUpdatedBy |
nvarchar (50) |
-Default value: [dbo].UserID |
YES |
- |
LogUpdatedWhen |
smalldatetime |
-Default value: getdate() |
YES |
- |
Depending on:
Table Terminology
A terminology used in a certain scientifc area, e.g. mineralogy, soil sciences, paleontology, stratigraphy
Column |
Data type |
Description |
Nullable |
Relation |
TerminologyID |
int |
The ID of the terminology (primary key) |
NO |
- |
DisplayText |
nvarchar (50) |
The text for the terminology as shown e.g. in a user interface |
NO |
- |
Description |
nvarchar (MAX) |
The description of the terminology |
YES |
- |
ExternalDatabase |
nvarchar (200) |
The name of the source that has been imported or can be linked to for further analysis |
YES |
- |
ExternalDatabaseVersion |
nvarchar (255) |
The version of this data collection (either official version number, or dates when the collection was integrated) |
YES |
- |
ExternalDatabaseAuthors |
nvarchar (200) |
The persons or institutions responsible for the external database |
YES |
- |
ExternalDatabaseURI |
varchar (255) |
The URI of the database provider resp. the external database |
YES |
- |
ExternalDatabaseInstitution |
nvarchar (300) |
The institution responsible for the external database |
YES |
- |
ExternalAttribute_NameID |
nvarchar (255) |
The table and field name in the external data collection to which TaxonNameExternalID refers |
YES |
- |
Rights |
nvarchar (100) |
Information about rights (copyright, intellectual property) held in and over the database. Enter esp. name of person or institution holding the copyright. Leave empty if unknown. |
YES |
- |
DefaultLanguageCode |
nvarchar (50) |
The code of the default language of the terminologyDefault value: N’en' |
YES |
Refers to table LanguageCode_Enum |
ProjectURI |
varchar (500) |
Link to the module DiversityProjects |
YES |
- |
InternalNotes |
nvarchar (MAX) |
Additional notes concerning this data collection |
YES |
- |
ArchiveProtocol |
nvarchar (MAX) |
The protocol created during the last archive |
YES |
- |
LogInsertedBy |
nvarchar (50) |
Name of user who first entered (typed or imported) the data. This is the operator (or typist) name, which may be different from the person responsible.Default value: user_name() |
YES |
- |
LogInsertedWhen |
smalldatetime |
Date and time when record was first entered (typed or imported) into this system.Default value: getdate() |
YES |
- |
LogUpdatedBy |
nvarchar (50) |
Name of user who last updated the data. This is the operator (or typist) name, which may be different from the person responsible.Default value: user_name() |
YES |
- |
LogUpdatedWhen |
smalldatetime |
Date and time when record was last updated.Default value: getdate() |
YES |
- |
Depending on:
Dependent tables:
- Section
- Term
- TerminologyProperty
- TerminologyReference
- TerminologyUser
Table TerminologyProperty
Properties of scientific terms in a certain terminology, e.g. the specific weight of a mineral in mineralogy
Column |
Data type |
Description |
Nullable |
Relation |
TerminologyID |
int |
An ID to identify an external data collection of scientific terms (primary key, the ID has no meaning outside of the DiversityScientificTerms) |
NO |
Refers to table Terminology |
Property |
nvarchar (50) |
The name of the property |
NO |
- |
DisplayText |
nvarchar (50) |
The text shown e.g. in a user interface |
YES |
- |
Description |
nvarchar (MAX) |
Description of the property |
YES |
- |
Datatype |
varchar (50) |
The datatype of the property |
YES |
Refers to table TerminologyPropertyDataType_Enum |
DisplayOrder |
smallint |
The sequence with which the properties are shown in a user interface if different from alphabetic order |
YES |
- |
DisplayEnable |
bit |
True if the property should be shown, otherwise false |
YES |
- |
InternalNotes |
nvarchar (500) |
Internal notes about this property |
YES |
- |
LogInsertedBy |
nvarchar (50) |
Name of user who first entered (typed or imported) the data. This is the operator (or typist) name, which may be different from the person responsible.Default value: user_name() |
YES |
- |
LogInsertedWhen |
smalldatetime |
Date and time when record was first entered (typed or imported) into this system.Default value: getdate() |
YES |
- |
LogUpdatedBy |
nvarchar (50) |
Name of user who last updated the data. This is the operator (or typist) name, which may be different from the person responsible.Default value: user_name() |
YES |
- |
LogUpdatedWhen |
smalldatetime |
Date and time when record was last updated.Default value: getdate() |
YES |
- |
Depending on:
- Terminology
- TerminologyPropertyDataType_Enum
Dependent tables:
- TerminologyPropertyValue
- TermProperty
Table TerminologyPropertyValue
Dedicated property values of a certain property of a scientific term
Column |
Data type |
Description |
Nullable |
Relation |
TerminologyID |
int |
An ID to identify an external data collection of scientific terms (primary key, the ID has no meaning outside of the DiversityScientificTerms) |
NO |
Refers to table TerminologyProperty |
Property |
nvarchar (50) |
The name of the property |
NO |
Refers to table TerminologyProperty |
DisplayText |
nvarchar (50) |
The text shown e.g. in a user interface |
NO |
- |
Description |
nvarchar (MAX) |
Description of the property |
YES |
- |
InternalNotes |
nvarchar (500) |
Internal notes about this property |
YES |
- |
LogInsertedBy |
nvarchar (50) |
Name of user who first entered (typed or imported) the data. This is the operator (or typist) name, which may be different from the person responsible.Default value: user_name() |
YES |
- |
LogInsertedWhen |
smalldatetime |
Date and time when record was first entered (typed or imported) into this system.Default value: getdate() |
YES |
- |
LogUpdatedBy |
nvarchar (50) |
Name of user who last updated the data. This is the operator (or typist) name, which may be different from the person responsible.Default value: user_name() |
YES |
- |
LogUpdatedWhen |
smalldatetime |
Date and time when record was last updated.Default value: getdate() |
YES |
- |
Depending on:
Table TerminologyReference
A TerminologyReference used in a certain scientifc area, e.g. mineralogy, soil sciences, paleontology, stratigraphy
Column |
Data type |
Description |
Nullable |
Relation |
TerminologyID |
int |
An ID to identify an external data collection of scientific terms (primary key, the ID has no meaning outside of the DiversityScientificTerms) |
NO |
Refers to table Terminology |
Reference |
nvarchar (255) |
A link to e.g. a website containing a description of the terminology or the title of the publication where the collection event was published. Note this is only a cached value where ReferenceURI is present |
NO |
- |
ReferenceURI |
varchar (255) |
URI of reference where specimen is published, e.g. referring to the module DiversityReferences |
YES |
- |
ReferenceDetails |
varchar (255) |
The exact location within the reference, e.g. pages, plates |
YES |
- |
InternalNotes |
nvarchar (MAX) |
Additional notes concerning the reference |
YES |
- |
LogInsertedBy |
nvarchar (50) |
Name of user who first entered (typed or imported) the data. This is the operator (or typist) name, which may be different from the person responsible.Default value: user_name() |
YES |
- |
LogInsertedWhen |
smalldatetime |
Date and time when record was first entered (typed or imported) into this system.Default value: getdate() |
YES |
- |
LogUpdatedBy |
nvarchar (50) |
Name of user who last updated the data. This is the operator (or typist) name, which may be different from the person responsible.Default value: user_name() |
YES |
- |
LogUpdatedWhen |
smalldatetime |
Date and time when record was last updated.Default value: getdate() |
YES |
- |
Depending on:
Table TerminologyUser
Users with access to a terminology
Column |
Data type |
Description |
Nullable |
Relation |
LoginName |
nvarchar (50) |
A login name which the user uses for access the DivesityWorkbench, Microsoft domains, etc.. |
NO |
Refers to table UserProxy |
TerminologyID |
int |
An ID to identify an external data collection of scientific terms (primary key, the ID has no meaning outside of the DiversityScientificTerms) |
NO |
Refers to table Terminology |
Depending on:
Table TermProperty
The property of a scientific term, e.g. the specific weight of a certain mineral in mineralogy
Column |
Data type |
Description |
Nullable |
Relation |
TerminologyID |
int |
An ID to identify an external data collection of terms (primary key, the ID has no meaning outside of the DiversityScientificTerms) |
NO |
Refers to table Term and table TerminologyProperty |
TermID |
int |
ID of the term, refers to table Term (foreign key) |
NO |
Refers to table Term |
Property |
nvarchar (50) |
The property as defined in table TermiologyProperty, Foreign key |
NO |
Refers to table TerminologyProperty |
TextValue |
nvarchar (500) |
The text if the value is a text value |
YES |
- |
NumericValue |
float |
The numeric value if the value is numeric |
YES |
- |
DateValue |
datetime |
The date if the value is a date |
YES |
- |
Notes |
nvarchar (MAX) |
Notes about the property entry |
YES |
- |
LogInsertedBy |
nvarchar (50) |
Name of user who first entered (typed or imported) the data. This is the operator (or typist) name, which may be different from the person responsible.Default value: user_name() |
YES |
- |
LogInsertedWhen |
smalldatetime |
Date and time when record was first entered (typed or imported) into this system.Default value: getdate() |
YES |
- |
LogUpdatedBy |
nvarchar (50) |
Name of user who last updated the data. This is the operator (or typist) name, which may be different from the person responsible.Default value: user_name() |
YES |
- |
LogUpdatedWhen |
smalldatetime |
Date and time when record was last updated.Default value: getdate() |
YES |
- |
Depending on:
Table TermReference
A reference for a term used in a certain scientific area, e.g. mineralogy, soil sciences, paleontology, stratigraphy
Column |
Data type |
Description |
Nullable |
Relation |
RepresentationID |
int |
ID of the term, refers to table TermRepresentation (foreign key) |
NO |
Refers to table TermRepresentation |
Reference |
nvarchar (255) |
A link to e.g. a website containing a description of the terminology or the title of the publication where the collection event was published. Note this is only a cached value where ReferenceURI is present |
NO |
- |
ReferenceURI |
varchar (255) |
URI of reference where specimen is published, e.g. referring to the module DiversityReferences |
YES |
- |
ReferenceDetails |
varchar (255) |
The exact location within the reference, e.g. pages, plates |
YES |
- |
InternalNotes |
nvarchar (MAX) |
Internal notes about the reference |
YES |
- |
LogInsertedBy |
nvarchar (50) |
Name of user who first entered (typed or imported) the data. This is the operator (or typist) name, which may be different from the person responsible.Default value: user_name() |
YES |
- |
LogInsertedWhen |
smalldatetime |
Date and time when record was first entered (typed or imported) into this system.Default value: getdate() |
YES |
- |
LogUpdatedBy |
nvarchar (50) |
Name of user who last updated the data. This is the operator (or typist) name, which may be different from the person responsible.Default value: user_name() |
YES |
- |
LogUpdatedWhen |
smalldatetime |
Date and time when record was last updated.Default value: getdate() |
YES |
- |
Depending on:
Table TermRepresentation
The representation of a scientific term within a scientific terminology in a certain language, e.g. the name of a soil in soil sciences in English or German
Column |
Data type |
Description |
Nullable |
Relation |
RepresentationID |
int |
ID of the representation of a term within DiversityScientificTerms (primary key) |
NO |
- |
TerminologyID |
int |
The ID of the terminology in which the term belongs (foreign key) |
NO |
Refers to table Term |
TermID |
int |
ID of the term to which the representation belongs (foreign key) |
NO |
Refers to table Term |
DisplayText |
nvarchar (400) |
The label or name of the term as shown e.g. in a user interface |
NO |
- |
Description |
nvarchar (MAX) |
Description of the term |
YES |
- |
HierarchyCache |
nvarchar (MAX) |
A system generated list defining the hierarchy of the term above the current entry, necessary to distinguish synonymous entries |
YES |
- |
HierarchyCacheDown |
nvarchar (MAX) |
A system generated list defining the hierarchy from the top to the current entry, necessary to distinguish synonymous entries |
YES |
- |
ExternalID |
nvarchar (50) |
If the entry was retrieved from an external database, a code or number for the entry as defined in the external database |
YES |
- |
Notes |
nvarchar (MAX) |
Notes about the term |
YES |
- |
LanguageCode |
nvarchar (50) |
The code of the language of the property (foreign key)Default value: N’en' |
YES |
Refers to table LanguageCode_Enum |
DisplayOrder |
int |
The order as shown in die user interface |
YES |
- |
DisplayARGB |
int |
The 8-Bit-ARGB-values (Alpha, red, green und blue) as shown in die user interface |
YES |
- |
DisplayInheritARGB |
bit |
If the display color should be inherited to depending valuesDefault value: (0) |
YES |
- |
LogInsertedBy |
nvarchar (50) |
Name of user who first entered (typed or imported) the data. This is the operator (or typist) name, which may be different from the person responsible.Default value: user_name() |
YES |
- |
LogInsertedWhen |
smalldatetime |
Date and time when record was first entered (typed or imported) into this system.Default value: getdate() |
YES |
- |
LogUpdatedBy |
nvarchar (50) |
Name of user who last updated the data. This is the operator (or typist) name, which may be different from the person responsible.Default value: user_name() |
YES |
- |
LogUpdatedWhen |
smalldatetime |
Date and time when record was last updated.Default value: getdate() |
YES |
- |
Depending on:
Dependent tables:
- TermReference
- TermResource
trgInsTermRepresentation
Table TermResource
A resource connected to the scientific term, e.g. a picture, video etc.
Column |
Data type |
Description |
Nullable |
Relation |
RepresentationID |
int |
ID of the term, refers to table TermRepresentation, Foreign key |
NO |
Refers to table TermRepresentation |
URI |
varchar (255) |
The complete URI address of the resource. This is only a cached value, if ResourceID is available and referring to the module DiversityResources |
NO |
- |
ResourceURI |
varchar (255) |
The URI of the resource, e.g. as stored in the module DiversityResources. |
YES |
- |
Notes |
nvarchar (MAX) |
Notes on the resource |
YES |
- |
Description |
xml (MAX) |
Description of the resource |
YES |
- |
Title |
nvarchar (500) |
Title of the resource |
YES |
- |
IPR |
nvarchar (500) |
Intellectual Property Rights; the rights given to persons for their intellectual property |
YES |
- |
Creator |
nvarchar (500) |
Person or organization originally creating the resource |
YES |
- |
CreatorAgentURI |
varchar (255) |
Link to the module DiversityAgents |
YES |
- |
CopyrightStatement |
nvarchar (500) |
Notice on rights held in and for the resource |
YES |
- |
LicenseType |
nvarchar (500) |
Type of an official or legal permission to do or own a specified thing, e. g. Creative Common Licenses |
YES |
- |
InternalNotes |
nvarchar (500) |
Internal notes which should not be published e.g. on websites |
YES |
- |
LicenseHolder |
nvarchar (500) |
The person or institution holding the license |
YES |
- |
LicenseHolderAgentURI |
nvarchar (500) |
The link to a module containing further information on the person or institution holding the license |
YES |
- |
LicenseYear |
nvarchar (50) |
The year of license declaration |
YES |
- |
DisplayOrder |
int |
The sequence in which the resource should be displayed in a user interface |
YES |
- |
DataWithholdingReason |
nvarchar (255) |
If the data set is withhold, the reason for withholding the data, otherwise nullDefault value: '' |
YES |
- |
LogCreatedWhen |
datetime |
Point in time when this data set was createdDefault value: getdate() |
YES |
- |
LogCreatedBy |
nvarchar (50) |
Name of the creator of this data setDefault value: user_name() |
YES |
- |
LogUpdatedWhen |
datetime |
Point in time when this data set was updated lastDefault value: getdate() |
YES |
- |
LogUpdatedBy |
nvarchar (50) |
Name of the person to update this data set lastDefault value: user_name() |
YES |
- |
RowGUID |
uniqueidentifier |
-Default value: newsequentialid() |
NO |
- |
Depending on:
VIEWS
View ProjectUser
Interface for handling Terminology as Project
Column |
Data type |
Description |
Nullable |
LoginName |
nvarchar (50) |
A login name which the user uses for access the DivesityWorkbench, Microsoft domains, etc.. |
NO |
ProjectID |
int |
TerminologyID in table Terminology |
NO |
Depending on:
View TerminologyID_UserAvailable
The terminologies a user has access to
Column |
Data type |
Description |
Nullable |
TerminologyID |
int |
The ID of the terminology (primary key) |
NO |
DisplayText |
nvarchar (50) |
The text for the terminology as shown e.g. in a user interface |
NO |
Depending on:
- Terminology
- TerminologyUser
View View_SectionTerm
Content of table SectionTerm for query
Column |
Data type |
Description |
Nullable |
TerminologyID |
int |
The ID of the terminology, refers to PK in table Terminology (foreign key) |
YES |
SectionID |
int |
ID of the section, Primary key |
YES |
TermID |
int |
ID of the term, Part of primary key |
YES |
Section |
varchar (500) |
DisplayText in table Section |
YES |
RepresentationID |
int |
ID of the representation of a term within DiversityScientificTerms (primary key) |
NO |
Depending on:
- Section
- SectionTerm
- TermRepresentation
View View_TermProperty
Providing content of table TermProperty including combined column DisplayText for query
Column |
Data type |
Description |
Nullable |
TerminologyID |
int |
An ID to identify an external data collection of terms (primary key, the ID has no meaning outside of the DiversityScientificTerms) |
NO |
TermID |
int |
ID of the term, refers to table Term (foreign key) |
NO |
RepresentationID |
int |
ID of the representation of a term within DiversityScientificTerms (primary key) |
NO |
Property |
nvarchar (50) |
The property as defined in table TermiologyProperty, Foreign key |
NO |
TextValue |
nvarchar (500) |
The text if the value is a text value |
YES |
NumericValue |
float |
The numeric value if the value is numeric |
YES |
DateValue |
datetime |
The date if the value is a date |
YES |
Notes |
nvarchar (MAX) |
Notes about the property entry |
YES |
PropertyValue |
nvarchar (552) |
Column Property combined with valid value column |
YES |
Depending on:
- TermProperty
- TermRepresentation
View View_TermRanking
Combines ranking type of the term with hierarchy
Column |
Data type |
Description |
Nullable |
Ranking |
nvarchar (MAX) |
Combines ranking type of the term with hierarchy |
YES |
RepresentationID |
int |
ID of the representation of a term within DiversityScientificTerms (primary key) |
NO |
TerminologyID |
int |
The ID of the terminology, refers to PK in table Terminology (foreign key) |
NO |
TermID |
int |
ID of the term, Primary key |
NO |
Depending on:
View View_TermRankingHierarchy
Providing content of table TermRepresentation including hierarchy of ranking terms combined with column DisplayText for query
Column |
Data type |
Description |
Nullable |
RankingHierarchy |
nvarchar (MAX) |
Hierarchy of ranking terms combined with column DisplayText |
YES |
RepresentationID |
int |
ID of the representation of a term within DiversityScientificTerms (primary key) |
NO |
TerminologyID |
int |
The ID of the terminology, refers to PK in table Terminology (foreign key) |
NO |
TermID |
int |
ID of the term, Primary key |
NO |
Depending on:
View View_TermReference
Providing content of table TermReference for query
Column |
Data type |
Description |
Nullable |
RepresentationID |
int |
ID of the term, refers to table TermRepresentation (foreign key) |
NO |
Reference |
nvarchar (255) |
A link to e.g. a website containing a description of the terminology or the title of the publication where the collection event was published. Note this is only a cached value where ReferenceURI is present |
NO |
ReferenceURI |
varchar (255) |
URI of reference where specimen is published, e.g. referring to the module DiversityReferences |
YES |
ReferenceDetails |
varchar (255) |
The exact location within the reference, e.g. pages, plates |
YES |
InternalNotes |
nvarchar (MAX) |
Internal notes about the reference |
YES |
TerminologyID |
int |
The ID of the terminology in which the term belongs (foreign key) |
NO |
TermID |
int |
ID of the term to which the representation belongs (foreign key) |
NO |
Depending on:
- TermReference
- TermRepresentation
View View_TermResource
Providing content of table TermResource for query
Column |
Data type |
Description |
Nullable |
RepresentationID |
int |
ID of the representation of a term within DiversityScientificTerms (primary key) |
NO |
URI |
varchar (255) |
The complete URI address of the resource. This is only a cached value, if ResourceID is available and referring to the module DiversityResources |
NO |
ResourceURI |
varchar (255) |
The URI of the resource, e.g. as stored in the module DiversityResources. |
YES |
Notes |
nvarchar (MAX) |
Notes about the term |
YES |
Description |
xml (MAX) |
Description of the term |
YES |
Title |
nvarchar (500) |
Title of the resource |
YES |
IPR |
nvarchar (500) |
Intellectual Property Rights; the rights given to persons for their intellectual property |
YES |
Creator |
nvarchar (500) |
Person or organization originally creating the resource |
YES |
CreatorAgentURI |
varchar (255) |
Link to the module DiversityAgents |
YES |
CopyrightStatement |
nvarchar (500) |
Notice on rights held in and for the resource |
YES |
LicenseType |
nvarchar (500) |
Type of an official or legal permission to do or own a specified thing, e. g. Creative Common Licenses |
YES |
LicenseHolder |
nvarchar (500) |
The person or institution holding the license |
YES |
LicenseHolderAgentURI |
nvarchar (500) |
The link to a module containing further information on the person or institution holding the license |
YES |
LicenseYear |
nvarchar (50) |
The year of license declaration |
YES |
DisplayOrder |
int |
The order as shown in die user interface |
YES |
DataWithholdingReason |
nvarchar (255) |
If the data set is withhold, the reason for withholding the data, otherwise null |
YES |
TerminologyID |
int |
The ID of the terminology in which the term belongs (foreign key) |
NO |
TermID |
int |
ID of the term to which the representation belongs (foreign key) |
NO |
Depending on:
- TermRepresentation
- TermResource
View ViewBaseURL
View for access via linked server
Column |
Data type |
Description |
Nullable |
BaseURL |
varchar (255) |
Content of functionBaseURL |
YES |
Depending on:
View ViewDiversityWorkbenchModule
View for access via linked server
Column |
Data type |
Description |
Nullable |
DiversityWorkbenchModule |
nvarchar (50) |
Content of function DiversityWorkbenchModule |
YES |
Depending on:
View ViewTermResource
View excluding XML column to provide access via linked server
Column |
Data type |
Description |
Nullable |
RepresentationID |
int |
ID of the term, refers to table TermRepresentation, Foreign key |
NO |
URI |
varchar (255) |
The complete URI address of the resource. This is only a cached value, if ResourceID is available and referring to the module DiversityResources |
NO |
ResourceURI |
varchar (255) |
The URI of the resource, e.g. as stored in the module DiversityResources. |
YES |
Notes |
nvarchar (MAX) |
Notes on the resource |
YES |
Title |
nvarchar (500) |
Title of the resource |
YES |
IPR |
nvarchar (500) |
Intellectual Property Rights; the rights given to persons for their intellectual property |
YES |
Creator |
nvarchar (500) |
Person or organization originally creating the resource |
YES |
CreatorAgentURI |
varchar (255) |
Link to the module DiversityAgents |
YES |
CopyrightStatement |
nvarchar (500) |
Notice on rights held in and for the resource |
YES |
LicenseType |
nvarchar (500) |
Type of an official or legal permission to do or own a specified thing, e. g. Creative Common Licenses |
YES |
LicenseHolder |
nvarchar (500) |
The person or institution holding the license |
YES |
LicenseHolderAgentURI |
nvarchar (500) |
The link to a module containing further information on the person or institution holding the license |
YES |
LicenseYear |
nvarchar (50) |
The year of license declaration |
YES |
DisplayOrder |
int |
The sequence in which the resource should be displayed in a user interface |
YES |
DataWithholdingReason |
nvarchar (255) |
If the data set is withhold, the reason for withholding the data, otherwise null |
YES |
LogCreatedWhen |
datetime |
Point in time when this data set was created |
YES |
LogCreatedBy |
nvarchar (50) |
Name of the creator of this data set |
YES |
LogUpdatedWhen |
datetime |
Point in time when this data set was updated last |
YES |
LogUpdatedBy |
nvarchar (50) |
Name of the person to update this data set last |
YES |
RowGUID |
uniqueidentifier |
- |
NO |
Depending on:
FUNCTIONS
Function BaseURL
Provides the basic address for accessing the database
DataType: varchar (255)
Function DiversityMobile_Terminology
For Application DiversityMobile: Content of a Terminology
Parameter |
DataType |
Description |
@TerminologyID |
int |
The ID of the terminology, refers to PK in table Terminology (foreign key) |
@LanguageCode |
nvarchar (50) |
The code of the language of the property (foreign key) |
Column |
DataType |
Description |
PropertyID |
int |
TerminologyID from table TermRepresentation |
PropertyURI |
nvarchar (255) |
Combined content of function BaseURL and column RepresentationID |
DisplayText |
nvarchar (400) |
The label or name of the term as shown e.g. in a user interface |
TermID |
int |
ID of the term, Primary key |
BroaderTermID |
int |
ID of the superior term within DiversityScientificTerms to which this record belongs to, e.g. Rosaceae is broader term for Rosa |
Depending on:
- BaseURL
- Term
- TermRepresentation
Function DiversityMobile_TermsList
Returns the scientific terms of a terminology
Parameter |
DataType |
Description |
@TerminologyID |
int |
The ID of the terminology, refers to PK in table Terminology (foreign key) |
Column |
DataType |
Description |
PropertyID |
int |
TerminologyID from table TermRepresentation |
PropertyURI |
varchar (255) |
Combined content of function BaseURL and column RepresentationID |
DisplayText |
nvarchar (400) |
The label or name of the term as shown e.g. in a user interface |
HierarchyCache |
nvarchar (800) |
A system generated list defining the hierarchy of the term above the current entry, necessary to distinguish synonymous entries |
TermID |
int |
ID of the term, Primary key |
BroaderTermID |
int |
ID of the superior term within DiversityScientificTerms to which this record belongs to, e.g. Rosaceae is broader term for Rosa |
Depending on:
- BaseURL
- Term
- TermRepresentation
Function DiversityMobile_TermsListsForUser
Returns the datasources for the scientific terms lists for a user
Parameter |
DataType |
Description |
@Login |
nvarchar (50) |
User for which the list should be retrieved |
Column |
DataType |
Description |
DataSource |
nvarchar (MAX) |
DisplayText of table Terminology |
DisplayText |
nvarchar (50) |
The text for the terminology as shown e.g. in a user interface |
PropertyID |
int |
TerminologyID from table Terminology |
Depending on:
- Terminology
- TerminologyUser
Function DiversityWorkbenchModule
Returns name of Module: DiversityScientificTerms
DataType: nvarchar (50)
Function PrivacyConsentInfo
Providing common information about the storage and processing of personal data within the DiversityWorkbench
DataType: varchar (900)
Function TermChildNodes
Children of a given term
Parameter |
DataType |
Description |
@TermID |
int |
ID of the term, Primary key |
Column |
DataType |
Description |
TerminologyID |
int |
The ID of the terminology, refers to PK in table Terminology (foreign key) |
TermID |
int |
ID of the term, Primary key |
BroaderTermID |
int |
ID of the superior term within DiversityScientificTerms to which this record belongs to, e.g. Rosaceae is broader term for Rosa |
RankingTermID |
int |
ID of the ranking term of the term, e.g. Epoch is rank for Paleocene, family is rank of Rosaceae |
Notes |
nvarchar (MAX) |
Notes about the term |
Depending on:
Function TermHierarchy
Hierarchy for a given term
Parameter |
DataType |
Description |
@RepresentationID |
int |
ID of the representation of a term within DiversityScientificTerms (primary key) |
Column |
DataType |
Description |
RepresentationID |
int |
ID of the representation of a term within DiversityScientificTerms (primary key) |
TerminologyID |
int |
The ID of the terminology, refers to PK in table Terminology (foreign key) |
TermID |
int |
ID of the term, Primary key |
BroaderTermID |
int |
ID of the superior term within DiversityScientificTerms to which this record belongs to, e.g. Rosaceae is broader term for Rosa |
RankingTermID |
int |
ID of the ranking term of the term, e.g. Epoch is rank for Paleocene, family is rank of Rosaceae |
DisplayText |
nvarchar (400) |
The label or name of the term as shown e.g. in a user interface |
LanguageCode |
nvarchar (400) |
The code of the language of the property (foreign key) |
Depending on:
- Term
- TermChildNodes
- TermRepresentation
Function TerminologyDataLastChanges
Returns the data of the last changes for a given TerminologyID
DataType: datetime
Parameter |
DataType |
Description |
@TerminologyID |
int |
An ID to identify an external data collection of terms (primary key, the ID has no meaning outside of the DiversityScientificTerms) |
Depending on:
- TermProperty
- TermReference
- TermRepresentation
- TermRepresentation_log
- TermResource
Function TerminologySize
Returns the number of datasets within a terminology e.g. to check if a direct creation of the hierarchy if feasible
DataType: int
Parameter |
DataType |
Description |
@RepresentationID |
int |
ID of the representation of a term within DiversityScientificTerms (primary key) |
Depending on:
Function TermSuperiorNodes
Superior datasets for a term
Parameter |
DataType |
Description |
@RepresentationID |
int |
ID of the representation of a term within DiversityScientificTerms (primary key) |
Column |
DataType |
Description |
RepresentationID |
int |
ID of the representation of a term within DiversityScientificTerms (primary key) |
TerminologyID |
int |
The ID of the terminology, refers to PK in table Terminology (foreign key) |
TermID |
int |
ID of the term, Primary key |
BroaderTermID |
int |
ID of the superior term within DiversityScientificTerms to which this record belongs to, e.g. Rosaceae is broader term for Rosa |
RankingTermID |
int |
ID of the ranking term of the term, e.g. Epoch is rank for Paleocene, family is rank of Rosaceae |
DisplayText |
nvarchar (400) |
The label or name of the term as shown e.g. in a user interface |
LanguageCode |
nvarchar (400) |
The code of the language of the property (foreign key) |
Depending on:
Function UserID
Providing the ID of the current user from UserProxy
DataType: int
Depending on:
Function UserName
Providing the name of the user from UserProxy
DataType: nvarchar (50)
Parameter |
DataType |
Description |
@ID |
varchar (10) |
ID of the user according to table UserProxy |
Depending on:
Function Version
The version of the database
DataType: nvarchar (8)
Function VersionClient
The version of the client application compatible with the database
DataType: nvarchar (11)
PROCEDURES
Procedure procInsertTermCopy
Copy a dataset of table Term and depending data in tables TermRepresentation and TermProperty
Parameter |
DataType |
Description |
@TermID |
int |
ID of the term, Primary key |
@OriginalTermID |
int |
The TermID of the original dataset |
Depending on:
- Term
- TermProperty
- TermRepresentation
Procedure procRefreshHierarchyCache
Refreshing the content in the columns HierarchyCache and HierarchyCacheDown in table TermRepresentation according to the hierarchy as stored in table Term
Parameter |
DataType |
Description |
@TerminologyID |
int |
The ID of the terminology, refers to PK in table Terminology (foreign key) |
Depending on:
Procedure SetUserProjects
Create database user and assign training projects
Parameter |
DataType |
Description |
@User |
varchar (50) |
The login that should be created resp. the training projects assigned |
Depending on:
ROLES
Content of cell |
Permission |
|
Not granted |
Name of other role |
Inherited from other role |
• |
Granted |
Role DiversityWorkbenchAdministrator
Role for the administration of the database
Permissions |
SELECT |
INSERT |
UPDATE |
DELETE |
EXECUTE |
Type |
LanguageCode_Enum |
• |
• |
• |
|
|
TABLE |
Section |
Diversity Workbench User |
Diversity Workbench Editor |
Diversity Workbench Editor |
• |
|
TABLE |
Section_log |
Diversity Workbench User |
Diversity Workbench Editor |
|
|
|
TABLE |
SectionTerm |
Diversity Workbench User |
Diversity Workbench Editor |
Diversity Workbench Editor |
Diversity Workbench Editor |
|
TABLE |
SectionTerm_log |
Diversity Workbench User |
Diversity Workbench Editor |
|
|
|
TABLE |
Term |
Diversity Workbench User |
Diversity Workbench Editor |
Diversity Workbench Editor |
• |
|
TABLE |
Term_log |
Diversity Workbench Editor |
Diversity Workbench Editor |
|
|
|
TABLE |
TermDependency |
Diversity Workbench User |
Diversity Workbench Editor |
Diversity Workbench Editor |
Diversity Workbench Editor |
|
TABLE |
TermDependency_log |
Diversity Workbench Editor |
Diversity Workbench Editor |
|
|
|
TABLE |
Terminology |
• |
• |
• |
|
|
TABLE |
Terminology_log |
Diversity Workbench Editor |
Diversity Workbench Editor |
|
|
|
TABLE |
TerminologyProperty |
• |
• |
• |
• |
|
TABLE |
TerminologyProperty_log |
Diversity Workbench Editor |
Diversity Workbench Editor |
|
|
|
TABLE |
TerminologyPropertyDataType_Enum |
Diversity Workbench User |
|
|
|
|
TABLE |
TerminologyPropertyValue |
Diversity Workbench User |
• |
• |
• |
|
TABLE |
TerminologyPropertyValue_log |
|
|
|
|
|
TABLE |
TerminologyReference |
Diversity Workbench User |
Diversity Workbench Editor |
Diversity Workbench Editor |
Diversity Workbench Editor |
|
TABLE |
TerminologyReference_log |
Diversity Workbench Editor |
Diversity Workbench Editor |
|
|
|
TABLE |
TerminologyUser |
• |
• |
• |
• |
|
TABLE |
TermProperty |
Diversity Workbench User |
Diversity Workbench Editor |
Diversity Workbench Editor |
• |
|
TABLE |
TermProperty_log |
Diversity Workbench Editor |
Diversity Workbench Editor |
|
|
|
TABLE |
TermReference |
Diversity Workbench User |
Diversity Workbench Editor |
Diversity Workbench Editor |
• |
|
TABLE |
TermReference_log |
Diversity Workbench Editor |
Diversity Workbench Editor |
|
|
|
TABLE |
TermRepresentation |
• |
Diversity Workbench Editor |
Diversity Workbench Editor |
• |
|
TABLE |
TermRepresentation_log |
Diversity Workbench Editor |
Diversity Workbench Editor |
|
|
|
TABLE |
TermResource |
Diversity Workbench User |
Diversity Workbench Editor |
Diversity Workbench Editor |
Diversity Workbench Editor |
|
TABLE |
TermResource_log |
Diversity Workbench User |
Diversity Workbench Editor |
|
|
|
TABLE |
ProjectUser |
Diversity Workbench User |
• |
• |
• |
|
VIEW |
TerminologyID_UserAvailable |
• |
|
|
|
|
VIEW |
View_SectionTerm |
Diversity Workbench User |
|
|
|
|
VIEW |
View_TermProperty |
Diversity Workbench User |
|
|
|
|
VIEW |
View_TermRanking |
Diversity Workbench User |
|
|
|
|
VIEW |
View_TermRankingHierarchy |
Diversity Workbench User |
|
|
|
|
VIEW |
View_TermReference |
Diversity Workbench User |
|
|
|
|
VIEW |
View_TermResource |
Diversity Workbench User |
|
|
|
|
VIEW |
ViewBaseURL |
Diversity Workbench User |
|
|
|
|
VIEW |
ViewDiversityWorkbenchModule |
Diversity Workbench User |
|
|
|
|
VIEW |
ViewTermResource |
Diversity Workbench User |
|
|
|
|
VIEW |
BaseURL |
|
|
|
|
Diversity Workbench User |
FUNCTION |
DiversityMobile_Terminology |
Diversity Workbench User |
|
|
|
|
FUNCTION |
DiversityMobile_TermsList |
Diversity Workbench User |
|
|
|
|
FUNCTION |
DiversityMobile_TermsListsForUser |
Diversity Workbench User |
|
|
|
|
FUNCTION |
DiversityWorkbenchModule |
|
|
|
|
• |
FUNCTION |
PrivacyConsentInfo |
|
|
|
|
Diversity Workbench User |
FUNCTION |
TermChildNodes |
Diversity Workbench User |
|
|
|
|
FUNCTION |
TermHierarchy |
Diversity Workbench User |
|
|
|
|
FUNCTION |
TerminologyDataLastChanges |
|
|
|
|
Diversity Workbench User |
FUNCTION |
TerminologySize |
|
|
|
|
Diversity Workbench User |
FUNCTION |
TermSuperiorNodes |
Diversity Workbench User |
|
|
|
|
FUNCTION |
UserID |
|
|
|
|
Diversity Workbench User |
FUNCTION |
UserName |
|
|
|
|
Diversity Workbench User |
FUNCTION |
Version |
|
|
|
|
|
FUNCTION |
VersionClient |
|
|
|
|
|
FUNCTION |
procInsertTermCopy |
|
|
|
|
|
PROCEDURE |
procRefreshHierarchyCache |
|
|
|
|
• |
PROCEDURE |
SetUserProjects |
|
|
|
|
|
PROCEDURE |
Inheriting from roles: |
|
|
|
|
|
|
Role DiversityWorkbenchEditor
Role for editing the data
Permissions |
SELECT |
INSERT |
UPDATE |
DELETE |
EXECUTE |
Type |
LanguageCode_Enum |
• |
|
|
|
|
TABLE |
Section |
Diversity Workbench User |
• |
• |
|
|
TABLE |
Section_log |
Diversity Workbench User |
• |
|
|
|
TABLE |
SectionTerm |
Diversity Workbench User |
• |
• |
• |
|
TABLE |
SectionTerm_log |
Diversity Workbench User |
• |
|
|
|
TABLE |
Term |
Diversity Workbench User |
• |
• |
|
|
TABLE |
Term_log |
• |
• |
|
|
|
TABLE |
TermDependency |
Diversity Workbench User |
• |
• |
• |
|
TABLE |
TermDependency_log |
• |
• |
|
|
|
TABLE |
Terminology |
• |
|
|
|
|
TABLE |
Terminology_log |
• |
• |
|
|
|
TABLE |
TerminologyProperty |
• |
|
|
|
|
TABLE |
TerminologyProperty_log |
• |
• |
|
|
|
TABLE |
TerminologyPropertyDataType_Enum |
Diversity Workbench User |
|
|
|
|
TABLE |
TerminologyPropertyValue |
Diversity Workbench User |
|
|
|
|
TABLE |
TerminologyPropertyValue_log |
|
|
|
|
|
TABLE |
TerminologyReference |
Diversity Workbench User |
• |
• |
• |
|
TABLE |
TerminologyReference_log |
• |
• |
|
|
|
TABLE |
TerminologyUser |
Diversity Workbench User |
|
|
|
|
TABLE |
TermProperty |
Diversity Workbench User |
• |
• |
|
|
TABLE |
TermProperty_log |
• |
• |
|
|
|
TABLE |
TermReference |
Diversity Workbench User |
• |
• |
• |
|
TABLE |
TermReference_log |
• |
• |
|
|
|
TABLE |
TermRepresentation |
Diversity Workbench User |
• |
• |
• |
|
TABLE |
TermRepresentation_log |
• |
• |
|
|
|
TABLE |
TermResource |
Diversity Workbench User |
• |
• |
• |
|
TABLE |
TermResource_log |
Diversity Workbench User |
• |
|
|
|
TABLE |
ProjectUser |
Diversity Workbench User |
|
|
|
|
VIEW |
TerminologyID_UserAvailable |
• |
|
|
|
|
VIEW |
View_SectionTerm |
Diversity Workbench User |
|
|
|
|
VIEW |
View_TermProperty |
Diversity Workbench User |
|
|
|
|
VIEW |
View_TermRanking |
Diversity Workbench User |
|
|
|
|
VIEW |
View_TermRankingHierarchy |
Diversity Workbench User |
|
|
|
|
VIEW |
View_TermReference |
Diversity Workbench User |
|
|
|
|
VIEW |
View_TermResource |
Diversity Workbench User |
|
|
|
|
VIEW |
ViewBaseURL |
Diversity Workbench User |
|
|
|
|
VIEW |
ViewDiversityWorkbenchModule |
Diversity Workbench User |
|
|
|
|
VIEW |
ViewTermResource |
Diversity Workbench User |
|
|
|
|
VIEW |
BaseURL |
|
|
|
|
Diversity Workbench User |
FUNCTION |
DiversityMobile_Terminology |
Diversity Workbench User |
|
|
|
|
FUNCTION |
DiversityMobile_TermsList |
Diversity Workbench User |
|
|
|
|
FUNCTION |
DiversityMobile_TermsListsForUser |
Diversity Workbench User |
|
|
|
|
FUNCTION |
DiversityWorkbenchModule |
|
|
|
|
• |
FUNCTION |
PrivacyConsentInfo |
|
|
|
|
Diversity Workbench User |
FUNCTION |
TermChildNodes |
Diversity Workbench User |
|
|
|
|
FUNCTION |
TermHierarchy |
Diversity Workbench User |
|
|
|
|
FUNCTION |
TerminologyDataLastChanges |
|
|
|
|
Diversity Workbench User |
FUNCTION |
TerminologySize |
|
|
|
|
Diversity Workbench User |
FUNCTION |
TermSuperiorNodes |
Diversity Workbench User |
|
|
|
|
FUNCTION |
UserID |
|
|
|
|
Diversity Workbench User |
FUNCTION |
UserName |
|
|
|
|
Diversity Workbench User |
FUNCTION |
Version |
|
|
|
|
|
FUNCTION |
VersionClient |
|
|
|
|
|
FUNCTION |
procInsertTermCopy |
|
|
|
|
|
PROCEDURE |
procRefreshHierarchyCache |
|
|
|
|
|
PROCEDURE |
SetUserProjects |
|
|
|
|
|
PROCEDURE |
Inheriting from roles: |
|
|
|
|
|
|
Role DiversityWorkbenchTypist
Role with restricted access for editing the data
Permissions |
SELECT |
INSERT |
UPDATE |
DELETE |
EXECUTE |
Type |
LanguageCode_Enum |
Diversity Workbench User |
|
|
|
|
TABLE |
Section |
Diversity Workbench User |
|
|
|
|
TABLE |
Section_log |
Diversity Workbench User |
|
|
|
|
TABLE |
SectionTerm |
Diversity Workbench User |
|
|
|
|
TABLE |
SectionTerm_log |
Diversity Workbench User |
|
|
|
|
TABLE |
Term |
Diversity Workbench User |
• |
• |
|
|
TABLE |
Term_log |
|
• |
|
|
|
TABLE |
TermDependency |
Diversity Workbench User |
|
|
|
|
TABLE |
TermDependency_log |
|
|
|
|
|
TABLE |
Terminology |
Diversity Workbench User |
|
|
|
|
TABLE |
Terminology_log |
|
|
|
|
|
TABLE |
TerminologyProperty |
Diversity Workbench User |
|
|
|
|
TABLE |
TerminologyProperty_log |
|
|
|
|
|
TABLE |
TerminologyPropertyDataType_Enum |
Diversity Workbench User |
|
|
|
|
TABLE |
TerminologyPropertyValue |
Diversity Workbench User |
|
|
|
|
TABLE |
TerminologyPropertyValue_log |
|
|
|
|
|
TABLE |
TerminologyReference |
Diversity Workbench User |
|
|
|
|
TABLE |
TerminologyReference_log |
|
|
|
|
|
TABLE |
TerminologyUser |
Diversity Workbench User |
|
|
|
|
TABLE |
TermProperty |
Diversity Workbench User |
• |
• |
• |
|
TABLE |
TermProperty_log |
|
• |
|
|
|
TABLE |
TermReference |
Diversity Workbench User |
• |
• |
• |
|
TABLE |
TermReference_log |
|
• |
|
|
|
TABLE |
TermRepresentation |
Diversity Workbench User |
• |
• |
|
|
TABLE |
TermRepresentation_log |
|
• |
|
|
|
TABLE |
TermResource |
Diversity Workbench User |
• |
• |
• |
|
TABLE |
TermResource_log |
Diversity Workbench User |
• |
|
|
|
TABLE |
ProjectUser |
Diversity Workbench User |
|
|
|
|
VIEW |
TerminologyID_UserAvailable |
Diversity Workbench User |
|
|
|
|
VIEW |
View_SectionTerm |
Diversity Workbench User |
|
|
|
|
VIEW |
View_TermProperty |
Diversity Workbench User |
|
|
|
|
VIEW |
View_TermRanking |
Diversity Workbench User |
|
|
|
|
VIEW |
View_TermRankingHierarchy |
Diversity Workbench User |
|
|
|
|
VIEW |
View_TermReference |
Diversity Workbench User |
|
|
|
|
VIEW |
View_TermResource |
Diversity Workbench User |
|
|
|
|
VIEW |
ViewBaseURL |
Diversity Workbench User |
|
|
|
|
VIEW |
ViewDiversityWorkbenchModule |
Diversity Workbench User |
|
|
|
|
VIEW |
ViewTermResource |
Diversity Workbench User |
|
|
|
|
VIEW |
BaseURL |
|
|
|
|
Diversity Workbench User |
FUNCTION |
DiversityMobile_Terminology |
Diversity Workbench User |
|
|
|
|
FUNCTION |
DiversityMobile_TermsList |
Diversity Workbench User |
|
|
|
|
FUNCTION |
DiversityMobile_TermsListsForUser |
Diversity Workbench User |
|
|
|
|
FUNCTION |
DiversityWorkbenchModule |
|
|
|
|
Diversity Workbench User |
FUNCTION |
PrivacyConsentInfo |
|
|
|
|
Diversity Workbench User |
FUNCTION |
TermChildNodes |
Diversity Workbench User |
|
|
|
|
FUNCTION |
TermHierarchy |
Diversity Workbench User |
|
|
|
|
FUNCTION |
TerminologyDataLastChanges |
|
|
|
|
Diversity Workbench User |
FUNCTION |
TerminologySize |
|
|
|
|
Diversity Workbench User |
FUNCTION |
TermSuperiorNodes |
Diversity Workbench User |
|
|
|
|
FUNCTION |
UserID |
|
|
|
|
Diversity Workbench User |
FUNCTION |
UserName |
|
|
|
|
Diversity Workbench User |
FUNCTION |
Version |
|
|
|
|
|
FUNCTION |
VersionClient |
|
|
|
|
|
FUNCTION |
procInsertTermCopy |
|
|
|
|
|
PROCEDURE |
procRefreshHierarchyCache |
|
|
|
|
|
PROCEDURE |
SetUserProjects |
|
|
|
|
|
PROCEDURE |
Inheriting from roles: |
|
|
|
|
|
|
Role DiversityWorkbenchUser
Role with readonly access to the data
Permissions |
SELECT |
INSERT |
UPDATE |
DELETE |
EXECUTE |
Type |
LanguageCode_Enum |
• |
|
|
|
|
TABLE |
Section |
• |
|
|
|
|
TABLE |
Section_log |
• |
|
|
|
|
TABLE |
SectionTerm |
• |
|
|
|
|
TABLE |
SectionTerm_log |
• |
|
|
|
|
TABLE |
Term |
• |
|
|
|
|
TABLE |
Term_log |
|
|
|
|
|
TABLE |
TermDependency |
• |
|
|
|
|
TABLE |
TermDependency_log |
|
|
|
|
|
TABLE |
Terminology |
• |
|
|
|
|
TABLE |
Terminology_log |
|
|
|
|
|
TABLE |
TerminologyProperty |
• |
|
|
|
|
TABLE |
TerminologyProperty_log |
|
|
|
|
|
TABLE |
TerminologyPropertyDataType_Enum |
• |
|
|
|
|
TABLE |
TerminologyPropertyValue |
• |
|
|
|
|
TABLE |
TerminologyPropertyValue_log |
|
|
|
|
|
TABLE |
TerminologyReference |
• |
|
|
|
|
TABLE |
TerminologyReference_log |
|
|
|
|
|
TABLE |
TerminologyUser |
• |
|
|
|
|
TABLE |
TermProperty |
• |
|
|
|
|
TABLE |
TermProperty_log |
|
|
|
|
|
TABLE |
TermReference |
• |
|
|
|
|
TABLE |
TermReference_log |
|
|
|
|
|
TABLE |
TermRepresentation |
• |
|
|
|
|
TABLE |
TermRepresentation_log |
|
|
|
|
|
TABLE |
TermResource |
• |
|
|
|
|
TABLE |
TermResource_log |
• |
|
|
|
|
TABLE |
ProjectUser |
• |
|
|
|
|
VIEW |
TerminologyID_UserAvailable |
• |
|
|
|
|
VIEW |
View_SectionTerm |
• |
|
|
|
|
VIEW |
View_TermProperty |
• |
|
|
|
|
VIEW |
View_TermRanking |
• |
|
|
|
|
VIEW |
View_TermRankingHierarchy |
• |
|
|
|
|
VIEW |
View_TermReference |
• |
|
|
|
|
VIEW |
View_TermResource |
• |
|
|
|
|
VIEW |
ViewBaseURL |
• |
|
|
|
|
VIEW |
ViewDiversityWorkbenchModule |
• |
|
|
|
|
VIEW |
ViewTermResource |
• |
|
|
|
|
VIEW |
BaseURL |
|
|
|
|
• |
FUNCTION |
DiversityMobile_Terminology |
• |
|
|
|
|
FUNCTION |
DiversityMobile_TermsList |
• |
|
|
|
|
FUNCTION |
DiversityMobile_TermsListsForUser |
• |
|
|
|
|
FUNCTION |
DiversityWorkbenchModule |
|
|
|
|
• |
FUNCTION |
PrivacyConsentInfo |
|
|
|
|
• |
FUNCTION |
TermChildNodes |
• |
|
|
|
|
FUNCTION |
TermHierarchy |
• |
|
|
|
|
FUNCTION |
TerminologyDataLastChanges |
|
|
|
|
• |
FUNCTION |
TerminologySize |
|
|
|
|
• |
FUNCTION |
TermSuperiorNodes |
• |
|
|
|
|
FUNCTION |
UserID |
|
|
|
|
• |
FUNCTION |
UserName |
|
|
|
|
• |
FUNCTION |
Version |
|
|
|
|
|
FUNCTION |
VersionClient |
|
|
|
|
|
FUNCTION |
procInsertTermCopy |
|
|
|
|
|
PROCEDURE |
procRefreshHierarchyCache |
|
|
|
|
|
PROCEDURE |
SetUserProjects |
|
|
|
|
|
PROCEDURE |
Diversity Scientific Terms
Enumeration tables
The following objects are not included:
- Logging tables
- System objects
- Objects marked as obsolete
- Previous versions of objects
Table
Column |
Data type |
Description |
Code |
varchar (50) |
The datatype of the property |
Description |
nvarchar (500) |
The description of the datatype |
DisplayText |
nvarchar (50) |
The display text shown e.g. in a user interface |
DisplayOrder |
smallint |
The display order if different from alphabetic order |
DisplayEnable |
bit |
True if the entry should be displayed, otherwise false |
InternalNotes |
nvarchar (500) |
Internal notes for this entry |
Table LanguageCode_Enum
The Code of a language according to ISO
Dependent tables:
- Terminology
- TermRepresentation
Table TerminologyPropertyDataType_Enum
Datatypes of a property of a terminology
Dependent tables:
Diversity Scientific Terms
No-SQL Interface
JSON Cache
Databases of the modules provid a No-SQL interface where the data of the main table and the depending tables are merged as JSON.
Table JsonCache
Content of table JsonCache restricted to public available data
Column |
Data type |
Description |
Nullable |
Relation |
ID |
int |
Unique ID for the Dataset, Primary key |
NO |
ID of the source |
URI |
varchar (500) |
The URL as combination of BaseURL and ID |
NO |
BaseURL and ID of the source |
DisplayText |
nvarchar (500) |
Representation in the interface |
NO |
Main table of the source |
LogUpdatedWhen |
datetime |
Date and time when the data were last updated |
NO |
- |
Data |
json |
Data related to the current dataset |
NO |
- |
procFillJsonCache is started by an update trigger trgUpd… of the main table in the database
Interface in clients
All modules provide data via a cache table. In the header of the clients you can inspect the content of the JsonCache with a click on the
button. For modules with a difference between local and public data, you can inspect the content of the public data with a click of the right mouse button.
Update
Apart of the update via the Trigger (see below) you can update the JsonCache via the
update button underneath the
button.
To update the JsonCache for the whole database select Administration - JsonCache… from the menu. a window as shown below will open where you can update the JsonCache for single datasets or the whole database.

Summary
graph TD;
TaxonName[Main table in database]
trgUpdTaxonName[trgUpd.. of main table in database]
TaxonName --> |Update in table| trgUpdTaxonName
proc[Procedure procFillJsonCache setting the content in table JsonCache]
trgUpdTaxonName --> proc
graph TD;
Mainform[Main form]
ButtonShow[Button show JsonCache of current dataset]
Mainform --> ButtonShow
Left[Show Data]
ButtonShow --> |Left click| Left
graph TD;
Mainform[Main form]
Admin[Administration menu]
Mainform --> Admin
Cache[JsonCache...]
Admin --> Cache
Adminform[Administration form]
Cache --> Adminform
AdminUpdateSingle[Update single dataset]
Adminform --> AdminUpdateSingle
AdminUpdateDB[Update for whole database]
Adminform --> AdminUpdateDB
Diversity Scientific terms
Settings
The settings for the software are stored in a directory created by the application, e.g. C:\Users\[LoginName]\AppData\Local\DiversityWorkbench\[DiversityWorkbenchModule].exe_Url_0he1anjeninqrrxpdywiwnwxaqvlezn3\4.4.13.0
where [LoginName]
is the name of the user and [DiversityWorkbenchModule]
the name of the Diversity Workbench module e.g. DiversityCollection. This directory contains the file user.config where all settings are stored in xml format. An example for the content in the module DiversityCollection is shown below:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings">
<section name="DiversityWorkbench.WorkbenchSettings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<userSettings>
<DiversityWorkbench.WorkbenchSettings>
<setting name="ModuleName" serializeAs="String">
<value>DiversityCollection</value>
</setting>
<setting name="GenerateTraceFile" serializeAs="String">
<value>False</value>
</setting>
<setting name="DatabaseServer" serializeAs="String">
<value>zsm.diversityworkbench.de</value>
</setting>
<setting name="IsTrustedConnection" serializeAs="String">
<value>True</value>
</setting>
<setting name="DatabaseName" serializeAs="String">
<value>DiversityCollection</value>
</setting>
<setting name="QueryMaxResults" serializeAs="String">
<value>100</value>
</setting>
<setting name="DatabasePort" serializeAs="String">
<value>5432</value>
</setting>
<setting name="DatabaseUser" serializeAs="String">
<value>User</value>
</setting>
<setting name="ResourcesDirectory" serializeAs="String">
<value>Home</value>
</setting>
<setting name="HowToCopyAppToUserDirectory" serializeAs="String">
<value>Missing</value>
</setting>
</DiversityWorkbench.WorkbenchSettings>
<DiversityCollection.Forms.FormCollectionSpecimenSettings>
<setting name="SplitContainerData_SplitterDistance" serializeAs="String">
<value>270</value>
</setting>
<setting name="QueryConditionVisibility" serializeAs="String">
<value>10000100011000010000000000001000000001100000000000000000000000000001110000110110000000000000000000000000000000000000000000000000000000000000000000000000011100001000000000000000010000000000000000001000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000</value>
</setting>
<setting name="ImageDisplay" serializeAs="String">
<value>Hidden</value>
</setting>
<setting name="AskOnExit" serializeAs="String">
<value>True</value>
</setting>
</DiversityCollection.Forms.FormCollectionSpecimenSettings>
</userSettings>
</configuration>