diff --git a/html/tutorial/tutorial1/index.html b/html/tutorial/tutorial1/index.html index ffba095c1c88833a2d3eea013f80bdc9d08e6a31..c4c07d8494548fc380ddbfef6d7fd51a54ff2376 100644 --- a/html/tutorial/tutorial1/index.html +++ b/html/tutorial/tutorial1/index.html @@ -239,7 +239,7 @@ $ java -jar ../../../lib/procalign.jar -i fr.inrialpes.exmo.align.impl.method.St <p><b>Other manipulations:</b> It is possible to invert an alignment with the following command:</p> <div class="terminal"> -$ java -cp ../../../lib/procalign.jar fr.inrialpes.exmo.align.cli.ParserPrinter -i results/SMOA5.rdf -o results/AOMS5.rdf +$ java -cp ../../../lib/procalign.jar fr.inrialpes.exmo.align.cli.ParserPrinter file:results/SMOA5.rdf -o results/AOMS5.rdf </div> <p>See the output in <a href="results/AOMS5.rdf"><abbr>RDF</abbr>/<abbr>XML</abbr></a> or <a href="results/AOMS5.html"><abbr>HTML</abbr></a> (if rendered as before). The results is an alignment from the source to the target. Inverting alignment is only the exchange of the order of the elements in the alignment file. This can be useful when you have an alignment of <i>A</i> to <i>B</i>, an alignment from <i>C</i> to <i>B</i> and you want to go from <i>A</i> to <i>C</i>. The solution is then to invert the second alignment and to compose them.</p> @@ -251,7 +251,7 @@ $ java -cp ../../../lib/procalign.jar fr.inrialpes.exmo.align.cli.ParserPrinter <p>Once a good alignment has been found, only half of the work has been done. In order to actually use our result it is necessary to transform it into some processable format. For instance, if one wants to merge two OWL ontologies, the alignment can be changed into set of <acronym>OWL</acronym> "bridging" axioms. This is achieved by "rendering" the alignment in <acronym>OWL</acronym> (through the <tt>-r</tt> switch):</p> <div class="terminal"> -$ java -cp ../../../lib/procalign.jar fr.inrialpes.exmo.align.cli.ParserPrinter results/SMOA5.rdf -r fr.inrialpes.exmo.align.impl.renderer.OWLAxiomsRendererVisitor +$ java -cp ../../../lib/procalign.jar fr.inrialpes.exmo.align.cli.ParserPrinter file:results/SMOA5.rdf -r fr.inrialpes.exmo.align.impl.renderer.OWLAxiomsRendererVisitor </div> <p>The result is a set of OWL assertions of the form:</p> @@ -267,7 +267,7 @@ $ java -cp ../../../lib/procalign.jar fr.inrialpes.exmo.align.cli.ParserPrinter <p>If one wants to use the alignments only for infering on instances without actually merging the classes, she can generate SWRL rules:</p> <div class="terminal"> -$ java -cp ../../../lib/procalign.jar fr.inrialpes.exmo.align.cli.ParserPrinter results/SMOA5.rdf -r fr.inrialpes.exmo.align.impl.renderer.SWRLRendererVisitor +$ java -cp ../../../lib/procalign.jar fr.inrialpes.exmo.align.cli.ParserPrinter file:results/SMOA5.rdf -r fr.inrialpes.exmo.align.impl.renderer.SWRLRendererVisitor </div> <p>which brings for the same assertions:</p> <div class="swrl"> @@ -304,7 +304,7 @@ $ java -cp ../../../lib/procalign.jar fr.inrialpes.exmo.align.cli.ParserPrinter <p>Exchanging data can also be achieved more simply through <abbr>XSLT</abbr> transformations which will transform the <acronym>OWL</acronym> instance files from one ontology to another:</p> <div class="terminal"> -$ java -cp ../../../lib/procalign.jar fr.inrialpes.exmo.align.cli.ParserPrinter results/SMOA5.rdf -r fr.inrialpes.exmo.align.impl.renderer.XSLTRendererVisitor -o results/SMOA5.xsl +$ java -cp ../../../lib/procalign.jar fr.inrialpes.exmo.align.cli.ParserPrinter file:results/SMOA5.rdf -r fr.inrialpes.exmo.align.impl.renderer.XSLTRendererVisitor -o results/SMOA5.xsl </div> <p>this transformation can be applied to the data of <a href="data.xml">data.xml</a>:</p> <div class="terminal"> diff --git a/html/tutorial/tutorial2/index.html b/html/tutorial/tutorial2/index.html index 2498f979e3d45109f8baa6331303be697ac12fb4..f49b5602f11e12c17894aba5c487f09753fbea1f 100644 --- a/html/tutorial/tutorial2/index.html +++ b/html/tutorial/tutorial2/index.html @@ -303,7 +303,6 @@ alignment selected at the previous exercise as a set of OWL axioms. // Load the reference alignment AlignmentParser aparser = new AlignmentParser(0); // Changed by Angel for Windows - //Alignment reference = aparser.parse( "file://"+(new File ( "../refalign.rdf" ) . getAbsolutePath()) ); Alignment reference = aparser.parse( new File( "../refalign.rdf" ).toURI() ); // Trim at various thresholds