|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.put.semintec.mining.association.Bias
public class Bias
Represents a declarative bias.
Field Summary | |
---|---|
static java.util.ArrayList |
predicates
The list of predicates from which patterns are to be generated. |
Constructor Summary | |
---|---|
Bias()
|
Method Summary | |
---|---|
jdsl.core.api.Tree |
buildTaxonomyRootedAtClass(org.semanticweb.kaon2.api.owl.elements.OWLClass topClass,
java.util.ArrayList predicates,
KnowledgeBase kb,
jdsl.core.api.Tree taxonomy)
Creates a taxonomy of classes, from the list of predicates specified as input, that are rooted at the specified class according to classified knowledge base |
void |
computeClassTaxonomy(KnowledgeBase kb)
Computes taxonomy of class predicates given in declarative bias, wrt the classified KB A root of class taxonomy is owl:thing |
void |
computePropertyTaxonomy(KnowledgeBase kb)
Computes taxonomy of property predicates given in declarative bias A root of property taxonomy is a fake property simulating top property |
java.util.ArrayList |
determineTopKBClassesInList(java.util.ArrayList predicates,
KnowledgeBase kb)
Retrieves classes that are top classes in given KB from the list of predicates specified as input. |
jdsl.core.api.Tree |
getClassTaxonomy()
Getter of the property classTaxonomy |
static java.util.ArrayList |
getPredicates()
Getter of the property predicates |
jdsl.core.api.Tree |
getPropertyTaxonomy()
Getter of the property propertyTaxonomy |
boolean |
isSuperPropertyTransitively(org.semanticweb.kaon2.api.owl.elements.ObjectProperty opSup,
org.semanticweb.kaon2.api.owl.elements.ObjectProperty opSub,
KnowledgeBase kb)
|
java.util.ArrayList |
selectTopClassesFromList(java.util.ArrayList predicates,
KnowledgeBase kb)
Retrieves all classes from the list of predicates, specified as input, that have no class subsuming it present at the list of predicates |
java.util.ArrayList |
selectTopPropertiesFromList(java.util.ArrayList predicates,
KnowledgeBase kb)
Retrieves all properties from the list of predicates, specified as input, that have no super property (transitively) present at the list of predicates |
void |
setClassTaxonomy(jdsl.core.api.Tree classTaxonomy)
Setter of the property classTaxonomy |
void |
setPredicates(java.util.ArrayList predicates)
Setter of the property predicates |
void |
setPropertyTaxonomy(jdsl.core.api.Tree propertyTaxonomy)
Setter of the property propertyTaxonomy |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.util.ArrayList predicates
Constructor Detail |
---|
public Bias()
Method Detail |
---|
public static java.util.ArrayList getPredicates()
public void setPredicates(java.util.ArrayList predicates)
predicates
- The predicates to set.public jdsl.core.api.Tree getClassTaxonomy()
public void setClassTaxonomy(jdsl.core.api.Tree classTaxonomy)
classTaxonomy
- The classTaxonomy to set.public jdsl.core.api.Tree getPropertyTaxonomy()
public void setPropertyTaxonomy(jdsl.core.api.Tree propertyTaxonomy)
propertyTaxonomy
- The propertyTaxonomy to set.public void computeClassTaxonomy(KnowledgeBase kb)
kb
- Knowledge basepublic void computePropertyTaxonomy(KnowledgeBase kb)
kb
- Knowledge basepublic jdsl.core.api.Tree buildTaxonomyRootedAtClass(org.semanticweb.kaon2.api.owl.elements.OWLClass topClass, java.util.ArrayList predicates, KnowledgeBase kb, jdsl.core.api.Tree taxonomy)
topClass
- Top class to be root of the taxonomypredicates
- List of predicates, from which classes are to be selectedkb
- Knowledge base
public java.util.ArrayList selectTopClassesFromList(java.util.ArrayList predicates, KnowledgeBase kb)
predicates
- List of predicates, from which only classes without any subsumer are to be selectedkb
- Knowledge base
public java.util.ArrayList selectTopPropertiesFromList(java.util.ArrayList predicates, KnowledgeBase kb)
predicates
- List of predicates, from which only properties without any super property are to be selectedkb
- Knowledge base
public boolean isSuperPropertyTransitively(org.semanticweb.kaon2.api.owl.elements.ObjectProperty opSup, org.semanticweb.kaon2.api.owl.elements.ObjectProperty opSub, KnowledgeBase kb)
opSup
- Object property to check for being super-property of opSub,
by a chain of subObjectPropertyOf axiomsopSub
- Object property to check for being sub-property of opSup,
by a chain of subObjectPropertyOf axiomskb
- Knowledge base
public java.util.ArrayList determineTopKBClassesInList(java.util.ArrayList predicates, KnowledgeBase kb)
predicates
- List of predicates, from which only top classes are to be selectedkb
- Knowledge base
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |