fr.inrialpes.exmo.align.impl
Class ObjectAlignment
java.lang.Object
fr.inrialpes.exmo.align.impl.BasicAlignment
fr.inrialpes.exmo.align.impl.ObjectAlignment
- All Implemented Interfaces:
- Cloneable, Iterable<Cell>, Alignment, Visitable
- Direct Known Subclasses:
- DistanceAlignment
public class ObjectAlignment
- extends BasicAlignment
Represents an OWL ontology alignment. An ontology comprises a number of
collections. Each ontology has a number of classes, properties and
individuals, along with a number of axioms asserting information about those
objects.
- Version:
- $Id: ObjectAlignment.java 1551 2011-03-28 21:02:03Z euzenat $
- Author:
- Jérôme Euzenat
Methods inherited from class fr.inrialpes.exmo.align.impl.BasicAlignment |
accept, addAlignCell, addAlignCell, addAlignCell, addAlignCell, addCell, avgConfidence, cleanUp, clone, compose, convertExtension, cut, cut, cut2, diff, dump, getAlignCell1, getAlignCell2, getAlignCells1, getAlignCells2, getAlignedObject1, getAlignedObject2, getAlignedRelation1, getAlignedRelation2, getAlignedStrength1, getAlignedStrength2, getArrayElements, getElements, getExtension, getExtensions, getFile1, getFile2, getLevel, getOntology1, getOntology2, getOntologyObject1, getOntologyObject2, getParameters, getType, getXNamespace, getXNamespaces, harden, ingest, init, inverse, iterator, join, maxConfidence, meet, minConfidence, nbCells, remCell, removeAlignCell, render, setExtension, setExtensions, setFile1, setFile2, setLevel, setOntology1, setOntology2, setType, setXNamespace, varianceConfidence |
init
protected ObjectAlignment init
ObjectAlignment
public ObjectAlignment()
init
public void init(Object onto1,
Object onto2)
throws AlignmentException
- Description copied from interface:
Alignment
- Initialize the alignement before using it
- Specified by:
init
in interface Alignment
- Overrides:
init
in class BasicAlignment
- Throws:
AlignmentException
ontology1
public LoadedOntology<Object> ontology1()
ontology2
public LoadedOntology<Object> ontology2()
loadInit
public void loadInit(Alignment al)
throws AlignmentException
- Throws:
AlignmentException
getOntology1URI
public URI getOntology1URI()
- Specified by:
getOntology1URI
in interface Alignment
- Overrides:
getOntology1URI
in class BasicAlignment
getOntology2URI
public URI getOntology2URI()
- Specified by:
getOntology2URI
in interface Alignment
- Overrides:
getOntology2URI
in class BasicAlignment
createCell
public Cell createCell(String id,
Object ob1,
Object ob2,
Relation relation,
double measure)
throws AlignmentException
- Overrides:
createCell
in class BasicAlignment
- Throws:
AlignmentException
createNewAlignment
public ObjectAlignment createNewAlignment(Object onto1,
Object onto2)
throws AlignmentException
- Generate a copy of this alignment object
- Overrides:
createNewAlignment
in class BasicAlignment
- Throws:
AlignmentException
toURIAlignment
public URIAlignment toURIAlignment()
throws AlignmentException
- This is a clone with the URI instead of Object objects
- Overrides:
toURIAlignment
in class BasicAlignment
- Throws:
AlignmentException
toURIAlignment
public URIAlignment toURIAlignment(boolean strict)
throws AlignmentException
- Throws:
AlignmentException
toObjectAlignment
public static ObjectAlignment toObjectAlignment(URIAlignment al)
throws AlignmentException,
SAXException
- Throws:
AlignmentException
SAXException
loadOntology
static LoadedOntology loadOntology(URI ref)
throws AlignmentException
- Throws:
AlignmentException
(C) INRIA & friends, 2003-${curryear}