public class DisjointClassesLearner extends AbstractAxiomLearningAlgorithm<org.semanticweb.owlapi.model.OWLDisjointClassesAxiom,org.semanticweb.owlapi.model.OWLIndividual,org.semanticweb.owlapi.model.OWLClass> implements ClassExpressionLearningAlgorithm
Constructor and Description |
---|
DisjointClassesLearner(SparqlEndpointKS ks) |
Modifier and Type | Method and Description |
---|---|
static Set<org.semanticweb.owlapi.model.OWLClass> |
asOWLClasses(Set<org.semanticweb.owlapi.model.OWLClassExpression> descriptions) |
EvaluatedAxiom<org.semanticweb.owlapi.model.OWLDisjointClassesAxiom> |
computeDisjointess(org.semanticweb.owlapi.model.OWLClass clsA,
org.semanticweb.owlapi.model.OWLClass clsB) |
Set<EvaluatedAxiom<org.semanticweb.owlapi.model.OWLDisjointClassesAxiom>> |
computeDisjointness(Set<org.semanticweb.owlapi.model.OWLClass> classes) |
Set<EvaluatedAxiom<org.semanticweb.owlapi.model.OWLDisjointClassesAxiom>> |
computeSchemaDisjointness() |
List<org.semanticweb.owlapi.model.OWLClassExpression> |
getCurrentlyBestDescriptions(int nrOfDescriptions) |
List<? extends EvaluatedDescription<? extends Score>> |
getCurrentlyBestEvaluatedDescriptions(int nrOfDescriptions)
Return the best currently found concepts up to some maximum
count (no minimality filter used).
|
boolean |
isSuggestMostGeneralClasses() |
boolean |
isUseClassPopularity() |
boolean |
isUseWordNetDistance() |
static void |
main(String[] args) |
void |
setEntityToDescribe(org.semanticweb.owlapi.model.OWLClass entityToDescribe) |
void |
setSuggestMostGeneralClasses(boolean suggestMostGeneralClasses) |
void |
setUseClassPopularity(boolean useClassPopularity) |
void |
setUseWordNetDistance(boolean useWordNetDistance) |
addFilterNamespace, explainScore, getAxiomType, getBestEvaluatedAxiom, getCurrentlyBestAxioms, getCurrentlyBestAxioms, getCurrentlyBestAxioms, getCurrentlyBestAxioms, getCurrentlyBestEvaluatedAxiom, getCurrentlyBestEvaluatedAxioms, getCurrentlyBestEvaluatedAxioms, getCurrentlyBestEvaluatedAxioms, getCurrentlyBestEvaluatedAxioms, getEntityToDescribe, getEvaluatedFramentSize, getLearningProblem, getMaxExecutionTimeInSeconds, getMaxFetchedRows, getNegativeExamples, getPositiveExamples, getReasoner, init, isReturnOnlyNewAxioms, isTimeout, isUseSampling, printSubset, setForceSPARQL_1_0_Mode, setKs, setLearningProblem, setMaxExecutionTimeInSeconds, setMaxFetchedRows, setProgressMonitor, setQueryExecutionFactory, setReasoner, setReturnOnlyNewAxioms, setUseSampling, start, wasTimeout
isInitialized
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLearningProblem, setLearningProblem, start
public DisjointClassesLearner(SparqlEndpointKS ks)
public void setEntityToDescribe(org.semanticweb.owlapi.model.OWLClass entityToDescribe)
setEntityToDescribe
in class AbstractAxiomLearningAlgorithm<org.semanticweb.owlapi.model.OWLDisjointClassesAxiom,org.semanticweb.owlapi.model.OWLIndividual,org.semanticweb.owlapi.model.OWLClass>
entityToDescribe
- the entity for which axioms will be computedpublic boolean isUseWordNetDistance()
public void setUseWordNetDistance(boolean useWordNetDistance)
public boolean isSuggestMostGeneralClasses()
public void setSuggestMostGeneralClasses(boolean suggestMostGeneralClasses)
public boolean isUseClassPopularity()
public void setUseClassPopularity(boolean useClassPopularity)
public List<org.semanticweb.owlapi.model.OWLClassExpression> getCurrentlyBestDescriptions(int nrOfDescriptions)
getCurrentlyBestDescriptions
in interface ClassExpressionLearningAlgorithm
nrOfDescriptions
- Limit for the number or returned descriptions.ClassExpressionLearningAlgorithm.getCurrentlyBestEvaluatedDescriptions(int)
public List<? extends EvaluatedDescription<? extends Score>> getCurrentlyBestEvaluatedDescriptions(int nrOfDescriptions)
ClassExpressionLearningAlgorithm
getCurrentlyBestEvaluatedDescriptions
in interface ClassExpressionLearningAlgorithm
nrOfDescriptions
- Maximum number of descriptions returned.public EvaluatedAxiom<org.semanticweb.owlapi.model.OWLDisjointClassesAxiom> computeDisjointess(org.semanticweb.owlapi.model.OWLClass clsA, org.semanticweb.owlapi.model.OWLClass clsB)
public Set<EvaluatedAxiom<org.semanticweb.owlapi.model.OWLDisjointClassesAxiom>> computeSchemaDisjointness()
public Set<EvaluatedAxiom<org.semanticweb.owlapi.model.OWLDisjointClassesAxiom>> computeDisjointness(Set<org.semanticweb.owlapi.model.OWLClass> classes)
public static Set<org.semanticweb.owlapi.model.OWLClass> asOWLClasses(Set<org.semanticweb.owlapi.model.OWLClassExpression> descriptions)
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann