public abstract class AbstractSampleGenerator extends Object implements HasProgressMonitor<AbstractSampleGenerator.SampleGeneratorProgressMonitor>
Modifier and Type | Class and Description |
---|---|
static interface |
AbstractSampleGenerator.SampleGeneratorProgressMonitor |
Constructor and Description |
---|
AbstractSampleGenerator(org.aksw.jena_sparql_api.core.QueryExecutionFactory qef) |
AbstractSampleGenerator(SparqlEndpointKS ks) |
Modifier and Type | Method and Description |
---|---|
void |
addAllowedClassNamespaces(Set<String> ignoredProperties) |
void |
addAllowedObjectNamespaces(Set<String> namespaces) |
void |
addAllowedPropertyNamespaces(Set<String> namespaces) |
void |
addIgnoredClasses(Set<String> ignoredProperties) |
void |
addIgnoredProperties(Set<String> ignoredProperties) |
void |
addPostProcessor(Predicate<org.apache.jena.rdf.model.Statement> postProcessStatementFilter) |
org.semanticweb.owlapi.model.OWLOntology |
getSample(Set<org.semanticweb.owlapi.model.OWLIndividual> individuals)
Computes a sample of the knowledge base, i.e.
|
int |
getSampleDepth() |
Collection<AbstractSampleGenerator.SampleGeneratorProgressMonitor> |
progressMonitors() |
void |
setLoadRelatedSchema(boolean loadRelatedSchema) |
void |
setSampleDepth(int sampleDepth) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addProgressMonitor, removeProgressMonitor
public AbstractSampleGenerator(SparqlEndpointKS ks)
public AbstractSampleGenerator(org.aksw.jena_sparql_api.core.QueryExecutionFactory qef)
public Collection<AbstractSampleGenerator.SampleGeneratorProgressMonitor> progressMonitors()
progressMonitors
in interface HasProgressMonitor<AbstractSampleGenerator.SampleGeneratorProgressMonitor>
public void addAllowedPropertyNamespaces(Set<String> namespaces)
public void addAllowedObjectNamespaces(Set<String> namespaces)
public void addIgnoredProperties(Set<String> ignoredProperties)
public void addIgnoredClasses(Set<String> ignoredProperties)
public void addAllowedClassNamespaces(Set<String> ignoredProperties)
public void setLoadRelatedSchema(boolean loadRelatedSchema)
public org.semanticweb.owlapi.model.OWLOntology getSample(Set<org.semanticweb.owlapi.model.OWLIndividual> individuals)
individuals
- the individualspublic void setSampleDepth(int sampleDepth)
sampleDepth
- the maximum sample depth to setpublic int getSampleDepth()
public void addPostProcessor(Predicate<org.apache.jena.rdf.model.Statement> postProcessStatementFilter)
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann