|
Alignment API and Server 3.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.inrialpes.exmo.align.impl.BasicAlignment
fr.inrialpes.exmo.align.impl.OWLAPIAlignment
public class OWLAPIAlignment
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.
Field Summary | |
---|---|
protected OWLAPIAlignment |
init
|
Fields inherited from class fr.inrialpes.exmo.align.impl.BasicAlignment |
---|
debug, extensions, hash1, hash2, level, namespaces, onto1, onto2, time, type |
Constructor Summary | |
---|---|
OWLAPIAlignment()
|
Method Summary | |
---|---|
Cell |
addAlignCell(Object ob1,
Object ob2)
|
Cell |
addAlignCell(Object ob1,
Object ob2,
String relation,
double measure)
Cells are created and indexed at once |
Cell |
addAlignCell(String id,
Object ob1,
Object ob2,
Relation relation,
double measure)
|
Cell |
addAlignCell(String id,
Object ob1,
Object ob2,
Relation relation,
double measure,
Parameters extensions)
Cell methods |
Object |
clone()
Generate a copy of this alignment object |
Cell |
createCell(String id,
Object ob1,
Object ob2,
Relation relation,
double measure)
|
Cell |
getAlignCell1(Object ob)
Cells are retrieved These primitives are deprecated. |
Cell |
getAlignCell2(Object ob)
|
Set |
getAlignCells1(Object ob)
Cells are retrieved These primitives are deprecated. |
Set |
getAlignCells2(Object ob)
|
private static org.semanticweb.owl.model.OWLEntity |
getEntity(org.semanticweb.owl.model.OWLOntology ontology,
URI uri)
|
URI |
getOntology1URI()
|
URI |
getOntology2URI()
|
void |
init(Object onto1,
Object onto2)
Initialize the alignement before using it |
void |
init(Object o1,
Object o2,
Object ontologies)
Initialize the alignement before using it, with some ontology caching trick |
void |
loadInit(Alignment al)
|
void |
loadInit(Alignment al,
OntologyCache ontologies)
|
private static org.semanticweb.owl.model.OWLOntology |
loadOntology(URI ref,
OntologyCache ontologies)
Can be used for loading the ontology if it is not available |
static OWLAPIAlignment |
toOWLAPIAlignment(URIAlignment al,
OntologyCache ontologies)
|
URIAlignment |
toURIAlignment()
This is a clone with the URI instead of OWLAPI objects |
Methods inherited from class fr.inrialpes.exmo.align.impl.BasicAlignment |
---|
accept, addCell, cleanUp, compose, cut, cut, cut2, dump, getAlignedObject1, getAlignedObject2, getAlignedRelation1, getAlignedRelation2, getAlignedStrength1, getAlignedStrength2, getArrayElements, getElements, getExtension, getExtensions, getFile1, getFile2, getLevel, getOntology1, getOntology2, getOntologyObject1, getOntologyObject2, getParameters, 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 |
Field Detail |
---|
protected OWLAPIAlignment init
Constructor Detail |
---|
public OWLAPIAlignment()
Method Detail |
---|
public void init(Object onto1, Object onto2) throws AlignmentException
Alignment
init
in interface Alignment
init
in class BasicAlignment
AlignmentException
public void init(Object o1, Object o2, Object ontologies) throws AlignmentException
Alignment
init
in interface Alignment
init
in class BasicAlignment
AlignmentException
public void loadInit(Alignment al) throws AlignmentException
AlignmentException
public void loadInit(Alignment al, OntologyCache ontologies) throws AlignmentException
AlignmentException
public URI getOntology1URI()
getOntology1URI
in interface Alignment
getOntology1URI
in class BasicAlignment
public URI getOntology2URI()
getOntology2URI
in interface Alignment
getOntology2URI
in class BasicAlignment
public Cell addAlignCell(String id, Object ob1, Object ob2, Relation relation, double measure, Parameters extensions) throws AlignmentException
addAlignCell
in class BasicAlignment
AlignmentException
public Cell addAlignCell(String id, Object ob1, Object ob2, Relation relation, double measure) throws AlignmentException
addAlignCell
in class BasicAlignment
AlignmentException
public Cell addAlignCell(Object ob1, Object ob2, String relation, double measure) throws AlignmentException
Alignment
addAlignCell
in interface Alignment
addAlignCell
in class BasicAlignment
AlignmentException
public Cell addAlignCell(Object ob1, Object ob2) throws AlignmentException
addAlignCell
in interface Alignment
addAlignCell
in class BasicAlignment
AlignmentException
public Cell createCell(String id, Object ob1, Object ob2, Relation relation, double measure) throws AlignmentException
createCell
in class BasicAlignment
AlignmentException
public Set getAlignCells1(Object ob) throws AlignmentException
Alignment
getAlignCells1
in interface Alignment
getAlignCells1
in class BasicAlignment
AlignmentException
public Set getAlignCells2(Object ob) throws AlignmentException
getAlignCells2
in interface Alignment
getAlignCells2
in class BasicAlignment
AlignmentException
public Cell getAlignCell1(Object ob) throws AlignmentException
Alignment
getAlignCell1
in interface Alignment
getAlignCell1
in class BasicAlignment
AlignmentException
public Cell getAlignCell2(Object ob) throws AlignmentException
getAlignCell2
in interface Alignment
getAlignCell2
in class BasicAlignment
AlignmentException
public Object clone()
clone
in class BasicAlignment
public URIAlignment toURIAlignment() throws AlignmentException
toURIAlignment
in class BasicAlignment
AlignmentException
public static OWLAPIAlignment toOWLAPIAlignment(URIAlignment al, OntologyCache ontologies) throws AlignmentException, SAXException, org.semanticweb.owl.model.OWLException
AlignmentException
SAXException
org.semanticweb.owl.model.OWLException
private static org.semanticweb.owl.model.OWLEntity getEntity(org.semanticweb.owl.model.OWLOntology ontology, URI uri) throws org.semanticweb.owl.model.OWLException, SAXException
org.semanticweb.owl.model.OWLException
SAXException
private static org.semanticweb.owl.model.OWLOntology loadOntology(URI ref, OntologyCache ontologies) throws SAXException, org.semanticweb.owl.model.OWLException
SAXException
org.semanticweb.owl.model.OWLException
|
Alignment API and Server 3.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |