|
INRIA & UMontrŽal | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fr.inrialpes.exmo.align.impl.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.
Field Summary | |
protected java.util.Hashtable |
hash1
|
protected java.util.Hashtable |
hash2
|
protected OWLOntology |
onto1
|
protected OWLOntology |
onto2
|
protected java.lang.String |
type
|
Constructor Summary | |
BasicAlignment()
|
Method Summary | |
void |
addAlignCell(OWLEntity ob1,
OWLEntity ob2)
|
void |
addAlignCell(OWLEntity ob1,
OWLEntity ob2,
java.lang.String relation,
double measure)
Cell methods |
void |
cut(double threshold)
The cut function suppresses from an alignment all the cell over a particulat threshold |
void |
dump(org.xml.sax.ContentHandler h)
Housekeeping |
double |
getAlignedMeasure1(OWLEntity ob)
|
double |
getAlignedMeasure2(OWLEntity ob)
|
OWLEntity |
getAlignedObject1(OWLEntity ob)
Each part of the cell can be queried independently. |
OWLEntity |
getAlignedObject2(OWLEntity ob)
|
Relation |
getAlignedRelation1(OWLEntity ob)
|
Relation |
getAlignedRelation2(OWLEntity ob)
|
OWLOntology |
getOntology1()
Alignment methods |
OWLOntology |
getOntology2()
|
java.lang.String |
getType()
|
protected void |
init(OWLOntology onto1,
OWLOntology onto2)
|
void |
setOntology1(OWLOntology ontology)
|
void |
setOntology2(OWLOntology ontology)
|
void |
setType(java.lang.String type)
Alignment type: Currently defined a sa String. |
void |
write(java.io.PrintStream writer)
New version corresponding to the RDF/XML/OWL DTD |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String type
protected OWLOntology onto1
protected OWLOntology onto2
protected java.util.Hashtable hash1
protected java.util.Hashtable hash2
Constructor Detail |
public BasicAlignment()
Method Detail |
protected void init(OWLOntology onto1, OWLOntology onto2)
public OWLOntology getOntology1()
getOntology1
in interface Alignment
public OWLOntology getOntology2()
getOntology2
in interface Alignment
public void setOntology1(OWLOntology ontology)
setOntology1
in interface Alignment
public void setOntology2(OWLOntology ontology)
setOntology2
in interface Alignment
public void setType(java.lang.String type)
Alignment
setType
in interface Alignment
public java.lang.String getType()
getType
in interface Alignment
public void addAlignCell(OWLEntity ob1, OWLEntity ob2, java.lang.String relation, double measure) throws OWLException
addAlignCell
in interface Alignment
OWLException
public void addAlignCell(OWLEntity ob1, OWLEntity ob2) throws OWLException
addAlignCell
in interface Alignment
OWLException
public OWLEntity getAlignedObject1(OWLEntity ob) throws OWLException
Alignment
getAlignedObject1
in interface Alignment
OWLException
public OWLEntity getAlignedObject2(OWLEntity ob) throws OWLException
getAlignedObject2
in interface Alignment
OWLException
public Relation getAlignedRelation1(OWLEntity ob) throws OWLException
getAlignedRelation1
in interface Alignment
OWLException
public Relation getAlignedRelation2(OWLEntity ob) throws OWLException
getAlignedRelation2
in interface Alignment
OWLException
public double getAlignedMeasure1(OWLEntity ob) throws OWLException
getAlignedMeasure1
in interface Alignment
OWLException
public double getAlignedMeasure2(OWLEntity ob) throws OWLException
getAlignedMeasure2
in interface Alignment
OWLException
public void dump(org.xml.sax.ContentHandler h)
dump
in interface Alignment
public void cut(double threshold) throws OWLException
OWLException
public void write(java.io.PrintStream writer) throws java.io.IOException, OWLException
write
in interface Alignment
java.io.IOException
OWLException
|
INRIA & UMontrŽal | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |