public abstract class DataPropertyHierarchyAxiomLearner<T extends org.semanticweb.owlapi.model.OWLDataPropertyAxiom> extends DataPropertyAxiomLearner<T>
Constructor and Description |
---|
DataPropertyHierarchyAxiomLearner(SparqlEndpointKS ks) |
Modifier and Type | Method and Description |
---|---|
abstract T |
getAxiom(org.semanticweb.owlapi.model.OWLDataProperty property,
org.semanticweb.owlapi.model.OWLDataProperty otherProperty)
Returns the hierarchy axiom based on the axiom type of the current learning algorithm between both
properties.
|
double |
getBeta() |
boolean |
isBatchMode() |
boolean |
isStrictMode() |
void |
setBatchMode(boolean batchMode)
If
true , batch mode is used and only a single query will be used to compute the result. |
void |
setBeta(double beta) |
void |
setEntityToDescribe(org.semanticweb.owlapi.model.OWLDataProperty entityToDescribe) |
void |
setStrictMode(boolean strictMode) |
setPropertyToDescribe, setStrictOWLMode, setUsePrecisionOnly
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
public DataPropertyHierarchyAxiomLearner(SparqlEndpointKS ks)
public void setEntityToDescribe(org.semanticweb.owlapi.model.OWLDataProperty entityToDescribe)
setEntityToDescribe
in class PropertyAxiomLearner<org.semanticweb.owlapi.model.OWLDataProperty,T extends org.semanticweb.owlapi.model.OWLDataPropertyAxiom,org.semanticweb.owlapi.model.OWLDataPropertyAssertionAxiom>
entityToDescribe
- the entity for which axioms will be computedpublic abstract T getAxiom(org.semanticweb.owlapi.model.OWLDataProperty property, org.semanticweb.owlapi.model.OWLDataProperty otherProperty)
property
- the first propertyotherProperty
- the second propertypublic void setBeta(double beta)
beta
- the beta to setpublic double getBeta()
public void setStrictMode(boolean strictMode)
strictMode
- the strictMode to setpublic boolean isStrictMode()
public void setBatchMode(boolean batchMode)
true
, batch mode is used and only a single query will be used to compute the result. Otherwise,
iteration over all properties in the ontology is done, i.e. at lots of queries - but simpler ones - will
be executed.batchMode
- public boolean isBatchMode()
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann