|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectcorrespondenceComputations.ComputationUtility
public class ComputationUtility
Constructor Summary | |
---|---|
ComputationUtility()
|
Method Summary | |
---|---|
static boolean |
alreadyInAlignment(org.semanticweb.owl.model.OWLEntity entity,
OntologyAlignment ali)
Check if a correspondence is contained in the conventional alignment. |
static java.util.HashMap<org.semanticweb.owl.model.OWLClass,Term> |
deleteHeadnoun(java.util.Set<org.semanticweb.owl.model.OWLClass> oldClasses,
boolean[] delimiter)
Delete the headnoun of all class names. |
static java.util.Set<org.semanticweb.owl.model.OWLClass> |
getDataDomain(Reasoner reasonerDomain,
org.semanticweb.owl.model.OWLOntology ontology,
org.semanticweb.owl.model.OWLDataProperty property)
Get the domain of a datatype property using Pellet. |
static java.util.Set<java.lang.String> |
getDataRange(org.semanticweb.owl.model.OWLOntology ontology,
org.semanticweb.owl.model.OWLDataProperty property)
Get the range of a datatype property. |
static java.util.Set<org.semanticweb.owl.model.OWLDescription> |
getDisjointClasses(Reasoner reasonerDisjoint,
org.semanticweb.owl.model.OWLOntology ontology,
org.semanticweb.owl.model.OWLClass cls)
Get all disjoint classes of a given class. |
static java.util.Set<org.semanticweb.owl.model.OWLClass> |
getObjectDomain(Reasoner reasonerDomain,
org.semanticweb.owl.model.OWLOntology ontology,
org.semanticweb.owl.model.OWLObjectProperty property)
Get the domain of an object property using Pellet. |
static java.util.Set<org.semanticweb.owl.model.OWLClass> |
getObjectRange(Reasoner reasonerRange,
org.semanticweb.owl.model.OWLOntology ontology,
org.semanticweb.owl.model.OWLObjectProperty property)
Get the range of an obejct property using Pellet. |
static java.lang.String |
getReducedName(Term t,
int i)
Get the reduced name of a term, that means the string without the word at the i-th position. |
static double |
getSimilarValue(Term t1,
Term t2)
Get the similarity value of two terms. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ComputationUtility()
Method Detail |
---|
public static java.util.Set<org.semanticweb.owl.model.OWLClass> getObjectRange(Reasoner reasonerRange, org.semanticweb.owl.model.OWLOntology ontology, org.semanticweb.owl.model.OWLObjectProperty property) throws ComplexMappingException
reasonerRange
- ontology
- property
-
ComplexMappingException
public static java.util.Set<java.lang.String> getDataRange(org.semanticweb.owl.model.OWLOntology ontology, org.semanticweb.owl.model.OWLDataProperty property)
ontology
- property
-
public static java.util.Set<org.semanticweb.owl.model.OWLClass> getDataDomain(Reasoner reasonerDomain, org.semanticweb.owl.model.OWLOntology ontology, org.semanticweb.owl.model.OWLDataProperty property) throws ComplexMappingException
ontology
- property
-
ComplexMappingException
public static java.util.Set<org.semanticweb.owl.model.OWLClass> getObjectDomain(Reasoner reasonerDomain, org.semanticweb.owl.model.OWLOntology ontology, org.semanticweb.owl.model.OWLObjectProperty property) throws ComplexMappingException
ontology
- property
-
ComplexMappingException
public static java.util.Set<org.semanticweb.owl.model.OWLDescription> getDisjointClasses(Reasoner reasonerDisjoint, org.semanticweb.owl.model.OWLOntology ontology, org.semanticweb.owl.model.OWLClass cls) throws ComplexMappingException
reasonerDisjoint
- ontology
- cls
-
ComplexMappingException
public static java.util.HashMap<org.semanticweb.owl.model.OWLClass,Term> deleteHeadnoun(java.util.Set<org.semanticweb.owl.model.OWLClass> oldClasses, boolean[] delimiter) throws ComplexMappingException
oldClasses
- delimiter
-
ComplexMappingException
public static java.lang.String getReducedName(Term t, int i)
t
- i
-
public static double getSimilarValue(Term t1, Term t2) throws ComplexMappingException
t1
- t2
-
ComplexMappingException
public static boolean alreadyInAlignment(org.semanticweb.owl.model.OWLEntity entity, OntologyAlignment ali) throws ComplexMappingException
entity
- ali
-
ComplexMappingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |