Class DescribeBuilder

All Implemented Interfaces:
Cloneable, DatasetClause<DescribeBuilder>, PrologClause<DescribeBuilder>, SelectClause<DescribeBuilder>, SolutionModifierClause<DescribeBuilder>, ValuesClause<DescribeBuilder>, WhereClause<DescribeBuilder>

Builder for SPARQL Describe Queries.

The DescribeBuilder provides chainable methods to programmatically generate SPARQL Describe Queries. The application order of the methods is not relevant for the resulting query. An ExprFactory is intended for use along with the DescribeBuilder to generate needed Expr parameter values. An ExprFactory that works with the same prefixes can be obtained with AbstractQueryBuilder.getExprFactory().

The DescribeBuilder can be used as prepared query. Values for variables in the created query can be set with AbstractQueryBuilder.setVar(Object, Object) and AbstractQueryBuilder.setVar(Var, Node). The method clearWhereValues() allows to clear the set values.

See Also: