Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 95436188 authored by Jérôme Euzenat's avatar Jérôme Euzenat
Browse files

- removed traces

parent 009a38d2
No related branches found
No related tags found
No related merge requests found
......@@ -341,18 +341,13 @@ public class BasicOntologyNetwork implements OntologyNetwork, Extensible {
for ( OntologyTriple ot2 : ontologies.values() ) {
if ( ot1 != ot2 ) {
// Now that it is normalised (but it is not)...
System.err.println( " >> "+ot1+"("+ot1.onto.getURI()+") + "+ot2+"("+ot2.onto.getURI()+")" );
Alignment al1 = onto2Align.get( ot1.onto.getURI() ).get( ot2.onto.getURI() ).iterator().next();
for ( OntologyTriple ot3 : ontologies.values() ) {
if ( ( ot1 != ot3 ) && ( ot3 != ot2 ) ) {
System.err.println( " "+ot3+"("+ot3.onto.getURI()+")" );
Alignment al2 = onto2Align.get( ot2.onto.getURI() ).get( ot3.onto.getURI() ).iterator().next();
System.err.println( " "+al2 );
BasicAlignment al3 = (BasicAlignment)onto2Align.get( ot1.onto.getURI() ).get( ot3.onto.getURI() ).iterator().next();
System.err.println( " "+al3 );
// Replaces al3 by al3 & ( al1 o al2 )
Alignment result = al1.compose( al2 );
System.err.println( " = "+result );
// result is a new alignment...
// Check that result is entailed by al3 (semantic question)
if ( !al3.contains( result ) ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment