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, wait
getConciseBoundedDescription, getConciseBoundedDescription, getConciseBoundedDescription, getConciseBoundedDescription, getConciseBoundedDescription, triplePattern
public void setAllowedPropertyNamespaces(Set<String> allowedPropertyNamespaces)
ConciseBoundedDescriptionGenerator
setAllowedPropertyNamespaces
in interface ConciseBoundedDescriptionGenerator
allowedPropertyNamespaces
- the allowed property namespacespublic void setAllowedObjectNamespaces(Set<String> allowedObjectNamespaces)
ConciseBoundedDescriptionGenerator
setAllowedObjectNamespaces
in interface ConciseBoundedDescriptionGenerator
allowedObjectNamespaces
- the allowed namespacespublic void setAllowedClassNamespaces(Set<String> allowedClassNamespaces)
ConciseBoundedDescriptionGenerator
setAllowedClassNamespaces
in interface ConciseBoundedDescriptionGenerator
allowedClassNamespaces
- the allowed namespacespublic void setIgnoredProperties(Set<String> ignoredProperties)
ConciseBoundedDescriptionGenerator
setIgnoredProperties
in interface ConciseBoundedDescriptionGenerator
ignoredProperties
- the ignored propertiespublic org.apache.jena.rdf.model.Model getConciseBoundedDescription(String resource, int depth, boolean withTypesForLeafs)
ConciseBoundedDescriptionGenerator
getConciseBoundedDescription
in interface ConciseBoundedDescriptionGenerator
resource
- 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