public class CachingConciseBoundedDescriptionGenerator extends Object implements ConciseBoundedDescriptionGenerator
TP| Constructor and Description |
|---|
CachingConciseBoundedDescriptionGenerator(ConciseBoundedDescriptionGenerator cbdGen) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.jena.rdf.model.Model |
getConciseBoundedDescription(String resource,
int depth,
boolean withTypesForLeafs)
Computes the CBD of given depth for the given resource.
|
void |
setAllowedClassNamespaces(Set<String> namespaces)
Set the allowed namespaces for classes occuring in object position of the retrieved triples.
|
void |
setAllowedObjectNamespaces(Set<String> namespaces)
Set the allowed namespaces for resources occuring in object position of the retrieved triples.
|
void |
setAllowedPropertyNamespaces(Set<String> namespaces)
Set the property namespaces allowed to occur in triples of the generated CBD.
|
void |
setIgnoredProperties(Set<String> properties)
Set the properties allowed to occur in triples of the generated CBD.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConciseBoundedDescription, getConciseBoundedDescription, getConciseBoundedDescription, getConciseBoundedDescription, getConciseBoundedDescription, triplePatternpublic CachingConciseBoundedDescriptionGenerator(ConciseBoundedDescriptionGenerator cbdGen)
public org.apache.jena.rdf.model.Model getConciseBoundedDescription(String resource, int depth, boolean withTypesForLeafs)
ConciseBoundedDescriptionGeneratorgetConciseBoundedDescription in interface ConciseBoundedDescriptionGeneratorresource - the resource URIdepth - the max. depth of the CBDwithTypesForLeafs - whether to get the types of the leaf nodespublic void setAllowedPropertyNamespaces(Set<String> namespaces)
ConciseBoundedDescriptionGeneratorsetAllowedPropertyNamespaces in interface ConciseBoundedDescriptionGeneratornamespaces - the allowed property namespacespublic void setAllowedObjectNamespaces(Set<String> namespaces)
ConciseBoundedDescriptionGeneratorsetAllowedObjectNamespaces in interface ConciseBoundedDescriptionGeneratornamespaces - the allowed namespacespublic void setAllowedClassNamespaces(Set<String> namespaces)
ConciseBoundedDescriptionGeneratorsetAllowedClassNamespaces in interface ConciseBoundedDescriptionGeneratornamespaces - the allowed namespacespublic void setIgnoredProperties(Set<String> properties)
ConciseBoundedDescriptionGeneratorsetIgnoredProperties in interface ConciseBoundedDescriptionGeneratorproperties - the ignored properties
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann