public abstract class AbstractConciseBoundedDescriptionGenerator extends Object implements ConciseBoundedDescriptionGenerator
TP| 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> allowedClassNamespaces)
Set the allowed namespaces for classes occuring in object position of the retrieved triples.
|
void |
setAllowedObjectNamespaces(Set<String> allowedObjectNamespaces)
Set the allowed namespaces for resources occuring in object position of the retrieved triples.
|
void |
setAllowedPropertyNamespaces(Set<String> allowedPropertyNamespaces)
Set the property namespaces allowed to occur in triples of the generated CBD.
|
void |
setIgnoredProperties(Set<String> ignoredProperties)
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 void setAllowedPropertyNamespaces(Set<String> allowedPropertyNamespaces)
ConciseBoundedDescriptionGeneratorsetAllowedPropertyNamespaces in interface ConciseBoundedDescriptionGeneratorallowedPropertyNamespaces - the allowed property namespacespublic void setAllowedObjectNamespaces(Set<String> allowedObjectNamespaces)
ConciseBoundedDescriptionGeneratorsetAllowedObjectNamespaces in interface ConciseBoundedDescriptionGeneratorallowedObjectNamespaces - the allowed namespacespublic void setAllowedClassNamespaces(Set<String> allowedClassNamespaces)
ConciseBoundedDescriptionGeneratorsetAllowedClassNamespaces in interface ConciseBoundedDescriptionGeneratorallowedClassNamespaces - the allowed namespacespublic void setIgnoredProperties(Set<String> ignoredProperties)
ConciseBoundedDescriptionGeneratorsetIgnoredProperties in interface ConciseBoundedDescriptionGeneratorignoredProperties - the ignored propertiespublic 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 nodes
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann