Commit 9f170c2b authored by Jérôme Euzenat's avatar Jérôme Euzenat
Browse files

Adapted tutorial for gitlab pages (partially)

parent 661ee63f
Pipeline #203099 passed with stage
in 33 seconds
......@@ -37,9 +37,9 @@ div.logic {
<dl>
<dt>This version:</dt>
<dd>http://alignapi.gforge.inria.fr/tutorial/</dd>
<dd>https://moex.gitlabpages.inria.fr/alignapi/tutorial/</dd>
<dt>Author:</dt>
<dd><a href="http://exmo.inrialpes.fr/people/euzenat">J&eacute;r&ocirc;me Euzenat</a>, INRIA &amp; LIG
<dd><a href="https://moex.inria.fr/~euzenat/">J&eacute;r&ocirc;me Euzenat</a>, INRIA &amp; Univ. Grenoble Alpes
</dd>
</dl>
......@@ -99,7 +99,7 @@ Javadoc).
your application, you will also need a java compiler, hereby
called <tt>javac</tt>.</p>
<p>Download the last version of the Alignment <abbr>API</abbr> from <a href="http://gforge.inria.fr/frs/?group_id=117">http://gforge.inria.fr/frs/?group_id=117</a>. Unzip it and go to the created directory:</p>
<p>Download the last version of the Alignment <abbr>API</abbr> from <a href="https://gitlab.inria.fr/moex/alignapi">https://gitlab.inria.fr/moex/alignapi</a>. Unzip it and go to the created directory:</p>
<div class="terminal">
$ mkdir alignapi
$ cd alignapi
......@@ -180,9 +180,8 @@ $ xsltproc ../form-align.xsl results/file.rdf > results/file.html
<hr />
<small>
<div style="text-align: center;">http://alignapi.gforge.inria.fr/tutorial/</div>
<div style="text-align: center;">https://moex.gitlabpages.inria.fr/alignapi/tutorial/</div>
<hr />
$Id$
</small>
</body>
</html>
......@@ -4,7 +4,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Using the Alignment API: a small tutorial on the Alignment API</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../../base.css" />
<link rel="stylesheet" type="text/css" href="../../style.css" />
<script type="text/javascript">
......@@ -36,9 +36,9 @@ div.logic {
<dl>
<dt>This version:</dt>
<dd>http://alignapi.gforge.inria.fr/tutorial/tutorial1/</dd>
<dd>https://moex.gitlabpages.inria.fr/alignapi/tutorial/tutorial1/</dd>
<dt>Author:</dt>
<dd><a href="http://exmo.inrialpes.fr/people/euzenat">J&eacute;r&ocirc;me Euzenat</a>, INRIA &amp; LIG
<dd><a href="https://moex.inria.fr/~euzenat">Jérôme Euzenat</a>, INRIA &amp; Univ. Grenoble Alpes
</dd>
</dl>
......@@ -217,7 +217,7 @@ $ java -cp ../../../lib/procalign.jar:../../../lib/jwnl/jwnl.jar fr.inrialpes.ex
<h2>Manipulating</h2>
<p>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 <tt>.33</tt> over the alignment (with the <tt>-t</tt> switch):</p>
<p>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&apos;s try a threshold of <tt>.33</tt> over the alignment (with the <tt>-t</tt> switch):</p>
<div class="terminal">
$ java -jar ../../../lib/procalign.jar file://$CWD/myOnto.owl file://$CWD/edu.mit.visus.bibtex.owl -i fr.inrialpes.exmo.align.impl.method.StringDistAlignment -DstringFunction=levenshteinDistance -t 0.33 -o results/levenshtein33.rdf
</div>
......@@ -471,13 +471,12 @@ $ java -jar ../../../lib/Procalign.jar file://$CWD/rdf/edu.umbc.ebiquity.publica
<h2>Further exercises</h2>
<p>More info: <a href="http://alignapi.gforge.inria.fr/tutorial/">http://alignapi.gforge.inria.fr/tutorial/</a></p>
<p>More info: <a href="https://moex.gitlabpages.inria.fr/alignapi/tutorial/">https://moex.gitlabpages.inria.fr/alignapi/tutorial/</a></p>
<hr />
<small>
<p style="text-align: center;">http://alignapi.gforge.inria.fr/tutorial/tutorial1/</p>
<p style="text-align: center;">https://moex.gitlabpages.inria.fr/alignapi/tutorial/tutorial1/</p>
<hr />
<div>$Id$</div>
</small>
</body>
</html>
......
<?xml version="1.0"?>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Manipulating alignments through a web client</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../../base.css" />
<link rel="stylesheet" type="text/css" href="../../style.css" />
<script type="text/javascript">
......@@ -36,19 +36,16 @@ div.logic {
<dl>
<dt>This version:</dt>
<dd>http://alignapi.gforge.inria.fr/tutorial/tutorial1/server.html</dd>
<dd>https://moex.gitlabpages.inria.fr/alignapi/tutorial/tutorial1/server.html</dd>
<dt>Author:</dt>
<dd><a href="http://exmo.inrialpes.fr/people/euzenat">J&eacute;r&ocirc;me Euzenat</a>, INRIA &amp; LIG
<dd><a href="https://moex.inria.fr/~euzenat">Jérôme Euzenat</a>, INRIA &amp; Univ. Grenoble Alpes
</dd>
</dl>
<p style="border-bottom: 2px solid #AAAAAA; border-top: 2px solid
#AAAAAA; padding-top: 15px; padding-bottom: 15px;">
Here is an illustration of the <A href="index.html">Alignment API
tutorial</a> using the alignment server.</p>
<small>This tutorial has been designed for the Alignment API version
3.0 and updated for the Alignment API 4.0. Actual screendumps may
vary since the interface has evolved but the functionalities remain.</small>
<p style="border-bottom: 2px solid #AAAAAA; border-top: 2px solid #AAAAAA; padding-top: 15px; padding-bottom: 15px;">
Here is an illustration of the <A href="index.html">Alignment API tutorial</a> using the alignment server.</p>
<small>This tutorial has been designed for the Alignment API version 3.0 and updated for the Alignment API 4.0.
Actual screendumps may vary since the interface has evolved and the functionalities have been extended.</small>
<h2>Launching the alignment server for the first time</h2>
......@@ -98,8 +95,7 @@ The alignment server is then available by HTTP through:
<h2>Connecting through the server with an HTTP client</h2>
<p>Once the server has been installed, it can be accessed using
http://localhost:8089/html/. This provides access to two menus.
<p>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:
<center><img src="server/interf.png"/></center>
The second one is the management menu:
......@@ -108,9 +104,9 @@ You can browse in these menus to see what is available.</p>
<h2>The data</h2>
<p>The data is the same as that of the <a href="index.html">genuine
tutorial</a>. We will, however, use the versions which are
available on the web at http://alignapi.gforge.inria.fr. They can be seen here:</p>
<p>The data is the same as that of the <a href="index.html">genuine tutorial</a>.
We will, however, use the versions which are available on the web at https://moex.gitlabpages.inria.fr/alignapi/tutorial/.
They can be seen here:</p>
<dl>
<dt>edu.mit.visus.bibtex.owl</dt>
<dd>is a relatively faithfull transcription of BibTeX as an ontology. It can be seen here in <a href="../edu.mit.visus.bibtex.owl"><abbr title="Ressource Description Framework">RDF</abbr>/<abbr title="eXtansible Markup Language">XML</abbr></a> or <a href="../edu.mit.visus.bibtex.html"><abbr>HTML</abbr></a>.</dd>
......@@ -128,7 +124,7 @@ result under that form:
<center><img src="server/result1.png" /></center>
By clicking on the link, one can obtain the HTML display of the
obtained alignment:
<center><img src="server/align1.png" width="100%" /></center>
<center><img src="server/align1.png" /></center>
</p>
<p>We will see later how to obtain the same result in different
formats.</p>
......@@ -140,7 +136,7 @@ obtained alignment:
Ticking the "force" checkbox is necessary, otherwise the server will
return the existing alignment using the same algorithm (i.e., the one
previously computed).
<center><img src="server/align2.png" width="100%" /></center>
<center><img src="server/align2.png" /></center>
</p>
<p>Look at the results: how are they different from before?</p>
......@@ -153,7 +149,7 @@ previously computed).
<p>We can do the same with the other measure (the smoaDistance):</p>
<center><img src="server/match3.png" /></center>
<center><img src="server/align3.png" width="100%" /></center>
<center><img src="server/align3.png" /></center>
<!--div class="logic"><p><b>Advanced:</b> You can also look at the instructions for installing WordNet and its Java interface and use a WordNet based distance provided with the <abbr>API</abbr> implementation by:</p>
<div class="fragment"><pre>
......@@ -165,11 +161,11 @@ $ java -jar ../../lib/alignwn.jar -i fr.inrialpes.exmo.align.ling.JWNLAlignment
<p>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 <tt>.33</tt> over the
these values. Let&apos;s try a threshold of <tt>.33</tt> over the
alignment (with the <tt>-t</tt> switch):
<center><img src="server/trim1.png" /></center>
Trimming, as most operations in the server, generate a new alignment:
<center><img src="server/align4.png" width="100%" /></center>
<center><img src="server/align4.png" /></center>
</p>
<p>As expected we have suppressed some of these inaccurate correspondences. But did we also suppressed accurate ones?</p>
<div class="button">
......@@ -178,9 +174,9 @@ Trimming, as most operations in the server, generate a new alignment:
</div>
<div class="explain" id="qu4"><p>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!</p></div>
<p>We can also apply this treatment to other methods available:</p>
<!--p>We can also apply this treatment to other methods available:</p>
<center><img src="server/trim2.png" /></center>
<center><img src="server/align5.png" width="100%" /></center></p>
<center><img src="server/align5.png" /></center></p-->
<div class="logic"><p><b>More work:</b> There is another switch (<tt>-T</tt>) 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 <abbr>API</abbr> documentation.</p></div>
<p><b>Other manipulations:</b> It is possible to invert an alignment
......@@ -209,15 +205,15 @@ which returns the following result:
by using the "Render an alignment" button of the user menu:
<center><img src="server/retr1.png" /></center>
Here is a result in OWL:
<center><img src="server/format1.png" width="100%" /></center>
<center><img src="server/format1.png" /></center>
</p>
<p>One can ask for the result as SWRL:
<center><img src="server/retr2.png" /></center>
<center><img src="server/format2.png" width="100%" /></center>
<center><img src="server/format2.png" /></center>
Or in XSLT:
<center><img src="server/retr3.png" /></center>
<center><img src="server/format3.png" width="100%" /></center>
<center><img src="server/format3.png" /></center>
</p>
<h2>Loading and storing</h2>
......@@ -227,13 +223,13 @@ It is possible to load an alignment available somewhere on the web
or on a disk through:
<center><img src="server/load1.png" /></center>
which returns:
<center><img src="server/result2.png" width="100%" /></center>
<center><img src="server/result2.png" /></center>
</p>
<p>
An alignment can be stored definitely on the server, i.e., its
database through the Store button of the main menu which triggers the
following interface:
<center><img src="server/store1.png" width="100%" /></center>
<center><img src="server/store1.png" /></center>
</p>
<h2>Comparing</h2>
......@@ -244,7 +240,7 @@ Diff Evaluator class:
<!--center><img src="server/eval1.png" /></center-->
which returns three sets of correspondences (correct, incorrect and
missing) :
<!--center><img src="server/evalresult1.png" width="100%" /></center-->
<!--center><img src="server/evalresult1.png" /></center-->
</p>
</p>
......@@ -256,13 +252,13 @@ Evaluator class:
<center><img src="server/eval1.png" /></center>
which returns the measures provided by the evaluator (here precision,
recall and derivative measures):
<center><img src="server/evalresult1.png" width="100%" /></center>
<center><img src="server/evalresult1.png" /></center>
</p>
</p>
<h2>Further exercises</h2>
<p>More info: <a href="http://alignapi.gforge.inria.fr">http://alignapi.gforge.inria.fr</a></p>
<p>More info: <a href="https://moex.gitlabpages.inria.fr/alignapi/tutorial/">https://moex.gitlabpages.inria.fr/alignapi/tutorial/</a></p>
<!--
Planning:
......@@ -273,9 +269,8 @@ Planning:
<hr />
<small>
<p style="text-align: center;">http://alignapi.gforge.inria.fr/tutorial//tutorial1/server.html</p>
<p style="text-align: center;">https://moex.gitlabpages.inria.fr/alignapi/tutorial/tutorial1/server/</p>
<hr />
<div>$Id$</div>
</small>
</body>
</html>
......@@ -4,7 +4,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Manipulating alignments in Java programs (and embedding the Alignment API within an application</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../../base.css" />
<link rel="stylesheet" type="text/css" href="../../style.css" />
<script type="text/javascript">
......@@ -36,14 +36,13 @@ div.logic {
<dl>
<dt>This version:</dt>
<dd>http://alignapi.gforge.inria.fr/tutorial/tutorial2/</dd>
<dd>https://moex.gitlabpages.inria.fr/alignapi/tutorial/tutorial2/</dd>
<dt>Author:</dt>
<dd><a href="http://exmo.inrialpes.fr/people/euzenat">J&eacute;r&ocirc;me Euzenat</a>, INRIA &amp; LIG
<dd><a href="https://moex.inria.fr/~euzenat">Jérôme Euzenat</a>, INRIA &amp; Univ. Grenoble Alpes
</dd>
</dl>
<p style="border-bottom: 2px solid #AAAAAA; border-top: 2px solid
#AAAAAA; padding-top: 15px; padding-bottom: 15px;">Here is a
<p style="border-bottom: 2px solid #AAAAAA; border-top: 2px solid #AAAAAA; padding-top: 15px; padding-bottom: 15px;">Here is a
tutorial for embedding the alignment <abbr>API</abbr> within your
own applications.
</p>
......@@ -362,13 +361,12 @@ Threshold 1.0 : 0.5230769230769231 over 17 cells
<h2>Further exercises</h2>
<p>More info: <a href="http://alignapi.gforge.inria.fr/tutorial/">http://alignapi.gforge.inria.fr/tutorial/</a></p>
<p>More info: <a href="https://moex.gitlabpages.inria.fr/alignapi/tutorial/">https://moex.gitlabpages.inria.fr/alignapi/tutorial/</a></p>
<hr />
<small>
<div style="text-align: center;">http://alignapi.gforge.inria.fr/tutorial/tutorial2/</div>
<p style="text-align: center;">https://moex.gitlabpages.inria.fr/alignapi/tutorial/tutorial2/</p>
<hr />
<div>$Id$</div>
</small>
</body>
</html>
......@@ -4,7 +4,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Extending the Alignment API with a new matcher</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../../base.css" />
<link rel="stylesheet" type="text/css" href="../../style.css" />
<script type="text/javascript">
......@@ -36,12 +36,12 @@ div.logic {
<dl>
<dt>This version:</dt>
<dd>http://alignapi.gforge.inria.fr/tutorial/tutorial3/</dd>
<dd>https://moex.gitlabpages.inria.fr/alignapi/tutorial/tutorial3/</dd>
<dt>Author:</dt>
<dd><a href="http://exmo.inrialpes.fr/people/euzenat/">J&eacute;r&ocirc;me
Euzenat</a> &amp; <a href="http://exmo.inrialpes.fr/people/trojahn/">Cassia Trojahn dos Santos</a>, INRIA &amp; LIG
<dd><a href="https://moex.inria.fr/~euzenat">Jérôme Euzenat</a> &amp; <a href="https://www.irit.fr/~Cassia.Trojahn/">Cássia Trojahn dos Santos</a>, INRIA &amp; Univ. Grenoble Alpes
</dd>
</dl>
<dl>
<p style="border-top: 2px solid #AAAAAA; padding-top: 15px;">
This tutorial explains, step-by-step, how to add your own ontology
......@@ -365,13 +365,12 @@ Java support.
<h2>Further exercises</h2>
<p>More info: <a href="http://alignapi.gforge.inria.fr/tutorial/">http://alignapi.gforge.inria.fr/tutorial/</a></p>
<p>More info: <a href="https://moex.gitlabpages.inria.fr/alignapi/tutorial/">https://moex.gitlabpages.inria.fr/alignapi/tutorial/</a></p>
<hr />
<small>
<div style="text-align: center;">http://alignapi.gforge.inria.fr/tutorial/tutorial3/</div>
<p style="text-align: center;">https://moex.gitlabpages.inria.fr/alignapi/tutorial/tutorial3/</p>
<hr />
<div>$Id$</div>
</small>
</body>
</html>
......@@ -4,7 +4,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Exploiting alignments and reasoning</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../../base.css" />
<link rel="stylesheet" type="text/css" href="../../style.css" />
<script type="text/javascript">
......@@ -34,15 +34,13 @@ div.logic {
<h1>Exploiting alignments and reasoning: advanced tutorial on the Alignment <abbr title="Application Programming Interface">API</abbr> and server</h1>
<p>
<dl>
<dt>This version:</dt>
<dd>http://alignapi.gforge.inria.fr/tutorial/tutorial4/</dd>
<dd>https://moex.gitlabpages.inria.fr/alignapi/tutorial/tutorial4/</dd>
<dt>Author:</dt>
<dd><a href="http://exmo.inrialpes.fr/people/euzenat">J&eacute;r&ocirc;me Euzenat</a>, INRIA &amp; LIG
<dd><a href="https://moex.inria.fr/~euzenat">Jérôme Euzenat</a>, INRIA &amp; Univ. Grenoble Alpes
</dd>
</dl>
</p>
<p style="border-top: 2px solid
#AAAAAA; padding-top: 15px; padding-bottom: 15px;">
......@@ -213,7 +211,7 @@ al = ObjectAlignment.toObjectAlignment((URIAlignment)alu);
<p>
Write a program that does try to find an alignment on the alignment
server <a href="http://aserv.inrialpes.fr">http://aserv.inrialpes.fr</a>
server <a href="https://aserv.inrialpes.fr">https://aserv.inrialpes.fr</a>
and, if none is found, computes one.
</p>
......@@ -261,7 +259,7 @@ if ( alset.getLength() == 0 ) {
</div>
<div class="explain" id="qu2cli">
<div class="terminal">
$ java -cp $CLASSPATH fr.inrialpes.exmo.align.cli.Procalign -i fr.inrialpes.exmo.align.impl.method.StringDistAlignment -DstringFunction=smoaDistance -Dnoinst=1 http://alignapi.gforge.inria.fr/tutorial/tutorial4/ontology1.owl http://alignapi.gforge.inria.fr/tutorial/tutorial4/ontology2.owl
$ java -cp $CLASSPATH fr.inrialpes.exmo.align.cli.Procalign -i fr.inrialpes.exmo.align.impl.method.StringDistAlignment -DstringFunction=smoaDistance -Dnoinst=1 https://moex.gitlabpages.inria.fr/alignapi/tutorial/tutorial4/ontology1.owl https://moex.gitlabpages.inria.fr/alignapi/tutorial/tutorial4/ontology2.owl
</div>
or:
<div class="terminal">
......@@ -438,7 +436,7 @@ if ( dreasoner.isConsistent() ) {
that <a href="https://code.google.com/p/logmap-matcher/">LogMap has
been downloaded</a> (it takes directly the Alignment format as input):
<div class="terminal">
$ java -jar logmap2_standalone.jar DEBUGGER http://alignapi.gforge.inria.fr/tutorial/tutorial4/ontology1.owl http://alignapi.gforge.inria.fr/tutorial/tutorial4/ontology2.owl RDF alignment.rdf $CWD/results false false
$ java -jar logmap2_standalone.jar DEBUGGER https://moex.gitlabpages.inria.fr/alignapi/tutorial/tutorial4/ontology1.owl https://moex.gitlabpages.inria.fr/alignapi/tutorial/tutorial4/ontology2.owl RDF alignment.rdf $CWD/results false false
</div>
this displays the following output:
<div class="result">
......@@ -505,8 +503,8 @@ and have saved the result in <a href="results/alcomo-alignment.rdf">results/alco
</div>
<div class="explain" id="qu10java">
<div class="java">
OWLOntology onto1 = manager.loadOntology(IRI.create("http://alignapi.gforge.inria.fr/tutorial/tutorial4/ontology1.owl"));
OWLOntology onto2 = manager.loadOntology(IRI.create("http://alignapi.gforge.inria.fr/tutorial/tutorial4/ontology2.owl"));
OWLOntology onto1 = manager.loadOntology(IRI.create("https://moex.gitlabpages.inria.fr/alignapi/tutorial/tutorial4/ontology1.owl"));
OWLOntology onto2 = manager.loadOntology(IRI.create("https://moex.gitlabpages.inria.fr/alignapi/tutorial/tutorial4/ontology2.owl"));
MappingsReaderManager readermanager = new MappingsReaderManager( "alignment.rdf", "RDF");
Set&ly;MappingObjectStr> input_mappings = readermanager.getMappingObjects();
LogMap2_RepairFacility logmap2_repair = new LogMap2_RepairFacility( onto1, onto2, input_mappings, false, false);
......@@ -1034,11 +1032,14 @@ uncommented from the code and the instructions above run again with
logmap2_standalone.jar in the classpath.
</p>
<h2>Further exercises</h2>
<p>More info: <a href="https://moex.gitlabpages.inria.fr/alignapi/tutorial/">https://moex.gitlabpages.inria.fr/alignapi/tutorial/</a></p>
<hr />
<small>
<p style="text-align: center;">http://alignapi.gforge.inria.fr/tutorial/tutorial4/</p>
</small>
<p style="text-align: center;">https://moex.gitlabpages.inria.fr/alignapi/tutorial/tutorial4/</p>
<hr />
<p>$Id$</p>
</small>
</body>
</html>
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xml:lang="en" lang="en">
<head>
<title>Exposing a matcher as a web service</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../../base.css" />
<link rel="stylesheet" type="text/css" href="../../style.css" />
<script type="text/javascript">
......@@ -34,13 +34,13 @@ margin-bottom: 10px;
<body style="background-color: #FFFFFF;">
<h1>Exposing a matcher as a web service</h1>
<dl>
<dd>http://alignapi.gforge.inria.fr/tutorial/tutorial5/</dd>
<dt>Authors:</dt>
<dd><a href="http://exmo.inrialpes.fr/people/trojahn/">C&aacute;ssia Trojahn dos
Santos</a> &amp; <a href="http://exmo.inrialpes.fr/people/euzenat/">Jérôme Euzenat</a>, INRIA &amp; LIG </dd>
<dd>with contributions from <a href="http://ki.informatik.uni-mannheim.de/
">Christian Meilicke</a>, University of Mannheim</dd>
<dt>This version:</dt>
<dd>https://moex.gitlabpages.inria.fr/alignapi/tutorial/tutorial5/</dd>
<dt>Authors:</dt>
<dd><dd><a href="https://www.irit.fr/~Cassia.Trojahn/">Cássia Trojahn dos
Santos</a> &amp; <a href="https://moex.inria.fr/~euzenat">Jérôme Euzenat</a>, INRIA &amp; Univ. Grenoble Alpes
</dd>
<dd>with contributions from <a href="https://www.uni-mannheim.de/dws/people/researchers/postdoctoral-research-fellows/dr-christian-meilicke/">Christian Meilicke</a>, University of Mannheim</dd>
</dl>
<p style="border-top: 2px solid #AAAAAA; padding-top: 15px;">This tutorial
......@@ -62,7 +62,7 @@ String align(URI onto1,URI onto2)
In order to make available such an interface as an operation within a web service, we define a minimal web service interface, as presented below.</p>
<p>Different ways for creating web services can be used. Here we propose to follow the
<a href="http://java.sun.com/javaee/5/docs/tutorial/doc/bnayl.html">Java API for XML Web Services (JAX-WS)</a>.
<a href="https://docs.oracle.com/javaee/5/tutorial/doc/bnayl.html">Java API for XML Web Services (JAX-WS)</a>.
Following this approach, a service endpoint is a Java interface or class that specifies the methods that a client can invoke on the service.
The development of JAX-WS web services is based on a set of annotations. The <tt>@WebService</tt> annotation defines the class as a web service endpoint while <tt>@WebMethod</tt> defines the operations of this web service. We can determine the encoding style for messages send to and from the Web Service, through the annotation <tt>@SOAPBinding</tt>.</p>
</p>
......@@ -118,7 +118,7 @@ public class AlignmentWSImpl implements AlignmentWS {
<p>
The method <tt>align</tt> must implement the matching process.
The easiest way to do this is to implement the <a href="http://alignapi.gforge.inria.fr/">Alignment API</a> (see details in <a href="http://alignapi.gforge.inria.fr/tutorial/tutorial3/">how to extend the Alignment API with a new matcher</a>). Basically, you need to implement the <tt>AlignmentProcess</tt> interface (method <tt>align</tt>) and extend the <tt>URIAlignment</tt> class (<a href="MyAlignment.java">MyAlignment.java</a>):
The easiest way to do this is to implement the <a href="https://gitlab.inria.fr/moex/alignapi">Alignment API</a> (see details in <a href="../tutorial3/">how to extend the Alignment API with a new matcher</a>). Basically, you need to implement the <tt>AlignmentProcess</tt> interface (method <tt>align</tt>) and extend the <tt>URIAlignment</tt> class (<a href="MyAlignment.java">MyAlignment.java</a>):
</p>
......@@ -144,7 +144,7 @@ public class MyAlignment extends URIAlignment implements AlignmentProcess {
}
</div>
<p>The complete example, following <a href="http://alignapi.gforge.inria.fr/tutorial/tutorial3/">how to extend the Alignment API with a new matcher</a>, can be found at <a href="../tutorial3/MyAlignment.java">MyAlignmentComplete.java</a>.</p>
<p>The complete example, following <a href="../tutorial3/">how to extend the Alignment API with a new matcher</a>, can be found at <a href="../tutorial3/MyAlignment.java">MyAlignmentComplete.java</a>.</p>
<p>Then, it is simple to expose <tt>MyAlignment</tt> as a web service (<a href="MyAlignmentWS.java">MyAlignmentWS.java</a>):</p>
......@@ -265,11 +265,14 @@ way. Take a look at <a href="example.wsdl">this file</a> as an example.</div>
<p>Unzip the file and open the readme.txt file. It explains how to generate, deploy and test the webservice. It is required that you have ant installed to use it.</p>
<hr/>
<h2>Further exercises</h2>
<p>More info: <a href="https://moex.gitlabpages.inria.fr/alignapi/tutorial/">https://moex.gitlabpages.inria.fr/alignapi/tutorial/</a></p>
<hr />
<small>
<div style="text-align: center;">http://alignapi.gforge.inria.fr/tutorial/tutorial5/</div>
<p style="text-align: center;">https://moex.gitlabpages.inria.fr/alignapi/tutorial/tutorial5/</p>
<hr />
$Id$
</small>
</body>
</html>
......@@ -4,7 +4,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Interlinking data with alignments and link keys (in triple stores)</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../../base.css" />
<link rel="stylesheet" type="text/css" href="../../style.css" />
<script type="text/javascript">
......@@ -40,7 +40,7 @@ in online triple stores.
<h2>Sesame</h2>
<p>We are using <a href="http://openrdf.org/">Sesame</a>.
<p>We are using <a href="https://openrdf.org/">Sesame</a>.
</p>
<h3>Evaluating the query in data sets loaded in different name graphs</h3>
......@@ -118,7 +118,7 @@ MINUS { GRAPH &lt;http://example.com/nuts> {
<h3>Evaluating the query in data sets loaded the same name graphs</h3>
<p>We are
using <a href="http://virtuoso.openlinksw.com/rdf-quad-store/">Virtuoso</a>.
using <a href="https://virtuoso.openlinksw.com/">Virtuoso</a>.
Everything has been loaded in a single named graph (identified by http://exmo)...
</p>
......@@ -138,11 +138,14 @@ Everything has been loaded in a single named graph (identified by http://exmo)..
<p>The result is the same as previously.</p>
<h2>Further exercises</h2>
<p>More info: <a href="https://moex.gitlabpages.inria.fr/alignapi/tutorial/">https://moex.gitlabpages.inria.fr/alignapi/tutorial/</a></p>
<hr />
<small>
<div style="text-align: center;">http://alignapi.gforge.inria.fr/tutorial/tutorial6/browser.html</div>
<p style="text-align: center;">https://moex.gitlabpages.inria.fr/alignapi/tutorial/tutorial6/browser.html</p>
<hr />
<div>$Id$</div>
</small>
</body>
</html>
......@@ -4,7 +4,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Interlinking data with alignments and link keys</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../../base.css" />
<link rel="stylesheet" type="text/css" href="../../style.css" />
<script type="text/javascript">
......@@ -35,9 +35,9 @@ div.logic {
<h1>Interlinking data with alignments and link keys</h1>
<dl>
<dt>This version:</dt>
<dd>http://alignapi.gforge.inria.fr/tutorial/tutorial6/</dd>
<dd>https://moex.gitlabpages.inria.fr/alignapi/tutorial/tutorial4/</dd>
<dt>Author:</dt>
<dd><a href="http://exmo.inrialpes.fr/people/euzenat">J&eacute;r&ocirc;me Euzenat</a>, INRIA &amp; LIG
<dd><a href="https://moex.inria.fr/~euzenat">Jérôme Euzenat</a>, INRIA &amp; Univ. Grenoble Alpes
</dd>
</dl>
......@@ -55,9 +55,9 @@ However, making is work with <!--LinkKeyDisco and-->Silk or a triple store requi
additional software.
<ul>
<!--li>"<a href="http://exmo.inrialpes.fr/~jdavid/linkrule-extraction/">LinkKeyDisco</a>" for extracting link keys</li-->
<li><a href="http://silk-framework.com/">Silk</a> for generating links from similarity specification</li>
<li><a href="http://openrdf.org/">Sesame</a> or <a href="http://virtuoso.openlinksw.com/rdf-quad-store/">Virtuoso</a> as a triple store (optional)</li>
<!--li>Note that we may also use <a href="http://openrefine.org/">OpenRefine</a></li-->
<li><a href="http://silkframework.org/">Silk</a> for generating links from similarity specification</li>
<li><a href="https://www.openrdf.org/">Sesame</a> or <a href="https://virtuoso.openlinksw.com/">Virtuoso</a> as a triple store (optional)</li>
<!--li>Note that we may also use <a href="https://openrefine.org/">OpenRefine</a></li-->
</ul>
As usual, the whole tutorial is performed through command line.
</p>
......@@ -83,8 +83,7 @@ $ mkdir results
We are using two different data sets in files.
<ul>
<li><a href="nuts2008_complete.rdf">nuts2008_complete.rdf</a>:
The <a href="http://simap.europa.eu/codes-and-nomenclatures/codes-nuts/codes-nuts-table_fr.htm">Eurostat administrative decomposition of Europe up to level 3</a>
in the Nomenclature of Territorial Units for Statistics (NUTS);</a>
The <a href="http://simap.europa.eu/codes-and-nomenclatures/codes-nuts/codes-nuts-table_fr.htm">Eurostat administrative decomposition of Europe up to level 3</a> in the Nomenclature of Territorial Units for Statistics (NUTS);</a>
<li><a href="regions-2010.rdf">regions-2010.rdf</a>: the
French statistical institue (INSEE) administrative circumscription
in France.</a>
......@@ -293,7 +292,7 @@ beyond nom&equiv;name.
We use Silk 2.6.1 in order to generate links based on the similarity
between resources.
Silk is driven by scripts which express such similarity.
The scripts are expressed in the <a href="https://www.assembla.com/wiki/show/silk/Link_Specification_Language">Link Specification Language</a>
The scripts are expressed in the <a href="https://github.com/silk-framework/silk/blob/master/doc/LinkSpecificationLanguage.md">Link Specification Language</a>
</p>
<p>
......@@ -502,20 +501,23 @@ used.
<p>
For the curious, we have a larger example, between the
French communes
in <a href="http://exmo.inria.fr/~jdavid/linkrule-extraction/files/communes_insee.ttl">insee-communes.ttl</a> and
in <a href="https://exmo.inria.fr/~jdavid/linkrule-extraction/files/communes_insee.ttl">insee-communes.ttl</a> and
those of geonames
(<a href="http://exmo.inria.fr/~jdavid/linkrule-extraction/files/communes_gn.ttl">communes_gn.ttl</a>).
(<a href="https://exmo.inria.fr/~jdavid/linkrule-extraction/files/communes_gn.ttl">communes_gn.ttl</a>).
A starting script is <a href="geo-script.xml">geo-script.xml</a>.
This sample data comes from
the <a href="http://exmo.inria.fr/~jdavid/linkrule-extraction/">LinkKeyDisco</a>
the <a href="https://exmo.inria.fr/~jdavid/linkrule-extraction/">LinkKeyDisco</a>
system experiments.
</p>
<h2>Further exercises</h2>
<p>More info: <a href="https://moex.gitlabpages.inria.fr/alignapi/tutorial/">https://moex.gitlabpages.inria.fr/alignapi/tutorial/</a></p>
<hr />
<small>
<div style="text-align: center;">http://alignapi.gforge.inria.fr/tutorial/tutorial6/</div>
<p style="text-align: center;">https://moex.gitlabpages.inria.fr/alignapi/tutorial/tutorial6/</p>
<hr />
<div>$Id$</div>