Alignment Systems

Introduction

VocBench 3 can use remote services to compute alignment between two datasets (associated with distinct projects), as described in the page on the alignment validation tool.

Alignment services API

The communication between VocBench 3 and a remote alignment service is carried on using a REST API, which supports activities including task management and settings retrieval. This API has been formally described using the OpenAPI Specification format. Such an API description can be used in a number of tools to perform several API-related activities, such as generation of server stubs, generation of client libraries, testing, documentation, etc. In particular, code generators (such as Swagger Codegen, with its online editor and OpenAPI Generator) can significantly help to develop a wrapper for an existing matching system, supporting dozens of programming languages and frameworks, while also fostering compliance with the API specification.

The description of the current version of the API is available online at this address http://art.uniroma2.it/maple/specs/alignment-services-2.0.0.yaml

See the section below for a reference of the API.

Alignment process

We assume that the user chose two align two datasets stored as projects in VocBench 3. Metadata about these datasets and other, potentially available resources, should be available in the metadata registry. The following description will be grounded in the alignment validation tool: in particular, the user is assumed to be at the point of creating a new task on a remote system.

alignment remote new task

Compliant services

Hereafter, we report on alignment systems that have been made compatible with VocBench 3 by implementing our alignment API.

Ge.no.ma

Ge.no.ma is an Ontology Matching Environment that provides the user with a powerful tool to design and test ontology matching architectures.

Genoma is available, on its downloads page, as an archive called genoma-alignment-service-2.3.1.zip. To execute Genoma as a VocBench 3 service, it is sufficient to unpack the archive and execute either start.bat or start.sh, depending on whether the host operating system is Windows or a UNIX system.

Once launched, Genoma will be listening on address http://localhost:7575. Opening this address in the browser should load an interactive documentation (based on Swagger UI), as in the following picture.

Genoma interactive documentation

NAISC

NAISC is an automated linking tool developed at the Insight Centre for Data Analytics. 'Naisc' means 'links' in Irish and is pronounced 'nashk'.

NAISC has its own REST API, which is being extended with further endpoints complying with our API specification. This support is currently available on the dev branch.

To launch NAISC as a VocBench 3 service, it is necessary to:

When running, Naisc listens for request at this address http://localhost:8080/naisc-rest/maple. Opening this address in the browser should return metadata about the service as a JSON object.

Alignment Bootstrap

The Alignment Bootstrap is a set of services currently hosted on the ST Remote Service Compendium (ST-RSC), which exploits alignment chains (see previous section) to generate alignments between datasets bridged by alignments to a third one.

Once the ST-RSC service has been activated, the Alignment Bootstrap services will be listening on address http://localhost:7576/st-rsc/align (the standard url/port can be changed by modifying the startup script), so this is the URL to be used when connecting VB to the ST-RSC server.

ST-RSC configuration in VB

ST-RSC's services are described in a YAML file, the model of which is based on OpenAPI 3.0.1. Note that the ST Remote Service Compendium offers other services, such as the Skos Diffing.

ST-RSC interactive documentation

Reference of the Alignment services API