Here is an illustration of the Alignment API tutorial using the alignment server.
This tutorial has been designed for the Alignment API version 3.0.This tutorial can be used by locally launching an Alignment server or by using a publicly available Alignment server. We explain here how to install the alignment server.
Once the server has been installed, it can be accessed using http://localhost:8089/html/. This provides access to two menus. The first one is the user menu:
The data is the same as that of the genuine tutorial. We will, however, use the versions which are available on the web at http://alignapi.gforge.inria.fr. They can be seen here:
Your firts matching task can be achieved by selecting the "Match ontology" button in the user menu:
We will see later how to obtain the same result in different formats.
Other algorithms can be used by selecting other algorithm names or by passing different arguments to the same algorithm. The two algorithms used in the tutorial can be called as follows:
Look at the results: how are they different from before?
We can see that the correspondences now contain confidence factors different than 1.0, they also match strings which are not the same and indeed far more correspondences are available.
We can do the same with the other measure (the smoaDistance):
As can be seen there are some correspondences that do not really make sense. Fortunately, they also have very low confidence values. It is thus interesting to use a threshold for eliminating these values. Let's try a threshold of .33 over the alignment (with the -t switch):
As expected we have suppressed some of these inaccurate correspondences. But did we also suppressed accurate ones?
This operation has contributed eliminating a number of innacurate correspondences like Journal-Conference or Composite-Conference. However, there remains some unaccurate correspondences like Institution-InCollection and Published-UnPublished!
We can also apply this treatment to other methods available:
More work: There is another switch (-T) in Procalign that specifies the way a threshold is applied (hard|perc|prop|best|span) the default being "hard". The curious reader can apply these and see the difference in results. How they work is explained in the Alignment API documentation.
Other manipulations: It is possible to invert an alignment with the following command:
WE NEED A SCREEN DUMP HEREFrom the server, it is possible to generate all the formats available at the command line (depending on your browser, this may require to see the source of returned documents). This is achieved by using the "Retrieve an alignment" button of the user menu:
One can ask for the result as SWRL:
This part is not yet available through the server
If you want to embed matching solutions in an applications, then you should look at the genuine tutorial.
TODO: Explain embedding of a matching system in the alignment server.
More info: http://alignapi.gforge.inria.fr
The format of this tutorial has been shamelessly borrowed from Sean Bechhofer's OWL tutorial.
http://alignapi.gforge.inria.fr/tutorial/server.html
$Id: index.html 384 2007-02-02 11:09:40Z euzenat $