Alignment API and Server 3.2

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

java.lang.Object
  extended by fr.inrialpes.exmo.align.impl.BasicAlignment
      extended by fr.inrialpes.exmo.align.impl.OWLAPIAlignment
          extended by fr.inrialpes.exmo.align.impl.DistanceAlignment
              extended by fr.inrialpes.exmo.align.impl.method.ClassStructAlignment
All Implemented Interfaces:
Cloneable, Alignment, AlignmentProcess

public class ClassStructAlignment
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: ClassStructAlignment.java 384 2007-02-02 11:09:40Z euzenat $
Author:
Jérôme Euzenat

Field Summary
 
Fields inherited from class fr.inrialpes.exmo.align.impl.OWLAPIAlignment
init
 
Fields inherited from class fr.inrialpes.exmo.align.impl.BasicAlignment
debug, extensions, hash1, hash2, level, namespaces, onto1, onto2, time, type
 
Constructor Summary
ClassStructAlignment()
          Creation
 
Method Summary
 void align(Alignment alignment, Parameters params)
          Processing
private  Set getProperties(org.semanticweb.owl.model.OWLClass cl, org.semanticweb.owl.model.OWLOntology o)
           
 void getProperties(org.semanticweb.owl.model.OWLClass cl, org.semanticweb.owl.model.OWLOntology o, Set list)
           
 void getProperties(org.semanticweb.owl.model.OWLDescription desc, org.semanticweb.owl.model.OWLOntology o, Set list)
           
 void getProperties(org.semanticweb.owl.model.OWLNaryBooleanDescription d, org.semanticweb.owl.model.OWLOntology o, Set list)
           
 void getProperties(org.semanticweb.owl.model.OWLRestriction rest, org.semanticweb.owl.model.OWLOntology o, Set list)
           
 
Methods inherited from class fr.inrialpes.exmo.align.impl.DistanceAlignment
addAlignDistanceCell, cleanUp, extract, extractqq, extractqqNaive, extractqs, getAlignedDistance1, getAlignedDistance2, getParameters, getSimilarity, printDistanceMatrix, setSimilarity
 
Methods inherited from class fr.inrialpes.exmo.align.impl.OWLAPIAlignment
addAlignCell, addAlignCell, addAlignCell, addAlignCell, clone, createCell, getAlignCell1, getAlignCell2, getAlignCells1, getAlignCells2, getOntology1URI, getOntology2URI, init, init, loadInit, loadInit, toOWLAPIAlignment, toURIAlignment
 
Methods inherited from class fr.inrialpes.exmo.align.impl.BasicAlignment
accept, addCell, compose, cut, cut, cut2, dump, getAlignedObject1, getAlignedObject2, getAlignedRelation1, getAlignedRelation2, getAlignedStrength1, getAlignedStrength2, getArrayElements, getElements, getExtension, getExtensions, getFile1, getFile2, getLevel, getOntology1, getOntology2, getOntologyObject1, getOntologyObject2, getType, getXNamespace, getXNamespaces, harden, ingest, inverse, join, meet, nbCells, removeAlignCell, render, setExtension, setFile1, setFile2, setLevel, setOntology1, setOntology2, setType, setXNamespace
 
Methods inherited from class java.lang.Object
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, getOntology1URI, getOntology2, getOntology2URI, getType, harden, init, init, inverse, join, meet, nbCells, render, setExtension, setFile1, setFile2, setLevel, setOntology1, setOntology2, setType
 

Constructor Detail

ClassStructAlignment

public ClassStructAlignment()
Creation

Method Detail

align

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

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

getProperties

public void getProperties(org.semanticweb.owl.model.OWLDescription desc,
                          org.semanticweb.owl.model.OWLOntology o,
                          Set list)

getProperties

public void getProperties(org.semanticweb.owl.model.OWLRestriction rest,
                          org.semanticweb.owl.model.OWLOntology o,
                          Set list)
                   throws org.semanticweb.owl.model.OWLException
Throws:
org.semanticweb.owl.model.OWLException

getProperties

public void getProperties(org.semanticweb.owl.model.OWLNaryBooleanDescription d,
                          org.semanticweb.owl.model.OWLOntology o,
                          Set list)
                   throws org.semanticweb.owl.model.OWLException
Throws:
org.semanticweb.owl.model.OWLException

getProperties

public void getProperties(org.semanticweb.owl.model.OWLClass cl,
                          org.semanticweb.owl.model.OWLOntology o,
                          Set list)
                   throws org.semanticweb.owl.model.OWLException
Throws:
org.semanticweb.owl.model.OWLException

getProperties

private Set getProperties(org.semanticweb.owl.model.OWLClass cl,
                          org.semanticweb.owl.model.OWLOntology o)
                   throws org.semanticweb.owl.model.OWLException
Throws:
org.semanticweb.owl.model.OWLException

Alignment API and Server 3.2

(C) INRIA & friends, 2003-2008