public class TimeBasedFragmentExtractor extends Object implements FragmentExtractor
Modifier and Type | Field and Description |
---|---|
static FragmentExtractionStrategy |
extractionStrategy |
Constructor and Description |
---|
TimeBasedFragmentExtractor(SparqlEndpointKS ks,
int maxExecutionTimeInMilliseconds,
TimeUnit timeUnit) |
Modifier and Type | Method and Description |
---|---|
org.apache.jena.rdf.model.Model |
extractFragment(org.semanticweb.owlapi.model.OWLClass cls,
int maxFragmentDepth)
Extracts a fragment of the knowledge base for the given class C with a max.
|
public static final FragmentExtractionStrategy extractionStrategy
public TimeBasedFragmentExtractor(SparqlEndpointKS ks, int maxExecutionTimeInMilliseconds, TimeUnit timeUnit)
public org.apache.jena.rdf.model.Model extractFragment(org.semanticweb.owlapi.model.OWLClass cls, int maxFragmentDepth)
FragmentExtractor
extractFragment
in interface FragmentExtractor
cls
- the classmaxFragmentDepth
- the maximum depth DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann