public class MultiPropertyAxiomLearner extends Object
Constructor and Description |
---|
MultiPropertyAxiomLearner(org.aksw.jena_sparql_api.core.QueryExecutionFactory qef) |
MultiPropertyAxiomLearner(SparqlEndpointKS ks) |
Modifier and Type | Method and Description |
---|---|
AbstractAxiomLearningAlgorithm |
getAlgorithm(org.semanticweb.owlapi.model.AxiomType<? extends org.semanticweb.owlapi.model.OWLAxiom> axiomType) |
Map<org.semanticweb.owlapi.model.AxiomType<? extends org.semanticweb.owlapi.model.OWLAxiom>,List<EvaluatedAxiom<org.semanticweb.owlapi.model.OWLAxiom>>> |
getCurrentlyBestEvaluatedAxioms() |
List<EvaluatedAxiom<org.semanticweb.owlapi.model.OWLAxiom>> |
getCurrentlyBestEvaluatedAxioms(org.semanticweb.owlapi.model.AxiomType<? extends org.semanticweb.owlapi.model.OWLAxiom> axiomType) |
List<EvaluatedAxiom<org.semanticweb.owlapi.model.OWLAxiom>> |
getCurrentlyBestEvaluatedAxioms(org.semanticweb.owlapi.model.AxiomType<? extends org.semanticweb.owlapi.model.OWLAxiom> axiomType,
double accuracyThreshold) |
Set<org.semanticweb.owlapi.model.OWLObject> |
getNegatives(org.semanticweb.owlapi.model.AxiomType<? extends org.semanticweb.owlapi.model.OWLAxiom> axiomType,
EvaluatedAxiom<org.semanticweb.owlapi.model.OWLAxiom> axiom) |
Set<org.semanticweb.owlapi.model.OWLObject> |
getPositives(org.semanticweb.owlapi.model.AxiomType<? extends org.semanticweb.owlapi.model.OWLAxiom> axiomType,
EvaluatedAxiom<org.semanticweb.owlapi.model.OWLAxiom> axiom) |
static void |
main(String[] args) |
void |
setAxiomTypes(Set<org.semanticweb.owlapi.model.AxiomType<? extends org.semanticweb.owlapi.model.OWLAxiom>> axiomTypes)
Set the axiom types that will be processed.
|
void |
setEntityToDescribe(org.semanticweb.owlapi.model.OWLEntity entity) |
void |
setMaxExecutionTime(long executionTimeDuration,
TimeUnit executionTimeUnit)
Set the maximum execution time.
|
void |
setMaxNrOfThreads(int maxNrOfThreads) |
void |
setMaxSampleGenerationTime(long sampleGenerationTimeDuration,
TimeUnit sampleGenerationTimeUnit)
Set the maximum time to generate a sample.
|
void |
setMultiThreaded(boolean multiThreaded) |
void |
setProgressMonitor(AxiomLearningProgressMonitor progressMonitor) |
void |
setUseSampling(boolean useSampling) |
void |
start() |
public MultiPropertyAxiomLearner(SparqlEndpointKS ks)
public MultiPropertyAxiomLearner(org.aksw.jena_sparql_api.core.QueryExecutionFactory qef)
public void start()
public Map<org.semanticweb.owlapi.model.AxiomType<? extends org.semanticweb.owlapi.model.OWLAxiom>,List<EvaluatedAxiom<org.semanticweb.owlapi.model.OWLAxiom>>> getCurrentlyBestEvaluatedAxioms()
public List<EvaluatedAxiom<org.semanticweb.owlapi.model.OWLAxiom>> getCurrentlyBestEvaluatedAxioms(org.semanticweb.owlapi.model.AxiomType<? extends org.semanticweb.owlapi.model.OWLAxiom> axiomType)
public List<EvaluatedAxiom<org.semanticweb.owlapi.model.OWLAxiom>> getCurrentlyBestEvaluatedAxioms(org.semanticweb.owlapi.model.AxiomType<? extends org.semanticweb.owlapi.model.OWLAxiom> axiomType, double accuracyThreshold)
public void setProgressMonitor(AxiomLearningProgressMonitor progressMonitor)
public void setEntityToDescribe(org.semanticweb.owlapi.model.OWLEntity entity)
public void setAxiomTypes(Set<org.semanticweb.owlapi.model.AxiomType<? extends org.semanticweb.owlapi.model.OWLAxiom>> axiomTypes)
axiomTypes
- the axiom typespublic AbstractAxiomLearningAlgorithm getAlgorithm(org.semanticweb.owlapi.model.AxiomType<? extends org.semanticweb.owlapi.model.OWLAxiom> axiomType)
public Set<org.semanticweb.owlapi.model.OWLObject> getPositives(org.semanticweb.owlapi.model.AxiomType<? extends org.semanticweb.owlapi.model.OWLAxiom> axiomType, EvaluatedAxiom<org.semanticweb.owlapi.model.OWLAxiom> axiom)
public Set<org.semanticweb.owlapi.model.OWLObject> getNegatives(org.semanticweb.owlapi.model.AxiomType<? extends org.semanticweb.owlapi.model.OWLAxiom> axiomType, EvaluatedAxiom<org.semanticweb.owlapi.model.OWLAxiom> axiom)
public void setUseSampling(boolean useSampling)
useSampling
- the useSampling to setpublic void setMultiThreaded(boolean multiThreaded)
multiThreaded
- whether to enable multi-threaded execution (@see setMaxNrOfThreads)public void setMaxNrOfThreads(int maxNrOfThreads)
maxNrOfThreads
- the max. nr of threadspublic void setMaxExecutionTime(long executionTimeDuration, TimeUnit executionTimeUnit)
executionTimeDuration
- the execution timeexecutionTimeUnit
- the time unitpublic void setMaxSampleGenerationTime(long sampleGenerationTimeDuration, TimeUnit sampleGenerationTimeUnit)
sampleGenerationTimeDuration
- the sample generation timesampleGenerationTimeUnit
- the time unit DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann