Deployers

Deployers allow data to be exported to different types of destinations. In VocBench they are realized as plugin implementations of the eponym extension point that can be invoked in the context of data dump operations.

Available extensions

This section describes how to use the deployers bundled with the current VocBench. They are available at "Global Data Management" / "Export data". Under "Deployment" you can configure the destination of the data being exported and, optionally, transformed.

The technical details about the extension point and its available plugins, such as the interface definition, method signatures and parameters description are provided on dedicated Semantic Turkey pages.

ShowVoc Deployer

Use this deployer if you have a project in VocBench that you want to make available in ShowVoc. To do this,

  1. Go to Global Data Management > Export data.
  2. As "Deployment", select "Deploy to triple store" from the dropdown list.
  3. As "Deployer", select "ShowVoc Deployer" from the dropdown list.

  4. Select ShowVoc Deployer

  5. Then you can choose "Deploy to existing project" or "Deploy to new project". In the screenshot below, the second option has been chosen.
ShowVoc Deployer

After selecting Deploy to new project, click "Configure". Note also the two buttons next to it that can be used to load and save configurations. The figure below shows an example of a configuration.

Deploy to new project

The following fields are required:

Finally, click "OK" and "Submit" to start the deployment. When the deployment is successful, VocBench will display a success message.

Now, to make the project visible in ShowVoc, you need to login to ShowVoc as an administrator, then go to the "Administration Dashboard" and change the project's status from "Staging" to "Public".

ShowVoc Admin Dashboard

After having selected "Public", you will be presented with a dialog box asking you to agree to create indexes and create dataset metadata for the project.

ShowVoc Change Status

At this point you can log out and go back to the ShowVoc homepage and you should find the new record.

Important Note: When you deploy to an existing project, you still need to go to the ShowVoc admin dashboard to update indexes and recompute the metadata.

How to simplify the process described above

In VocBench, it is possible to create a super user account and save its credentials as default. In this way, when you submit a new dataset from VocBench to ShowVoc, you will no longer be prompted to insert your credentials. The same solution can be applied to the configuration of the triple store when deploying new projects. This can be done in the section Administration in VocBench.

VocBench User Menu

Then, go the tab Settings Mgr and configure the connected ShowVoc instance. See the steps below.

VocBench ShowVoc Connection Settings

At step 3, enter the base URLs of the ShowVoc instance you want to connect to:

Click button Submit to save the data just inserted. Then, select scope "PROJECT" and as "Core repository configuration" select "GraphDB 10+ (remote only)". Click submit again.

If you now repeat all the steps, you will find that all the fields are populated except for the Project field. Note that the credentials are not displayed, nor are they ever returned to the client.

Unfortunately, the project name must be entered each time. To avoid errors, it is advisable to use the same project name for VocBench and ShowVoc.

Graph Store HTTP Deployer

This deployer allows to deploy a VocBench project to any triple store complying to the SPARQL 1.1 Graph Store HTTP Protocol. This deployer can only write to an existing repository and does not support the creation of new datasets. To use it,

  1. Go to Global Data Management > Export data.
  2. As "Deployment", select "Deploy to triple store" from the dropdown list.
  3. As "Deployer", select "Graph store HTTP Deployer" from the dropdown list.

Deploy to triple store

The warning sign on the right of the widget indicates the necessity of further configuration. A click on the Configure button will open a dialog to edit the configuration. The two other buttons to the right can be used to load and save configurations. Here below we describe the information that needs to be provided.

Graph Store HTTP Deployer configutation

The following configuration shows the general pattern for GraphDB. If you use another triple store, please consult its documentation.

To try it out,

OntoPortal Deployer

This deployer allows to submit an ontology (or more precisely, an OWL ontology or a SKOS thesaurus) to an OntoPortal repository (e.g. BioPortal, EcoPortal, AgroPortal, etc.). The deployer can only make submissions for already existing ontologies (identified through their acronym) on the target repository. The deployer also implements some validation checks, to warn the user about violations of data constraints imposed by OntoPortal and, to some extent, suggest fixes as RDF Transformers.

OntoPortal deployer configuration

OntoPortal and EcoPortal require almost the same parameters:

HTTP Deployer

The HTTP deployer can be used for a wide range of uses cases. You need to provide the following information:

HTTP Deployer configutation

How to configure:

SFTP Deployer

Secure File Transfer Protocol (SFTP) is a network protocol that enables secure and encrypted file transfers between a client and a server.

To use this deployer, you need to provide the following information:

SFTP Deployer Configuration