public interface QueryTreeFactory
Modifier and Type | Method and Description |
---|---|
void |
addDropFilters(Predicate<org.apache.jena.rdf.model.Statement>... dropFilters)
Adds a set of filters that will be applied on the model before the creation of the query tree.
|
default RDFResourceTree |
getQueryTree(org.apache.jena.rdf.model.Resource resource,
org.apache.jena.rdf.model.Model model)
Generates a query tree with the given resource as root and the edges based on the data contained in the model.
|
RDFResourceTree |
getQueryTree(org.apache.jena.rdf.model.Resource resource,
org.apache.jena.rdf.model.Model model,
int maxDepth)
Generates a query tree with the given resource as root and the edges based on the data contained in the model.
|
default RDFResourceTree |
getQueryTree(String resource,
org.apache.jena.rdf.model.Model model)
Generates a query tree with the given resource as root and the edges based on the data contained in the model.
|
default RDFResourceTree |
getQueryTree(String resource,
org.apache.jena.rdf.model.Model model,
int maxDepth)
Generates a query tree with the given resource as root and the edges based on the data contained in the model.
|
default int |
maxDepth() |
void |
setMaxDepth(int maxDepth) |
default RDFResourceTree getQueryTree(String resource, org.apache.jena.rdf.model.Model model)
resource
- the resource URI which is supposed to be the root of the query treemodel
- the datadefault RDFResourceTree getQueryTree(org.apache.jena.rdf.model.Resource resource, org.apache.jena.rdf.model.Model model)
resource
- the resource which is supposed to be the root of the query treemodel
- the datadefault RDFResourceTree getQueryTree(String resource, org.apache.jena.rdf.model.Model model, int maxDepth)
resource
- the resource URI which is supposed to be the root of the query treemodel
- the datamaxDepth
- the maximum depth of the query treeRDFResourceTree getQueryTree(org.apache.jena.rdf.model.Resource resource, org.apache.jena.rdf.model.Model model, int maxDepth)
resource
- the resource which is supposed to be the root of the query treemodel
- the datamaxDepth
- the maximum depth of the query treedefault int maxDepth()
void setMaxDepth(int maxDepth)
maxDepth
- the maximum depth of the generated query treesvoid addDropFilters(Predicate<org.apache.jena.rdf.model.Statement>... dropFilters)
dropFilters
- the filters DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann