Interface IGraphPatternBuilder
Provides methods for building graph patterns.
Assembly: dotNetRDF.dll
Syntax
public interface IGraphPatternBuilder
Methods
|
Improve this Doc
View Source
Bind(Func<INonAggregateExpressionBuilder, SparqlExpression>)
Adds a BIND variable assignment to the graph pattern.
Declaration
IAssignmentVariableNamePart<IGraphPatternBuilder> Bind(Func<INonAggregateExpressionBuilder, SparqlExpression> buildAssignmentExpression)
Parameters
Returns
|
Improve this Doc
View Source
Child(Action<IGraphPatternBuilder>)
Adds a "normal" child graph pattern.
Declaration
IGraphPatternBuilder Child(Action<IGraphPatternBuilder> buildGraphPattern)
Parameters
Returns
|
Improve this Doc
View Source
Child(GraphPatternBuilder)
Adds a "normal" child graph pattern.
Declaration
IGraphPatternBuilder Child(GraphPatternBuilder buildGraphPattern)
Parameters
Returns
|
Improve this Doc
View Source
Child(IQueryBuilder)
Adds a "normal" child graph pattern.
Declaration
IGraphPatternBuilder Child(IQueryBuilder queryBuilder)
Parameters
Returns
|
Improve this Doc
View Source
Filter(Func<INonAggregateExpressionBuilder, BooleanExpression>)
Adds a FILTER to the SPARQL query or graph pattern.
Declaration
IGraphPatternBuilder Filter(Func<INonAggregateExpressionBuilder, BooleanExpression> expr)
Parameters
Returns
|
Improve this Doc
View Source
Filter(ISparqlExpression)
Adds a FILTER expression to the SPARQL query or graph pattern.
Declaration
IGraphPatternBuilder Filter(ISparqlExpression expr)
Parameters
Returns
|
Improve this Doc
View Source
Graph(String, Action<IGraphPatternBuilder>)
Adds a GRAPH graph pattern to the graph pattern.
Declaration
IGraphPatternBuilder Graph(string graphVariable, Action<IGraphPatternBuilder> buildGraphPattern)
Parameters
Type |
Name |
Description |
System.String |
graphVariable |
|
System.Action<IGraphPatternBuilder> |
buildGraphPattern |
|
Returns
|
Improve this Doc
View Source
Graph(Uri, Action<IGraphPatternBuilder>)
Adds a GRAPH graph pattern to the graph pattern.
Declaration
IGraphPatternBuilder Graph(Uri graphUri, Action<IGraphPatternBuilder> buildGraphPattern)
Parameters
Returns
|
Improve this Doc
View Source
Group(Action<IGraphPatternBuilder>)
Adds another child graph pattern builder.
Declaration
IGraphPatternBuilder Group(Action<IGraphPatternBuilder> buildTriplePatterns)
Parameters
Returns
|
Improve this Doc
View Source
Group(GraphPatternBuilder)
Adds another child graph pattern builder.
Declaration
IGraphPatternBuilder Group(GraphPatternBuilder groupBuilder)
Parameters
Returns
|
Improve this Doc
View Source
InlineData(String[])
Adds a VALUES inline data block to the graph pattern.
Declaration
IInlineDataBuilder InlineData(params string[] variables)
Parameters
Type |
Name |
Description |
System.String[] |
variables |
|
Returns
|
Improve this Doc
View Source
Minus(Action<IGraphPatternBuilder>)
Adds a MINUS graph pattern to the SPARQL query or graph pattern.
Declaration
IGraphPatternBuilder Minus(Action<IGraphPatternBuilder> buildGraphPattern)
Parameters
Returns
|
Improve this Doc
View Source
Optional(Action<IGraphPatternBuilder>)
Adds an OPTIONAL graph pattern to the SPARQL query or graph pattern.
Declaration
IGraphPatternBuilder Optional(Action<IGraphPatternBuilder> buildGraphPattern)
Parameters
Returns
|
Improve this Doc
View Source
Service(Uri, Action<IGraphPatternBuilder>)
Adds a SERVICE graph pattern to the graph pattern.
Declaration
IGraphPatternBuilder Service(Uri serviceUri, Action<IGraphPatternBuilder> buildGraphPattern)
Parameters
Returns
|
Improve this Doc
View Source
Union(Action<IGraphPatternBuilder>, Action<IGraphPatternBuilder>[])
Declaration
IGraphPatternBuilder Union(Action<IGraphPatternBuilder> buildFirstGraphPattern, params Action<IGraphPatternBuilder>[] unionedGraphPatternBuilders)
Parameters
Returns
|
Improve this Doc
View Source
Union(GraphPatternBuilder, GraphPatternBuilder[])
Creates a UNION of multiple graph patterns. If
unionedGraphPatternBuilders
is null or empty,
acts as a call to the
Child(GraphPatternBuilder) method.
Declaration
IGraphPatternBuilder Union(GraphPatternBuilder firstGraphPattern, params GraphPatternBuilder[] unionedGraphPatternBuilders)
Parameters
Returns
|
Improve this Doc
View Source
Where(Action<ITriplePatternBuilder>)
Adds triple patterns to the SPARQL query or graph pattern.
Declaration
IGraphPatternBuilder Where(Action<ITriplePatternBuilder> buildTriplePatterns)
Parameters
Returns
|
Improve this Doc
View Source
Where(ITriplePattern[])
Adds triple patterns to the SPARQL query or graph pattern.
Declaration
IGraphPatternBuilder Where(params ITriplePattern[] triplePatterns)
Parameters
Returns
Extension Methods