INRIA & friends

fr.inrialpes.exmo.align.impl.method
Class NameAndPropertyAlignment

java.lang.Object
  extended byfr.inrialpes.exmo.align.impl.BasicAlignment
      extended byfr.inrialpes.exmo.align.impl.DistanceAlignment
          extended byfr.inrialpes.exmo.align.impl.method.NameAndPropertyAlignment
All Implemented Interfaces:
Alignment, AlignmentProcess

public class NameAndPropertyAlignment
extends DistanceAlignment
implements AlignmentProcess

This class has been built for ISWC experiments with bibliography. It implements a non iterative (one step) OLA algorithms based on the name of classes and properties. It could be made iterative by just adding range/domain on properties... The parameters are: - threshold: above what do we select for the alignment; - epsillon [ignored]: for convergence - pic1: weigth for class name - pic2: weight for class attributes - pia1 [ignored=1]: weigth for property name - pia3 [ignored=0]: weigth for property domain - pia4 [ignored=0]: weigth for property range

Version:
$Id: NameAndPropertyAlignment.java 149 2005-06-17 08:25:34Z euzenat $
Author:
Jérôme Euzenat / Jerome Pierson

Field Summary
 
Fields inherited from class fr.inrialpes.exmo.align.impl.DistanceAlignment
 
Fields inherited from class fr.inrialpes.exmo.align.impl.BasicAlignment
debug, extensions, hash1, hash2, level, onto1, onto2, time, type, uri1, uri2
 
Constructor Summary
NameAndPropertyAlignment(OWLOntology onto1, OWLOntology onto2)
          Creation
 
Method Summary
 void align(Alignment alignment, Parameters params)
          Processing
private  double alignLocal(java.util.Set prop1, java.util.Set prop2)
           
private  java.util.Set getProperties(OWLClass cl, OWLOntology o)
           
 void getProperties(OWLDescription desc, OWLOntology o, java.util.Set list)
           
private  double max(double i, double j)
           
 
Methods inherited from class fr.inrialpes.exmo.align.impl.DistanceAlignment
addAlignDistanceCell, extract, extractqq, extractqqNaive, extractqs, getAlignedDistance1, getAlignedDistance2, getSimilarity, printDistanceMatrix, setSimilarity
 
Methods inherited from class fr.inrialpes.exmo.align.impl.BasicAlignment
accept, addAlignCell, addAlignCell, addCell, compose, cut, cut, cut2, dump, getAlignCell1, getAlignCell2, getAlignCells1, getAlignCells2, getAlignedObject1, getAlignedObject2, getAlignedRelation1, getAlignedRelation2, getAlignedStrength1, getAlignedStrength2, getArrayElements, getElements, getExtension, getExtensions, getFile1, getFile2, getLevel, getOntology1, getOntology2, getType, harden, ingest, init, inverse, join, meet, nbCells, removeAlignCell, render, setExtension, setFile1, setFile2, setLevel, setOntology1, setOntology2, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.semanticweb.owl.align.Alignment
accept, addAlignCell, addAlignCell, compose, cut, cut, dump, getAlignCell1, getAlignCell2, getAlignCells1, getAlignCells2, getAlignedObject1, getAlignedObject2, getAlignedRelation1, getAlignedRelation2, getAlignedStrength1, getAlignedStrength2, getElements, getExtension, getExtensions, getFile1, getFile2, getLevel, getOntology1, getOntology2, getType, harden, inverse, join, meet, nbCells, render, setExtension, setFile1, setFile2, setLevel, setOntology1, setOntology2, setType
 

Constructor Detail

NameAndPropertyAlignment

public NameAndPropertyAlignment(OWLOntology onto1,
                                OWLOntology onto2)
Creation

Method Detail

max

private double max(double i,
                   double j)

align

public void align(Alignment alignment,
                  Parameters params)
           throws AlignmentException,
                  OWLException
Processing

Specified by:
align in interface AlignmentProcess
Overrides:
align in class DistanceAlignment
Throws:
AlignmentException
OWLException

getProperties

public void getProperties(OWLDescription desc,
                          OWLOntology o,
                          java.util.Set list)

getProperties

private java.util.Set getProperties(OWLClass cl,
                                    OWLOntology o)
                             throws OWLException
Throws:
OWLException

alignLocal

private double alignLocal(java.util.Set prop1,
                          java.util.Set prop2)
                   throws OWLException
Throws:
OWLException

INRIA & friends

..no bottom yet...