diff --git a/html/relnotes.html b/html/relnotes.html index 3b29dda19c714827c723db8585584a144f940300..92ba528081bac7425add6801eddbaf7718ae9e4d 100644 --- a/html/relnotes.html +++ b/html/relnotes.html @@ -17,8 +17,9 @@ <li>Fully implement individual alignments</li> <li>-d directory</li> <li>Include additional tags;</li> +<li>Add JADE (FIPA/ACL) Alignement server profile</li> +<li>Add Web Service Alignement server profile</li> <li>Add full support for algebraic operations (meet/join/inv/compose)</li> -<li>Integrate web-service/Fipa-ACL/HTML server interface;</li> <li>Develop AServProtocol and AServProfile</li> <li>Implement level 2OML alignments (version 3);</li> <li>Integrating tagging to the wordnet stuff</li> @@ -34,6 +35,10 @@ <h2>Current SVN trunk version</h2> <p><ul compact="1"> +<li>Adding HTML Alignement server profile (under development)</li> +<li>Adding SQL storage support (under development)</li> +<li>Adding Alignement server (under development)</li> +<li>Corrected Cell id rendering/parse in RDF/XML (rdf:about)</li> </ul></p> <h2>July 10th, 2006</h2> diff --git a/src/fr/inrialpes/exmo/align/impl/renderer/RDFRendererVisitor.java b/src/fr/inrialpes/exmo/align/impl/renderer/RDFRendererVisitor.java index 460c96e7dad6a4bbb88c00ddf716cb0e8b9d2b1d..a322c24fd3f77b0ad3fc637ea52bbb466e9d0e3c 100644 --- a/src/fr/inrialpes/exmo/align/impl/renderer/RDFRendererVisitor.java +++ b/src/fr/inrialpes/exmo/align/impl/renderer/RDFRendererVisitor.java @@ -109,7 +109,7 @@ public class RDFRendererVisitor implements AlignmentVisitor writer.print(" <map>\n"); writer.print(" <Cell"); if ( cell.getId() != null ){ - writer.print(" rdf:resource=\"#"+cell.getId()+"\""); + writer.print(" rdf:about=\"#"+cell.getId()+"\""); } writer.print(">\n <entity1 rdf:resource='"); writer.print( ((OWLEntity)cell.getObject1()).getURI().toString() ); diff --git a/src/fr/inrialpes/exmo/align/parser/AlignmentParser.java b/src/fr/inrialpes/exmo/align/parser/AlignmentParser.java index b60767ef956a5ff59a6cc9d2b76059504c7e75b8..5f87cabbc9b19b1680980b81db21ab7141cdbaa1 100644 --- a/src/fr/inrialpes/exmo/align/parser/AlignmentParser.java +++ b/src/fr/inrialpes/exmo/align/parser/AlignmentParser.java @@ -216,8 +216,10 @@ public class AlignmentParser extends DefaultHandler { } else if (pName.equals("Cell")) { if ( alignment == null ) { throw new SAXException("No alignment provided"); }; - if ( atts.getValue("rdf:resource") != null ){ - id = atts.getValue("rdf:resource"); + if ( atts.getValue("rdf:ID") != null ){ + id = atts.getValue("rdf:ID"); + } else if ( atts.getValue("rdf:about") != null ){ + id = atts.getValue("rdf:about"); } sem = null; measure = null; @@ -230,8 +232,6 @@ public class AlignmentParser extends DefaultHandler { onto2 = loadOntology( alignment.getFile2() ); if ( onto2 == null ) { throw new SAXException("Cannot find ontology"+alignment.getFile2()); - } else { - ontologies.put( onto2.getLogicalURI().toString(), onto2 ); } } alignment.setOntology2( onto2 ); @@ -239,8 +239,6 @@ public class AlignmentParser extends DefaultHandler { onto1 = loadOntology( alignment.getFile1() ); if ( onto1 == null ) { throw new SAXException("Cannot find ontology"+alignment.getFile1()); - } else { - ontologies.put( onto1.getLogicalURI().toString(), onto1 ); } } alignment.setOntology1( onto1 ); @@ -385,8 +383,11 @@ public class AlignmentParser extends DefaultHandler { }; parser.setOWLRDFErrorHandler( handler ); parser.setConnection( OWLManager.getOWLConnection() ); - try { return parser.parseOntology( ref ); } - catch ( Exception e ) { + try { + parsedOnt = parser.parseOntology( ref ); + ontologies.put( ref.toString(), parsedOnt ); + return parsedOnt; + } catch ( Exception e ) { throw new SAXException("[AlignmentParser] Error during parsing : "+ref); } }