From fa40d4ed6ff218ed38d9087d63bdfc4099495d8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Euzenat?= <Jerome.Euzenat@inria.fr> Date: Tue, 25 Mar 2008 21:09:31 +0000 Subject: [PATCH] - updated to version 3.2 (new manual, wordnet 3.0, new output) --- html/align.html | 62 +++++++++++++++++++++++++++++------------------ html/alignwn.html | 2 +- html/index.html | 3 +-- 3 files changed, 40 insertions(+), 27 deletions(-) diff --git a/html/align.html b/html/align.html index 1ba82ff2..3a43631c 100644 --- a/html/align.html +++ b/html/align.html @@ -32,15 +32,21 @@ library, required libraries.</p> <p>Running the program is achieved through: <div class="fragment"><pre> $ java -jar lib/procalign.jar +Two URIs required usage: Procalign [options] URI1 URI2 options are: - --impl=className -i classname Use the given alignment implementation. - --renderer=className -r className Specifies the alignment renderer - --output=filename -o filename Output the alignment in filename - --alignment=filename -a filename Start from an XML alignment file - --threshold=double -t double Filters the similarities under threshold - --debug[=n] -d [n] Report debug info at level n - --help -h Print this message + --impl=className -i classname Use the given alignment implementation. + --renderer=className -r className Specifies the alignment renderer + --output=filename -o filename Output the alignment in filename + --params=filename -p filename Reads parameters from filename + --alignment=filename -a filename Start from an XML alignment file + --threshold=double -t double Filters the similarities under threshold + --cutmethod=hard|perc|prop|best|span -T hard|perc|prop|best|span method for computing the threshold + --debug[=n] -d [n] Report debug info at level n + -Dparam=value Set parameter + --help -h Print this message + +Alignment API implementation 3.2 ($Id$) </pre></div> Congratutalations, you are done. We advise you to learn more by using the <a href="tutorial">tutorial</a> @@ -217,32 +223,40 @@ documentation. If you are familiar with CVS, the move is straightforward.) distance on class names. It thus have to build a matrix of distance and to choose the alignment from the distance. It can be called by: <div class="fragment"><pre> -$ java -jar lib/procalign.jar file://$CWD/rdf/onto1.owl file://$CWD/rdf/onto2.owl -i fr.inrialpes.exmo.align.impl.method.EditDistNameAlignment -</pre></div> -which returns: -<div class="code"><pre> +$ java -jar lib/procalign.jar file://$CWD/examples/rdf/onto1.owl file://$CWD/examples/rdf/onto2.owl -i fr.inrialpes.exmo.align.impl.method.StringDistAlignment <?xml version='1.0' encoding='utf-8' standalone='no'?> -<!DOCTYPE rdf:RDF SYSTEM "align.dtd"> - -<rdf:RDF xmlns='http://knowledgeweb.semanticweb.org/heterogeneity/alignment'> +<rdf:RDF xmlns='http://knowledgeweb.semanticweb.org/heterogeneity/alignment#' + xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' + xmlns:xsd='http://www.w3.org/2001/XMLSchema#' + xmlns:align='http://knowledgeweb.semanticweb.org/heterogeneity/alignment#'> <Alignment> <xml>yes</xml> <level>0</level> - <type>11</type> - <onto1>file://$CWD/rdf/onto1.owl</onto1> - <onto2>file://$CWD/rdf/onto2.owl</onto2> + <type>**</type> + <method>fr.inrialpes.exmo.align.impl.method.StringDistAlignment</method> + <time>4</time> + <onto1> + <Ontology rdf:about="http://www.example.org/ontology1"> + <location>file:///Java/alignapi/examples/rdf/onto1.owl</location> + <formalism> + <Formalism align:name="OWL1.0" align:uri="http://www.w3.org/2002/07/owl#"/> + </formalism> + </Ontology> + </onto1> + <onto2> + <Ontology rdf:about="http://www.example.org/ontology2"> + <location>file:///Java/alignapi/examples/rdf/onto2.owl</location> + <formalism> + <Formalism align:name="OWL1.0" align:uri="http://www.w3.org/2002/07/owl#"/> + </formalism> + </Ontology> + </onto2> <map> - <Cell> - <entity1 rdf:resource='http://www.example.org/ontology1#reviewedarticle'/> - <entity2 rdf:resource='http://www.example.org/ontology2#article'/> - <measure rdf:datatype='xsd:float'>0.5333333333333333</measure> - <relation>=</relation> - </Cell> <Cell> <entity1 rdf:resource='http://www.example.org/ontology1#journalarticle'/> <entity2 rdf:resource='http://www.example.org/ontology2#journalarticle'/> - <measure rdf:datatype='xsd:float'>0.0</measure> <relation>=</relation> + <measure rdf:datatype='http://www.w3.org/2001/XMLSchema#float'>1.0</measure> </Cell> </map> </Alignment> diff --git a/html/alignwn.html b/html/alignwn.html index 82fe4d23..52e43076 100644 --- a/html/alignwn.html +++ b/html/alignwn.html @@ -20,7 +20,7 @@ using OLA.</p> <dd>as well as the OWL API are necessary. Its lib directory contains the alignwn.jar file.</dd> <dt><a href="">Wordnet</a></dt> -<dd>version 2.0 is used.</dd> +<dd>version 2.0 is used; it seems to work flawlessly with 3.0.</dd> <dt>The <a href="">Java WordNet Library (JWNL)</a></dt> <dd>whose jar-file should be put in the same directory as alignwn.jar.</dd> <dt>Apache <a href="">common-loggings</a></dt> diff --git a/html/index.html b/html/index.html index afa383f4..45492f17 100644 --- a/html/index.html +++ b/html/index.html @@ -64,8 +64,7 @@ <dt><a href="tutorial/">Tutorial</a></dt> <dd>Walk through the Alignment API features</dd> <dt><a href="http://gforge.inria.fr/docman/view.php/117/251/align.pdf">Documentation</a></dt> -<dd>Supposed to be a reference manual, but outdated. It could be - useful anyway.</dd> +<dd>Supposed to be a reference manual, but not fully complete.</dd> </dl> </p> -- GitLab