Show / Hide Table of Contents

Interface INonAggregateExpressionBuilder

Provides methods for building SPARQL expressions, but not aggregates.

Namespace: VDS.RDF.Query.Builder
Assembly: dotNetRdf.dll
Syntax
public interface INonAggregateExpressionBuilder

Properties

| Edit this page View Source

SparqlVersion

SPARQL syntax verions to use when creating expressions.

Declaration
SparqlQuerySyntax SparqlVersion { get; set; }
Property Value
Type Description
SparqlQuerySyntax

Methods

| Edit this page View Source

BNode()

Creates a parameterless call to the BNODE function.

Declaration
BlankNodeExpression BNode()
Returns
Type Description
BlankNodeExpression
| Edit this page View Source

BNode(LiteralExpression)

Creates a call to the BNODE function with a simple literal parameter.

Declaration
BlankNodeExpression BNode(LiteralExpression simpleLiteral)
Parameters
Type Name Description
LiteralExpression simpleLiteral

a SPARQL simple literal.

Returns
Type Description
BlankNodeExpression
| Edit this page View Source

BNode(TypedLiteralExpression<string>)

Creates a call to the BNODE function with a string literal parameter.

Declaration
BlankNodeExpression BNode(TypedLiteralExpression<string> stringLiteral)
Parameters
Type Name Description
TypedLiteralExpression<string> stringLiteral

a SPARQL string literal.

Returns
Type Description
BlankNodeExpression
| Edit this page View Source

Bound(string)

Creates a call to the BOUND function with a variable parameter.

Declaration
BooleanExpression Bound(string var)
Parameters
Type Name Description
string var

a SPARQL variable name.

Returns
Type Description
BooleanExpression
| Edit this page View Source

Bound(VariableExpression)

Creates a call to the BOUND function with a variable parameter.

Declaration
BooleanExpression Bound(VariableExpression var)
Parameters
Type Name Description
VariableExpression var

a SPARQL variable.

Returns
Type Description
BooleanExpression
| Edit this page View Source

Cast(SparqlExpression)

Builds a SPARQL constructor function call.

Declaration
SparqlCastBuilder Cast(SparqlExpression castedExpression)
Parameters
Type Name Description
SparqlExpression castedExpression
Returns
Type Description
SparqlCastBuilder
| Edit this page View Source

Coalesce(params SparqlExpression[])

Creates a call of the COALESCE function with a variable number of expression parameters.

Declaration
RdfTermExpression Coalesce(params SparqlExpression[] expressions)
Parameters
Type Name Description
SparqlExpression[] expressions

SPARQL expressions.

Returns
Type Description
RdfTermExpression
| Edit this page View Source

Constant(bool)

Creates a boolean constant.

Declaration
TypedLiteralExpression<bool> Constant(bool value)
Parameters
Type Name Description
bool value
Returns
Type Description
TypedLiteralExpression<bool>
| Edit this page View Source

Constant(byte)

Creates a numeric constant.

Declaration
NumericExpression<byte> Constant(byte value)
Parameters
Type Name Description
byte value
Returns
Type Description
NumericExpression<byte>
| Edit this page View Source

Constant(DateTime)

Creates a datetime constant.

Declaration
TypedLiteralExpression<DateTime> Constant(DateTime value)
Parameters
Type Name Description
DateTime value
Returns
Type Description
TypedLiteralExpression<DateTime>
| Edit this page View Source

Constant(decimal)

Creates a numeric constant.

Declaration
NumericExpression<decimal> Constant(decimal value)
Parameters
Type Name Description
decimal value
Returns
Type Description
NumericExpression<decimal>
| Edit this page View Source

Constant(double)

Creates a numeric constant.

Declaration
NumericExpression<double> Constant(double value)
Parameters
Type Name Description
double value
Returns
Type Description
NumericExpression<double>
| Edit this page View Source

Constant(short)

Creates a numeric constant.

Declaration
NumericExpression<short> Constant(short value)
Parameters
Type Name Description
short value
Returns
Type Description
NumericExpression<short>
| Edit this page View Source

Constant(int)

Creates a numeric constant.

Declaration
NumericExpression<int> Constant(int value)
Parameters
Type Name Description
int value
Returns
Type Description
NumericExpression<int>
| Edit this page View Source

Constant(sbyte)

Creates a numeric constant.

Declaration
NumericExpression<sbyte> Constant(sbyte value)
Parameters
Type Name Description
sbyte value
Returns
Type Description
NumericExpression<sbyte>
| Edit this page View Source

Constant(float)

Creates a numeric constant.

Declaration
NumericExpression<float> Constant(float value)
Parameters
Type Name Description
float value
Returns
Type Description
NumericExpression<float>
| Edit this page View Source

Constant(string)

Creates a string constant.

Declaration
TypedLiteralExpression<string> Constant(string value)
Parameters
Type Name Description
string value
Returns
Type Description
TypedLiteralExpression<string>
| Edit this page View Source

Constant(Uri)

Creates an IRI constant.

Declaration
RdfTermExpression Constant(Uri value)
Parameters
Type Name Description
Uri value
Returns
Type Description
RdfTermExpression
| Edit this page View Source

Datatype<TExpression>(PrimaryExpression<TExpression>)

Creates a call to the DATATYPE function with a literal expression parameter.

Declaration
IriExpression Datatype<TExpression>(PrimaryExpression<TExpression> literal) where TExpression : ISparqlExpression
Parameters
Type Name Description
PrimaryExpression<TExpression> literal

a SPARQL literal expression.

Returns
Type Description
IriExpression
Type Parameters
Name Description
TExpression
Remarks

depending on SparqlVersion will use a different flavour of datatype function.

| Edit this page View Source

Exists(Action<IGraphPatternBuilder>)

Creates a call of the EXISTS function.

Declaration
BooleanExpression Exists(Action<IGraphPatternBuilder> buildExistsPattern)
Parameters
Type Name Description
Action<IGraphPatternBuilder> buildExistsPattern

a function, which will create the graph pattern parameter.

Returns
Type Description
BooleanExpression
| Edit this page View Source

If(BooleanExpression)

Creates a call to the IF function with an expression for the first parameter.

Declaration
IfThenPart If(BooleanExpression ifExpression)
Parameters
Type Name Description
BooleanExpression ifExpression

conditional clause expression.

Returns
Type Description
IfThenPart
| Edit this page View Source

If(VariableExpression)

Creates a call to the IF function with a variable for the first parameter.

Declaration
IfThenPart If(VariableExpression ifExpression)
Parameters
Type Name Description
VariableExpression ifExpression

conditional clause variable expression.

Returns
Type Description
IfThenPart
| Edit this page View Source

IsBlank(string)

Creates a call to the isBlank function with a variable parameter.

Declaration
BooleanExpression IsBlank(string variableName)
Parameters
Type Name Description
string variableName

name of variable to check.

Returns
Type Description
BooleanExpression
| Edit this page View Source

IsBlank(SparqlExpression)

Creates a call to the isBlank function with an expression parameter.

Declaration
BooleanExpression IsBlank(SparqlExpression term)
Parameters
Type Name Description
SparqlExpression term

any SPARQL expression.

Returns
Type Description
BooleanExpression
| Edit this page View Source

IsIRI(string)

Creates a call to the isIRI function with a variable parameter.

Declaration
BooleanExpression IsIRI(string variableName)
Parameters
Type Name Description
string variableName

name of variable to check.

Returns
Type Description
BooleanExpression
| Edit this page View Source

IsIRI(SparqlExpression)

Creates a call to the isIRI function with an expression parameter.

Declaration
BooleanExpression IsIRI(SparqlExpression term)
Parameters
Type Name Description
SparqlExpression term

any SPARQL expression.

Returns
Type Description
BooleanExpression
| Edit this page View Source

IsLiteral(string)

Creates a call to the isLiteral function with a variable parameter.

Declaration
BooleanExpression IsLiteral(string variableName)
Parameters
Type Name Description
string variableName

name of variable to check.

Returns
Type Description
BooleanExpression
| Edit this page View Source

IsLiteral(SparqlExpression)

Creates a call to the isLiteral function with an expression parameter.

Declaration
BooleanExpression IsLiteral(SparqlExpression term)
Parameters
Type Name Description
SparqlExpression term

any SPARQL expression.

Returns
Type Description
BooleanExpression
| Edit this page View Source

IsNumeric(string)

Creates a call to the isNumeric function with a variable parameter.

Declaration
BooleanExpression IsNumeric(string variableName)
Parameters
Type Name Description
string variableName

name of variable to check.

Returns
Type Description
BooleanExpression
| Edit this page View Source

IsNumeric(SparqlExpression)

Creates a call to the isNumeric function with an expression parameter.

Declaration
BooleanExpression IsNumeric(SparqlExpression term)
Parameters
Type Name Description
SparqlExpression term

any SPARQL expression.

Returns
Type Description
BooleanExpression
| Edit this page View Source

Lang(LiteralExpression)

Creates a call to the LANG function with a literal expression parameter.

Declaration
LiteralExpression Lang(LiteralExpression literal)
Parameters
Type Name Description
LiteralExpression literal

a SPARQL literal expression.

Returns
Type Description
LiteralExpression
| Edit this page View Source

Lang(VariableExpression)

Creates a call to the LANG function with a variable parameter.

Declaration
LiteralExpression Lang(VariableExpression variable)
Parameters
Type Name Description
VariableExpression variable

a SPARQL variable.

Returns
Type Description
LiteralExpression
| Edit this page View Source

LangMatches(LiteralExpression, string)

Creates a call to the LANGMATCHES function.

Declaration
BooleanExpression LangMatches(LiteralExpression languageTag, string languageRange)
Parameters
Type Name Description
LiteralExpression languageTag
string languageRange
Returns
Type Description
BooleanExpression
| Edit this page View Source

LangMatches(LiteralExpression, LiteralExpression)

Creates a call to the LANGMATCHES function.

Declaration
BooleanExpression LangMatches(LiteralExpression languageTag, LiteralExpression languageRange)
Parameters
Type Name Description
LiteralExpression languageTag
LiteralExpression languageRange
Returns
Type Description
BooleanExpression
| Edit this page View Source

LangMatches(LiteralExpression, VariableExpression)

Creates a call to the LANGMATCHES function.

Declaration
BooleanExpression LangMatches(LiteralExpression languageTag, VariableExpression languageRange)
Parameters
Type Name Description
LiteralExpression languageTag
VariableExpression languageRange
Returns
Type Description
BooleanExpression
| Edit this page View Source

LangMatches(VariableExpression, string)

Creates a call to the LANGMATCHES function.

Declaration
BooleanExpression LangMatches(VariableExpression languageTag, string languageRange)
Parameters
Type Name Description
VariableExpression languageTag
string languageRange
Returns
Type Description
BooleanExpression
| Edit this page View Source

LangMatches(VariableExpression, LiteralExpression)

Creates a call to the LANGMATCHES function.

Declaration
BooleanExpression LangMatches(VariableExpression languageTag, LiteralExpression languageRange)
Parameters
Type Name Description
VariableExpression languageTag
LiteralExpression languageRange
Returns
Type Description
BooleanExpression
| Edit this page View Source

LangMatches(VariableExpression, VariableExpression)

Creates a call to the LANGMATCHES function.

Declaration
BooleanExpression LangMatches(VariableExpression languageTag, VariableExpression languageRange)
Parameters
Type Name Description
VariableExpression languageTag
VariableExpression languageRange
Returns
Type Description
BooleanExpression
| Edit this page View Source

Regex(LiteralExpression, string)

Creates a call to the REGEX function.

Declaration
BooleanExpression Regex(LiteralExpression text, string pattern)
Parameters
Type Name Description
LiteralExpression text
string pattern
Returns
Type Description
BooleanExpression
| Edit this page View Source

Regex(LiteralExpression, string, string)

Creates a call to the REGEX function.

Declaration
BooleanExpression Regex(LiteralExpression text, string pattern, string flags)
Parameters
Type Name Description
LiteralExpression text
string pattern
string flags
Returns
Type Description
BooleanExpression
| Edit this page View Source

Regex(LiteralExpression, LiteralExpression)

Creates a call to the REGEX function.

Declaration
BooleanExpression Regex(LiteralExpression text, LiteralExpression pattern)
Parameters
Type Name Description
LiteralExpression text
LiteralExpression pattern
Returns
Type Description
BooleanExpression
| Edit this page View Source

Regex(LiteralExpression, LiteralExpression, string)

Creates a call to the REGEX function.

Declaration
BooleanExpression Regex(LiteralExpression text, LiteralExpression pattern, string flags)
Parameters
Type Name Description
LiteralExpression text
LiteralExpression pattern
string flags
Returns
Type Description
BooleanExpression
| Edit this page View Source

Regex(LiteralExpression, VariableExpression)

Creates a call to the REGEX function.

Declaration
BooleanExpression Regex(LiteralExpression text, VariableExpression pattern)
Parameters
Type Name Description
LiteralExpression text
VariableExpression pattern
Returns
Type Description
BooleanExpression
| Edit this page View Source

Regex(LiteralExpression, VariableExpression, string)

Creates a call to the REGEX function.

Declaration
BooleanExpression Regex(LiteralExpression text, VariableExpression pattern, string flags)
Parameters
Type Name Description
LiteralExpression text
VariableExpression pattern
string flags
Returns
Type Description
BooleanExpression
| Edit this page View Source

Regex(SparqlExpression, string, string)

Creates a call to the REGEX function.

Declaration
BooleanExpression Regex(SparqlExpression text, string pattern, string flags)
Parameters
Type Name Description
SparqlExpression text
string pattern
string flags
Returns
Type Description
BooleanExpression
| Edit this page View Source

Regex(VariableExpression, string)

Creates a call to the REGEX function.

Declaration
BooleanExpression Regex(VariableExpression text, string pattern)
Parameters
Type Name Description
VariableExpression text
string pattern
Returns
Type Description
BooleanExpression
| Edit this page View Source

Regex(VariableExpression, VariableExpression)

Creates a call to the REGEX function.

Declaration
BooleanExpression Regex(VariableExpression text, VariableExpression pattern)
Parameters
Type Name Description
VariableExpression text
VariableExpression pattern
Returns
Type Description
BooleanExpression
| Edit this page View Source

Regex(VariableExpression, VariableExpression, string)

Creates a call to the REGEX function.

Declaration
BooleanExpression Regex(VariableExpression text, VariableExpression pattern, string flags)
Parameters
Type Name Description
VariableExpression text
VariableExpression pattern
string flags
Returns
Type Description
BooleanExpression
| Edit this page View Source

SameTerm(string, string)

Creates a call of the SAMETERM function with two variable parameters.

Declaration
BooleanExpression SameTerm(string left, string right)
Parameters
Type Name Description
string left

a variable name.

string right

a variable name.

Returns
Type Description
BooleanExpression
| Edit this page View Source

SameTerm(string, SparqlExpression)

Creates a call of the SAMETERM function with variable and expression parameters.

Declaration
BooleanExpression SameTerm(string left, SparqlExpression right)
Parameters
Type Name Description
string left

a variable name.

SparqlExpression right

a SPARQL expression.

Returns
Type Description
BooleanExpression
| Edit this page View Source

SameTerm(SparqlExpression, string)

Creates a call of the SAMETERM function with expression and variable parameters.

Declaration
BooleanExpression SameTerm(SparqlExpression left, string right)
Parameters
Type Name Description
SparqlExpression left

a SPARQL expression.

string right

a variable name.

Returns
Type Description
BooleanExpression
| Edit this page View Source

SameTerm(SparqlExpression, SparqlExpression)

Creates a call of the SAMETERM function with two expression parameters.

Declaration
BooleanExpression SameTerm(SparqlExpression left, SparqlExpression right)
Parameters
Type Name Description
SparqlExpression left

a SPARQL expression.

SparqlExpression right

a SPARQL expression.

Returns
Type Description
BooleanExpression
| Edit this page View Source

Str(IriExpression)

Creates a call to the STR function with an variable parameter.

Declaration
LiteralExpression Str(IriExpression iriTerm)
Parameters
Type Name Description
IriExpression iriTerm

an RDF IRI term.

Returns
Type Description
LiteralExpression
| Edit this page View Source

Str(LiteralExpression)

Creates a call to the STR function with a literal expression parameter.

Declaration
LiteralExpression Str(LiteralExpression literal)
Parameters
Type Name Description
LiteralExpression literal

a SPARQL literal expression.

Returns
Type Description
LiteralExpression
| Edit this page View Source

Str(VariableExpression)

Creates a call to the STR function with a variable parameter.

Declaration
LiteralExpression Str(VariableExpression variable)
Parameters
Type Name Description
VariableExpression variable

a SPARQL variable.

Returns
Type Description
LiteralExpression
| Edit this page View Source

StrDt(string, Uri)

Creates a call to the STRDT function with a simple literal and a Uri parameters.

Declaration
LiteralExpression StrDt(string lexicalForm, Uri datatypeIri)
Parameters
Type Name Description
string lexicalForm

a literal.

Uri datatypeIri

datatype IRI.

Returns
Type Description
LiteralExpression
| Edit this page View Source

StrDt(string, IriExpression)

Creates a call to the STRDT function with a simple literal and a IRI expression parameters.

Declaration
LiteralExpression StrDt(string lexicalForm, IriExpression datatypeIri)
Parameters
Type Name Description
string lexicalForm

a literal.

IriExpression datatypeIri

datatype IRI.

Returns
Type Description
LiteralExpression
| Edit this page View Source

StrDt(string, VariableExpression)

Creates a call to the STRDT function with a simple literal and a IRI expression parameters.

Declaration
LiteralExpression StrDt(string lexicalForm, VariableExpression datatypeIri)
Parameters
Type Name Description
string lexicalForm

a literal.

VariableExpression datatypeIri

datatype IRI.

Returns
Type Description
LiteralExpression
| Edit this page View Source

StrDt(LiteralExpression, Uri)

Creates a call to the STRDT function with a simple literal and a Uri parameters.

Declaration
LiteralExpression StrDt(LiteralExpression lexicalForm, Uri datatypeIri)
Parameters
Type Name Description
LiteralExpression lexicalForm

a SPARQL simple literal.

Uri datatypeIri

datatype IRI.

Returns
Type Description
LiteralExpression
| Edit this page View Source

StrDt(LiteralExpression, IriExpression)

Creates a call to the STRDT function with a simple literal and a IRI expression parameters.

Declaration
LiteralExpression StrDt(LiteralExpression lexicalForm, IriExpression datatypeIri)
Parameters
Type Name Description
LiteralExpression lexicalForm

a SPARQL simple literal.

IriExpression datatypeIri

datatype IRI.

Returns
Type Description
LiteralExpression
| Edit this page View Source

StrDt(LiteralExpression, VariableExpression)

Creates a call to the STRDT function with a simple literal and a variable parameters.

Declaration
LiteralExpression StrDt(LiteralExpression lexicalForm, VariableExpression datatypeIri)
Parameters
Type Name Description
LiteralExpression lexicalForm

a SPARQL simple literal.

VariableExpression datatypeIri

datatype IRI.

Returns
Type Description
LiteralExpression
| Edit this page View Source

StrDt(VariableExpression, Uri)

Creates a call to the STRDT function with a variable and a Uri parameters.

Declaration
LiteralExpression StrDt(VariableExpression lexicalForm, Uri datatypeIri)
Parameters
Type Name Description
VariableExpression lexicalForm

a literal.

Uri datatypeIri

datatype IRI.

Returns
Type Description
LiteralExpression
| Edit this page View Source

StrDt(VariableExpression, IriExpression)

Creates a call to the STRDT function with a variable and a IRI expression parameters.

Declaration
LiteralExpression StrDt(VariableExpression lexicalForm, IriExpression datatypeIri)
Parameters
Type Name Description
VariableExpression lexicalForm

a literal.

IriExpression datatypeIri

datatype IRI.

Returns
Type Description
LiteralExpression
| Edit this page View Source

StrDt(VariableExpression, VariableExpression)

Creates a call to the STRDT function with a variable and a Uri parameters.

Declaration
LiteralExpression StrDt(VariableExpression lexicalForm, VariableExpression datatypeIri)
Parameters
Type Name Description
VariableExpression lexicalForm

a literal.

VariableExpression datatypeIri

datatype IRI.

Returns
Type Description
LiteralExpression
| Edit this page View Source

StrLen(TypedLiteralExpression<string>)

Creates a call to the STRLEN function with a string literal parameter.

Declaration
NumericExpression<int> StrLen(TypedLiteralExpression<string> str)
Parameters
Type Name Description
TypedLiteralExpression<string> str

a string literal parameter.

Returns
Type Description
NumericExpression<int>
| Edit this page View Source

StrLen(VariableExpression)

Creates a call to the STRLEN function with a variable parameter.

Declaration
NumericExpression<int> StrLen(VariableExpression str)
Parameters
Type Name Description
VariableExpression str

a SPARQL variable.

Returns
Type Description
NumericExpression<int>
| Edit this page View Source

StrUUID()

Creates a call to the StrUUID function.

Declaration
LiteralExpression StrUUID()
Returns
Type Description
LiteralExpression
| Edit this page View Source

Substr(TypedLiteralExpression<string>, int)

Creates a call to the SUBSTR function with a string literal and interger parameters.

Declaration
TypedLiteralExpression<string> Substr(TypedLiteralExpression<string> str, int startingLoc)
Parameters
Type Name Description
TypedLiteralExpression<string> str

a string literal parameter.

int startingLoc

1-based start index.

Returns
Type Description
TypedLiteralExpression<string>
| Edit this page View Source

Substr(TypedLiteralExpression<string>, int, int)

Creates a call to the SUBSTR function with a string literal and interger parameters.

Declaration
TypedLiteralExpression<string> Substr(TypedLiteralExpression<string> str, int startingLoc, int length)
Parameters
Type Name Description
TypedLiteralExpression<string> str

a string literal parameter.

int startingLoc

1-based start index.

int length

substring length.

Returns
Type Description
TypedLiteralExpression<string>
| Edit this page View Source

Substr(TypedLiteralExpression<string>, int, NumericExpression<int>)

Creates a call to the SUBSTR function with a string literal, interger and integer expression parameters.

Declaration
TypedLiteralExpression<string> Substr(TypedLiteralExpression<string> str, int startingLoc, NumericExpression<int> length)
Parameters
Type Name Description
TypedLiteralExpression<string> str

a string literal parameter.

int startingLoc

1-based start index.

NumericExpression<int> length

substring length.

Returns
Type Description
TypedLiteralExpression<string>
| Edit this page View Source

Substr(TypedLiteralExpression<string>, int, VariableExpression)

Creates a call to the SUBSTR function with a string literal, interger and a variable parameters.

Declaration
TypedLiteralExpression<string> Substr(TypedLiteralExpression<string> str, int startingLoc, VariableExpression length)
Parameters
Type Name Description
TypedLiteralExpression<string> str

a string literal parameter.

int startingLoc

1-based start index.

VariableExpression length

substring length.

Returns
Type Description
TypedLiteralExpression<string>
| Edit this page View Source

Substr(TypedLiteralExpression<string>, NumericExpression<int>)

Creates a call to the SUBSTR function with a string literal and variable parameters.

Declaration
TypedLiteralExpression<string> Substr(TypedLiteralExpression<string> str, NumericExpression<int> startingLoc)
Parameters
Type Name Description
TypedLiteralExpression<string> str

a string literal parameter.

NumericExpression<int> startingLoc

1-based start index.

Returns
Type Description
TypedLiteralExpression<string>
| Edit this page View Source

Substr(TypedLiteralExpression<string>, NumericExpression<int>, int)

Creates a call to the SUBSTR function with a string literal and variable parameters.

Declaration
TypedLiteralExpression<string> Substr(TypedLiteralExpression<string> str, NumericExpression<int> startingLoc, int length)
Parameters
Type Name Description
TypedLiteralExpression<string> str

a string literal parameter.

NumericExpression<int> startingLoc

1-based start index.

int length

substring length.

Returns
Type Description
TypedLiteralExpression<string>
| Edit this page View Source

Substr(TypedLiteralExpression<string>, NumericExpression<int>, NumericExpression<int>)

Creates a call to the SUBSTR function with a string literal and two integer expressions parameters.

Declaration
TypedLiteralExpression<string> Substr(TypedLiteralExpression<string> str, NumericExpression<int> startingLoc, NumericExpression<int> length)
Parameters
Type Name Description
TypedLiteralExpression<string> str

a string literal parameter.

NumericExpression<int> startingLoc

1-based start index.

NumericExpression<int> length

substring length.

Returns
Type Description
TypedLiteralExpression<string>
| Edit this page View Source

Substr(TypedLiteralExpression<string>, NumericExpression<int>, VariableExpression)

Creates a call to the SUBSTR function with a string literal, interger expression and a numeric expression parameters.

Declaration
TypedLiteralExpression<string> Substr(TypedLiteralExpression<string> str, NumericExpression<int> startingLoc, VariableExpression length)
Parameters
Type Name Description
TypedLiteralExpression<string> str

a string literal parameter.

NumericExpression<int> startingLoc

1-based start index.

VariableExpression length

substring length.

Returns
Type Description
TypedLiteralExpression<string>
| Edit this page View Source

Substr(TypedLiteralExpression<string>, VariableExpression)

Creates a call to the SUBSTR function with a string literal and interger expression parameters.

Declaration
TypedLiteralExpression<string> Substr(TypedLiteralExpression<string> str, VariableExpression startingLoc)
Parameters
Type Name Description
TypedLiteralExpression<string> str

a string literal parameter.

VariableExpression startingLoc

a SPARQL variable.

Returns
Type Description
TypedLiteralExpression<string>
| Edit this page View Source

Substr(TypedLiteralExpression<string>, VariableExpression, int)

Creates a call to the SUBSTR function with a string literal and interger expression parameters.

Declaration
TypedLiteralExpression<string> Substr(TypedLiteralExpression<string> str, VariableExpression startingLoc, int length)
Parameters
Type Name Description
TypedLiteralExpression<string> str

a string literal parameter.

VariableExpression startingLoc

a SPARQL variable.

int length

substring length.

Returns
Type Description
TypedLiteralExpression<string>
| Edit this page View Source

Substr(TypedLiteralExpression<string>, VariableExpression, NumericExpression<int>)

Creates a call to the SUBSTR function with a string literal, variable and interger expression parameters.

Declaration
TypedLiteralExpression<string> Substr(TypedLiteralExpression<string> str, VariableExpression startingLoc, NumericExpression<int> length)
Parameters
Type Name Description
TypedLiteralExpression<string> str

a string literal parameter.

VariableExpression startingLoc

a SPARQL variable.

NumericExpression<int> length

substring length.

Returns
Type Description
TypedLiteralExpression<string>
| Edit this page View Source

Substr(TypedLiteralExpression<string>, VariableExpression, VariableExpression)

Creates a call to the SUBSTR function with a string literal, interger expression and a variable parameters.

Declaration
TypedLiteralExpression<string> Substr(TypedLiteralExpression<string> str, VariableExpression startingLoc, VariableExpression length)
Parameters
Type Name Description
TypedLiteralExpression<string> str

a string literal parameter.

VariableExpression startingLoc

a SPARQL variable.

VariableExpression length

substring length.

Returns
Type Description
TypedLiteralExpression<string>
| Edit this page View Source

Substr(VariableExpression, int)

Creates a call to the SUBSTR function with a variable and interger parameters.

Declaration
TypedLiteralExpression<string> Substr(VariableExpression str, int startingLoc)
Parameters
Type Name Description
VariableExpression str

a SPARQL variable.

int startingLoc

1-based start index.

Returns
Type Description
TypedLiteralExpression<string>
| Edit this page View Source

Substr(VariableExpression, int, int)

Creates a call to the SUBSTR function with a variable and interger parameters.

Declaration
TypedLiteralExpression<string> Substr(VariableExpression str, int startingLoc, int length)
Parameters
Type Name Description
VariableExpression str

a SPARQL variable.

int startingLoc

1-based start index.

int length

substring length.

Returns
Type Description
TypedLiteralExpression<string>
| Edit this page View Source

Substr(VariableExpression, int, NumericExpression<int>)

Creates a call to the SUBSTR function with a variable, interger and a numeric expression parameters.

Declaration
TypedLiteralExpression<string> Substr(VariableExpression str, int startingLoc, NumericExpression<int> length)
Parameters
Type Name Description
VariableExpression str

a SPARQL variable.

int startingLoc

1-based start index.

NumericExpression<int> length

substring length.

Returns
Type Description
TypedLiteralExpression<string>
| Edit this page View Source

Substr(VariableExpression, int, VariableExpression)

Creates a call to the SUBSTR function with a variable, interger and a variable parameters.

Declaration
TypedLiteralExpression<string> Substr(VariableExpression str, int startingLoc, VariableExpression length)
Parameters
Type Name Description
VariableExpression str

a SPARQL variable.

int startingLoc

1-based start index.

VariableExpression length

substring length.

Returns
Type Description
TypedLiteralExpression<string>
| Edit this page View Source

Substr(VariableExpression, NumericExpression<int>)

Creates a call to the SUBSTR function with a variable and interger expression parameters.

Declaration
TypedLiteralExpression<string> Substr(VariableExpression str, NumericExpression<int> startingLoc)
Parameters
Type Name Description
VariableExpression str

a SPARQL variable.

NumericExpression<int> startingLoc

1-based start index.

Returns
Type Description
TypedLiteralExpression<string>
| Edit this page View Source

Substr(VariableExpression, NumericExpression<int>, int)

Creates a call to the SUBSTR function with a variable and interger expression parameters.

Declaration
TypedLiteralExpression<string> Substr(VariableExpression str, NumericExpression<int> startingLoc, int length)
Parameters
Type Name Description
VariableExpression str

a SPARQL variable.

NumericExpression<int> startingLoc

1-based start index.

int length

substring length.

Returns
Type Description
TypedLiteralExpression<string>
| Edit this page View Source

Substr(VariableExpression, NumericExpression<int>, NumericExpression<int>)

Creates a call to the SUBSTR function with a variable, interger expression and integer expression parameters.

Declaration
TypedLiteralExpression<string> Substr(VariableExpression str, NumericExpression<int> startingLoc, NumericExpression<int> length)
Parameters
Type Name Description
VariableExpression str

a SPARQL variable.

NumericExpression<int> startingLoc

1-based start index.

NumericExpression<int> length

substring length.

Returns
Type Description
TypedLiteralExpression<string>
| Edit this page View Source

Substr(VariableExpression, NumericExpression<int>, VariableExpression)

Creates a call to the SUBSTR function with a variable, interger expression and a variable parameters.

Declaration
TypedLiteralExpression<string> Substr(VariableExpression str, NumericExpression<int> startingLoc, VariableExpression length)
Parameters
Type Name Description
VariableExpression str

a SPARQL variable.

NumericExpression<int> startingLoc

1-based start index.

VariableExpression length

substring length.

Returns
Type Description
TypedLiteralExpression<string>
| Edit this page View Source

Substr(VariableExpression, VariableExpression)

Creates a call to the SUBSTR function with two variable parameters.

Declaration
TypedLiteralExpression<string> Substr(VariableExpression str, VariableExpression startingLoc)
Parameters
Type Name Description
VariableExpression str

a SPARQL variable.

VariableExpression startingLoc

a SPARQL variable.

Returns
Type Description
TypedLiteralExpression<string>
| Edit this page View Source

Substr(VariableExpression, VariableExpression, int)

Creates a call to the SUBSTR function with two variable parameters.

Declaration
TypedLiteralExpression<string> Substr(VariableExpression str, VariableExpression startingLoc, int length)
Parameters
Type Name Description
VariableExpression str

a SPARQL variable.

VariableExpression startingLoc

a SPARQL variable.

int length

substring length.

Returns
Type Description
TypedLiteralExpression<string>
| Edit this page View Source

Substr(VariableExpression, VariableExpression, NumericExpression<int>)

Creates a call to the SUBSTR function with two variable parameters.

Declaration
TypedLiteralExpression<string> Substr(VariableExpression str, VariableExpression startingLoc, NumericExpression<int> length)
Parameters
Type Name Description
VariableExpression str

a SPARQL variable.

VariableExpression startingLoc

a SPARQL variable.

NumericExpression<int> length

substring length.

Returns
Type Description
TypedLiteralExpression<string>
| Edit this page View Source

Substr(VariableExpression, VariableExpression, VariableExpression)

Creates a call to the SUBSTR function with three variable parameters.

Declaration
TypedLiteralExpression<string> Substr(VariableExpression str, VariableExpression startingLoc, VariableExpression length)
Parameters
Type Name Description
VariableExpression str

a SPARQL variable.

VariableExpression startingLoc

a SPARQL variable.

VariableExpression length

substring length.

Returns
Type Description
TypedLiteralExpression<string>
| Edit this page View Source

UUID()

Creates a call to the UUID function.

Declaration
IriExpression UUID()
Returns
Type Description
IriExpression
| Edit this page View Source

Variable(string)

Creates a SPARQL variable.

Declaration
VariableExpression Variable(string variable)
Parameters
Type Name Description
string variable
Returns
Type Description
VariableExpression

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Properties
    • SparqlVersion
  • Methods
    • BNode()
    • BNode(LiteralExpression)
    • BNode(TypedLiteralExpression<string>)
    • Bound(string)
    • Bound(VariableExpression)
    • Cast(SparqlExpression)
    • Coalesce(params SparqlExpression[])
    • Constant(bool)
    • Constant(byte)
    • Constant(DateTime)
    • Constant(decimal)
    • Constant(double)
    • Constant(short)
    • Constant(int)
    • Constant(sbyte)
    • Constant(float)
    • Constant(string)
    • Constant(Uri)
    • Datatype<TExpression>(PrimaryExpression<TExpression>)
    • Exists(Action<IGraphPatternBuilder>)
    • If(BooleanExpression)
    • If(VariableExpression)
    • IsBlank(string)
    • IsBlank(SparqlExpression)
    • IsIRI(string)
    • IsIRI(SparqlExpression)
    • IsLiteral(string)
    • IsLiteral(SparqlExpression)
    • IsNumeric(string)
    • IsNumeric(SparqlExpression)
    • Lang(LiteralExpression)
    • Lang(VariableExpression)
    • LangMatches(LiteralExpression, string)
    • LangMatches(LiteralExpression, LiteralExpression)
    • LangMatches(LiteralExpression, VariableExpression)
    • LangMatches(VariableExpression, string)
    • LangMatches(VariableExpression, LiteralExpression)
    • LangMatches(VariableExpression, VariableExpression)
    • Regex(LiteralExpression, string)
    • Regex(LiteralExpression, string, string)
    • Regex(LiteralExpression, LiteralExpression)
    • Regex(LiteralExpression, LiteralExpression, string)
    • Regex(LiteralExpression, VariableExpression)
    • Regex(LiteralExpression, VariableExpression, string)
    • Regex(SparqlExpression, string, string)
    • Regex(VariableExpression, string)
    • Regex(VariableExpression, VariableExpression)
    • Regex(VariableExpression, VariableExpression, string)
    • SameTerm(string, string)
    • SameTerm(string, SparqlExpression)
    • SameTerm(SparqlExpression, string)
    • SameTerm(SparqlExpression, SparqlExpression)
    • Str(IriExpression)
    • Str(LiteralExpression)
    • Str(VariableExpression)
    • StrDt(string, Uri)
    • StrDt(string, IriExpression)
    • StrDt(string, VariableExpression)
    • StrDt(LiteralExpression, Uri)
    • StrDt(LiteralExpression, IriExpression)
    • StrDt(LiteralExpression, VariableExpression)
    • StrDt(VariableExpression, Uri)
    • StrDt(VariableExpression, IriExpression)
    • StrDt(VariableExpression, VariableExpression)
    • StrLen(TypedLiteralExpression<string>)
    • StrLen(VariableExpression)
    • StrUUID()
    • Substr(TypedLiteralExpression<string>, int)
    • Substr(TypedLiteralExpression<string>, int, int)
    • Substr(TypedLiteralExpression<string>, int, NumericExpression<int>)
    • Substr(TypedLiteralExpression<string>, int, VariableExpression)
    • Substr(TypedLiteralExpression<string>, NumericExpression<int>)
    • Substr(TypedLiteralExpression<string>, NumericExpression<int>, int)
    • Substr(TypedLiteralExpression<string>, NumericExpression<int>, NumericExpression<int>)
    • Substr(TypedLiteralExpression<string>, NumericExpression<int>, VariableExpression)
    • Substr(TypedLiteralExpression<string>, VariableExpression)
    • Substr(TypedLiteralExpression<string>, VariableExpression, int)
    • Substr(TypedLiteralExpression<string>, VariableExpression, NumericExpression<int>)
    • Substr(TypedLiteralExpression<string>, VariableExpression, VariableExpression)
    • Substr(VariableExpression, int)
    • Substr(VariableExpression, int, int)
    • Substr(VariableExpression, int, NumericExpression<int>)
    • Substr(VariableExpression, int, VariableExpression)
    • Substr(VariableExpression, NumericExpression<int>)
    • Substr(VariableExpression, NumericExpression<int>, int)
    • Substr(VariableExpression, NumericExpression<int>, NumericExpression<int>)
    • Substr(VariableExpression, NumericExpression<int>, VariableExpression)
    • Substr(VariableExpression, VariableExpression)
    • Substr(VariableExpression, VariableExpression, int)
    • Substr(VariableExpression, VariableExpression, NumericExpression<int>)
    • Substr(VariableExpression, VariableExpression, VariableExpression)
    • UUID()
    • Variable(string)
  • Extension Methods
Back to top Generated by DocFX