QueryBuilder Class |
Namespace: VDS.RDF.Query.Builder
The QueryBuilder type exposes the following members.
Name | Description | |
---|---|---|
QueryBuilder | Initializes a new instance of the QueryBuilder class |
Name | Description | |
---|---|---|
Prefixes |
Gets or sets the namespace mappings for the SPARQL query being built.
| |
QueryType |
Gets the query type of the generated SPARQL query.
| |
Root |
Gets the builder associated with the root graph pattern.
| |
RootGraphPatternBuilder |
Gets the builder associated with the root graph pattern.
|
Name | Description | |
---|---|---|
Ask |
Creates a new ASK query.
| |
Bind |
Adds a BIND variable assignment to the root graph pattern.
| |
BuildQuery |
Builds and returns a SparqlQuery.
| |
BuildQuery(SparqlQuery) | ||
Construct |
Creates a new CONSTRUCT WHERE query.
| |
Construct(ActionIDescribeGraphPatternBuilder) |
Creates a new CONSTRUCT query.
| |
Describe(String) |
Creates a new query, which will DESCRIBE the given variables.
| |
Describe(Uri) |
Creates a new query, which will DESCRIBE the given uris.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GroupBy(String) |
Adds a GROUP BY clause to the query.
| |
GroupBy(FuncINonAggregateExpressionBuilder, SparqlExpression) |
Adds a GROUP BY clause to the query.
| |
GroupBy(SparqlVariable) |
Adds a GROUP BY clause to the query.
| |
Having |
Adds a HAVING clause to the query.
| |
InlineDataOverQuery |
Adds a VALUES inline data block to the entire query (outside graph patterns).
| |
Limit |
Applies a LIMIT.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Offset |
Applies an OFFSET.
| |
OrderBy(String) |
Adds ascending ordering by a variable to the query.
| |
OrderBy(FuncIExpressionBuilder, SparqlExpression) |
Adds ascending ordering by an expression to the query.
| |
OrderBy(SparqlVariable) |
Adds ascending ordering by a variable to the query.
| |
OrderByDescending(String) |
Adds descending ordering by a variable to the query.
| |
OrderByDescending(FuncIExpressionBuilder, SparqlExpression) |
Adds descending ordering by an expression to the query.
| |
OrderByDescending(SparqlVariable) |
Adds descending ordering by a variable to the query.
| |
Select(String) |
Creates a new SELECT query which will return the given
variables.
| |
Select(SparqlVariable) |
Creates a new SELECT query which will return the given
variables.
| |
SelectTExpression(FuncIExpressionBuilder, PrimaryExpressionTExpression) |
Creates a new SELECT query which will return an expression.
| |
SelectAll |
Creates a new SELECT * query.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
A SparqlQuery is mutable by definition so calling any of the extension methods in this API will cause the existing query it is called on to be changed. You can call Copy on an existing query to create a new copy if you want to make different queries starting from the same base query.