Alignment Validation

Introduction

The Alignment Validation tool can be accessed from the VB main toolbar. This tool allows the management of alignment from two different source:

In both the cases, the tool allows to validate the alignments which the results can then be re-exported in the same INRIA's format and/or transformed into plain OWL/SKOS mapping triples and loaded into the project's dataset.

alignment_validation_menu

Note: the alignment from remote system has been introduced in the version 6.1.0. The figures present in the next section are taken from an old version of VocBench where the only alignment from file was available, so they might slightly differ from the actual UI, but the operation remained the same.

Alignment from file

The UI of the tools is quite simple, it allows to select and load an alignment file stored into the filesystem. This tools can handle rdf/xml alignment files compliant with INRIA Alignment format.

alignment_validation_layout

The tool is able to recognize, through the baseURI of the two aligned ontologies, which one is the source ontology (the ontology currently loaded in VocBench) and which one is the target. If none of the baseURIs of the aligned ontologies corresponds to the baseURI of the local ontology, an error message will be prompted.

The images in this page show the process of validating alignments between the Iasted ontology, loaded in VB, and the Sigkdd ontology. The ontologies and alignment files are downloadable from the conference track of OAEI 2013.

Once the alignment file has been loaded, the tool shows a table with the alignments to be validated. Each row reports the source and target resources to align, the proposed alignment relation together with a measure representing the confidence of the alignment, and two buttons allowing the user to accept or reject the proposed alignment. Two further columns are automatically filled by the system:

The user can choose to accept or reject the proposed alignments one by one, or apply some quick actions.

alignment_validation_actions

Available quick actions are:

This tool also allows user to navigate through the alignments using the up/down keys, and also to accept and reject them respectively with A and R keys.

As explained before, accepting an alignment could result in an error message if the relation between the aligned resource cannot be asserted.

alignment_validation_actions

The tool allows users to customize two validation aspects in a sequential order: by first, the alignment relation can be changed among the set of relations available in the INRIA's Alignment format, the mapping property can then be selected accordingly (i.e. the mapping property must implement the relation asserted in the INRIA's format and be compatible with the types of the aligned resources).

alignment_validation_actions

The changes brought by the user can be exported to a new RDF file in order to save a snapshot of the validation process and reload it at a later time. Note that the exported alignment file now complements the Alignment format with added custom information: the mappingProperty and the status attributes, detailing the information specified by the user during the validation process.

As an alternative to the export, the user can project the validated relationships into plain mapping triples (adopting the standard mapping properties identified in the "Mapping Property" column) and assert them into the dataset being edited in the current project, by simply depressing the Apply to the ontology button. Then the tool adds to and removes from the ontology the triples corresponding respectively to the accepted and rejected alignments. A report is then prompted to the user, as in the following figure.

The tool offers a few configuration options available through the Settings (figure below). The Settings can be accessed through the "gear" button on top of the alignment view. Through the Settings, the user can change the relation meter aspect (Relation column), the maximum amount of alignments shown and the action to perform on the rejected alignments when they are applied to the working ontology.

alignment_validation_actions

Alignment from Remote Alignment System

The alignment from Remote Alignment System, as the name suggests, exploits an external system in order to find and generate potential matching between resources of two different datasets. Even in this case the UI of the tool is initially quite simple: a Tasks panel lists the alignment task running or completed that involve the current project (the left one). For each task it is shown the name of the left and right datasets, the status of the alignment task, that can be Completed as in the figure, Error in case of problem during the alignment task or it can show a percentage of completion of the process, and the time when the process started and eventually ended (if completed). Finally, when the task is completed, an edit alignment button is available in order to show and manage the produced alignments.

alignment remote system

If no alignment service is associated with the project, the following dialog will inform the user about that. An administrator or a project manager should associate one, by clicking on the gear button in the hade of the Tasks panel.

no alignment service

From the toolbar located in the Tasks panel header it is possible to create new alignment tasks (through the plus button), to remove an existing one (through the minus button) and to refresh the list of tasks, the latter is especially useful in order to check the update of running tasks.

The creation of a new alignment task asks for two projects, the left and the right. The left one is always the current open project and cannot be changed, the right one can be chosen among the open projects for which the current one has READ authorizations (see here for details). Only in case of Edoal project, both the left and right datasets are constrained to the projects involved already in the Edoal one.

alignment remote new task

An alignment task, in order to work properly, requires that the two projects involved have been profiled, namely that the metadata about the datasets have been discovered. The icons at the end of the Left project and Right project rows in the Create task dialog, show the statuses of these metadata: a "v" tells that the project has been successfully profiled, and so its metadata are available, while an "x" tells that no metadata were found and so the project needs to be profiled. The profilation of the projects can be run (event if already done, the new metadata will simply overwrite the old one) directly from this dialog using the buttons with the "bar chart" icon. Only when both the projects are selected and the metadata are discovered, the Profile button is enabled. When the user clicks on this button, VocBench will use MAPLE to produce a report describing the given alignment scenario, which offers several options for matching strategies. By leveraging such scenario description, the user can (optionally) define an alignment plan, and then click the button "OK" to start a new task. See the page on alignment systems for further details.

The following figure depicts the dialog for choosing an alignment service.

alignment remote choose service

Clicking on the "wrench" button reveals the following dialog for adding/removing service configurations.

alignment remote add service

Choosing an alignment service binds it to the current project only. Alternatively, a service can be made a default choice for any project: this service will be used in any project that hasn't been associated explicitly to an alignment service.

A completed alignment task can be finally edited though the edit alignment button. The click on this button load the alignments discovered by the task in an Alignments panel below. This panel is the same already described for the alignment from file, so refer to the previous section for details about the available operations.

alignment remote edit

FAQ