public class ObjectAlignment extends BasicAlignment
Modifier and Type | Field and Description |
---|---|
protected ObjectAlignment |
init |
(package private) static org.slf4j.Logger |
logger |
confidenceType, extensions, hash1, hash2, level, namespaces, onto1, onto2, relationCreationMethod, relationType, time, type
Constructor and Description |
---|
ObjectAlignment() |
ObjectAlignment(ObjectAlignment al) |
ObjectAlignment(URIAlignment al) |
Modifier and Type | Method and Description |
---|---|
ObjectCell |
createCell(java.lang.String id,
java.lang.Object ob1,
java.lang.Object ob2,
Relation relation,
double measure) |
ObjectAlignment |
createNewAlignment(java.lang.Object onto1,
java.lang.Object onto2,
java.lang.Class<? extends Relation> relType,
java.lang.Class<?> confType)
Generate a copy of this alignment object
|
java.net.URI |
getOntology1URI() |
java.net.URI |
getOntology2URI() |
LoadedOntology<java.lang.Object> |
getOntologyObject1() |
LoadedOntology<java.lang.Object> |
getOntologyObject2() |
void |
init(java.lang.Object onto1,
java.lang.Object onto2)
Initialize the alignement before using it
|
ObjectAlignment |
inverse()
A new alignment is created such that for
any pair (o, o', n, r) in O the resulting alignment will contain:
( o', o, n, inverse(r)) iff compose(r) exists.
|
void |
loadInit(Alignment al) |
(package private) static LoadedOntology<?> |
loadOntology(java.net.URI ref) |
LoadedOntology<java.lang.Object> |
ontology1() |
LoadedOntology<java.lang.Object> |
ontology2() |
static ObjectAlignment |
toObjectAlignment(URIAlignment al) |
URIAlignment |
toURIAlignment()
This is a clone with the URI instead of Object objects
|
URIAlignment |
toURIAlignment(boolean strict) |
accept, addAlignCell, addAlignCell, addAlignCell, addAlignCell, addAlignCell, addCell, aggregate, avgConfidence, cleanUp, clone, compose, contains, createRelation, cut, cut, cut2, deleteAllCells, diff, dump, equals, getAlignCell1, getAlignCell2, getAlignCells, getAlignCells1, getAlignCells2, getAlignedObject1, getAlignedObject2, getAlignedRelation1, getAlignedRelation2, getAlignedStrength1, getAlignedStrength2, getArrayElements, getConfidenceType, getElements, getExtension, getExtensions, getExtensionsObject, getFile1, getFile2, getLevel, getOntology1, getOntology2, getParameters, getRelationType, getSortedIterator, getType, getXNamespace, getXNamespaces, harden, hashCode, ingest, init, init, invertContent, invertType, iterator, join, maxConfidence, meet, minConfidence, nbCells, normalise, remCell, removeAlignCell, render, rewriteQuery, rewriteQuery, rewriteSPARQLQuery, rewriteSPARQLQuery, setConfidenceType, setExtension, setExtensions, setFile1, setFile2, setLevel, setOntology1, setOntology2, setRelationType, setType, setXNamespace, translateMessage, varianceConfidence
static final org.slf4j.Logger logger
protected ObjectAlignment init
public ObjectAlignment()
public ObjectAlignment(URIAlignment al) throws AlignmentException
AlignmentException
public ObjectAlignment(ObjectAlignment al) throws AlignmentException
AlignmentException
public void init(java.lang.Object onto1, java.lang.Object onto2) throws AlignmentException
Alignment
init
in interface Alignment
init
in class BasicAlignment
onto1
- andAlignmentException
- if cannot initializepublic LoadedOntology<java.lang.Object> ontology1()
public LoadedOntology<java.lang.Object> ontology2()
public LoadedOntology<java.lang.Object> getOntologyObject1()
getOntologyObject1
in class BasicAlignment
public LoadedOntology<java.lang.Object> getOntologyObject2()
getOntologyObject2
in class BasicAlignment
public void loadInit(Alignment al) throws AlignmentException
AlignmentException
public java.net.URI getOntology1URI()
getOntology1URI
in interface Alignment
getOntology1URI
in class BasicAlignment
public java.net.URI getOntology2URI()
getOntology2URI
in interface Alignment
getOntology2URI
in class BasicAlignment
public ObjectCell createCell(java.lang.String id, java.lang.Object ob1, java.lang.Object ob2, Relation relation, double measure) throws AlignmentException
createCell
in class BasicAlignment
AlignmentException
public ObjectAlignment createNewAlignment(java.lang.Object onto1, java.lang.Object onto2, java.lang.Class<? extends Relation> relType, java.lang.Class<?> confType) throws AlignmentException
createNewAlignment
in class BasicAlignment
onto1
- andAlignmentException
- when something goes wrongpublic ObjectAlignment inverse() throws AlignmentException
BasicAlignment
inverse
in interface Alignment
inverse
in class BasicAlignment
AlignmentException
- when something goes wrong (unlikely)public URIAlignment toURIAlignment() throws AlignmentException
toURIAlignment
in class BasicAlignment
AlignmentException
- when something goes wrong (the alignment cannot be converted)public URIAlignment toURIAlignment(boolean strict) throws AlignmentException
AlignmentException
public static ObjectAlignment toObjectAlignment(URIAlignment al) throws AlignmentException
AlignmentException
static LoadedOntology<?> loadOntology(java.net.URI ref) throws AlignmentException
AlignmentException
(C) INRIA & friends, 2003-2020