Interface INonAggregateExpressionBuilder
Provides methods for building SPARQL expressions, but not aggregates.
Namespace: VDS.RDF.Query.Builder
Assembly: dotNetRdf.dll
Syntax
public interface INonAggregateExpressionBuilder
Properties
| Improve this Doc View SourceSparqlVersion
SPARQL syntax verions to use when creating expressions.
Declaration
SparqlQuerySyntax SparqlVersion { get; set; }
Property Value
Type | Description |
---|---|
SparqlQuerySyntax |
Methods
| Improve this Doc View SourceBNode()
Creates a parameterless call to the BNODE function.
Declaration
BlankNodeExpression BNode()
Returns
Type | Description |
---|---|
BlankNodeExpression |
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 |
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 |
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 |
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 |
Cast(SparqlExpression)
Builds a SPARQL constructor function call.
Declaration
SparqlCastBuilder Cast(SparqlExpression castedExpression)
Parameters
Type | Name | Description |
---|---|---|
SparqlExpression | castedExpression |
Returns
Type | Description |
---|---|
SparqlCastBuilder |
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 |
Constant(bool)
Creates a boolean constant.
Declaration
TypedLiteralExpression<bool> Constant(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value |
Returns
Type | Description |
---|---|
TypedLiteralExpression<System.Boolean> |
Constant(byte)
Creates a numeric constant.
Declaration
NumericExpression<byte> Constant(byte value)
Parameters
Type | Name | Description |
---|---|---|
byte | value |
Returns
Type | Description |
---|---|
NumericExpression<byte> |
Constant(DateTime)
Creates a datetime constant.
Declaration
TypedLiteralExpression<DateTime> Constant(DateTime value)
Parameters
Type | Name | Description |
---|---|---|
System.DateTime | value |
Returns
Type | Description |
---|---|
TypedLiteralExpression<System.DateTime> |
Constant(decimal)
Creates a numeric constant.
Declaration
NumericExpression<decimal> Constant(decimal value)
Parameters
Type | Name | Description |
---|---|---|
decimal | value |
Returns
Type | Description |
---|---|
NumericExpression<decimal> |
Constant(double)
Creates a numeric constant.
Declaration
NumericExpression<double> Constant(double value)
Parameters
Type | Name | Description |
---|---|---|
double | value |
Returns
Type | Description |
---|---|
NumericExpression<double> |
Constant(short)
Creates a numeric constant.
Declaration
NumericExpression<short> Constant(short value)
Parameters
Type | Name | Description |
---|---|---|
short | value |
Returns
Type | Description |
---|---|
NumericExpression<short> |
Constant(int)
Creates a numeric constant.
Declaration
NumericExpression<int> Constant(int value)
Parameters
Type | Name | Description |
---|---|---|
int | value |
Returns
Type | Description |
---|---|
NumericExpression<int> |
Constant(sbyte)
Creates a numeric constant.
Declaration
NumericExpression<sbyte> Constant(sbyte value)
Parameters
Type | Name | Description |
---|---|---|
sbyte | value |
Returns
Type | Description |
---|---|
NumericExpression<sbyte> |
Constant(float)
Creates a numeric constant.
Declaration
NumericExpression<float> Constant(float value)
Parameters
Type | Name | Description |
---|---|---|
float | value |
Returns
Type | Description |
---|---|
NumericExpression<float> |
Constant(string)
Creates a string constant.
Declaration
TypedLiteralExpression<string> Constant(string value)
Parameters
Type | Name | Description |
---|---|---|
string | value |
Returns
Type | Description |
---|---|
TypedLiteralExpression<string> |
Constant(Uri)
Creates an IRI constant.
Declaration
RdfTermExpression Constant(Uri value)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | value |
Returns
Type | Description |
---|---|
RdfTermExpression |
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 VDS.RDF.Query.Builder.ExpressionBuilder.SparqlVersion will use a different flavour of datatype function.
Exists(Action<IGraphPatternBuilder>)
Creates a call of the EXISTS function.
Declaration
BooleanExpression Exists(Action<IGraphPatternBuilder> buildExistsPattern)
Parameters
Type | Name | Description |
---|---|---|
System.Action<T><IGraphPatternBuilder> | buildExistsPattern | a function, which will create the graph pattern parameter. |
Returns
Type | Description |
---|---|
BooleanExpression |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
StrDt(string, Uri)
Creates a call to the STRDT function with a simple literal and a System.Uri parameters.
Declaration
LiteralExpression StrDt(string lexicalForm, Uri datatypeIri)
Parameters
Type | Name | Description |
---|---|---|
string | lexicalForm | a literal. |
System.Uri | datatypeIri | datatype IRI. |
Returns
Type | Description |
---|---|
LiteralExpression |
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 |
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 |
StrDt(LiteralExpression, Uri)
Creates a call to the STRDT function with a simple literal and a System.Uri parameters.
Declaration
LiteralExpression StrDt(LiteralExpression lexicalForm, Uri datatypeIri)
Parameters
Type | Name | Description |
---|---|---|
LiteralExpression | lexicalForm | a SPARQL simple literal. |
System.Uri | datatypeIri | datatype IRI. |
Returns
Type | Description |
---|---|
LiteralExpression |
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 |
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 |
StrDt(VariableExpression, Uri)
Creates a call to the STRDT function with a variable and a System.Uri parameters.
Declaration
LiteralExpression StrDt(VariableExpression lexicalForm, Uri datatypeIri)
Parameters
Type | Name | Description |
---|---|---|
VariableExpression | lexicalForm | a literal. |
System.Uri | datatypeIri | datatype IRI. |
Returns
Type | Description |
---|---|
LiteralExpression |
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 |
StrDt(VariableExpression, VariableExpression)
Creates a call to the STRDT function with a variable and a System.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 |
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> |
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> |
StrUUID()
Creates a call to the StrUUID function.
Declaration
LiteralExpression StrUUID()
Returns
Type | Description |
---|---|
LiteralExpression |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
UUID()
Creates a call to the UUID function.
Declaration
IriExpression UUID()
Returns
Type | Description |
---|---|
IriExpression |
Variable(string)
Creates a SPARQL variable.
Declaration
VariableExpression Variable(string variable)
Parameters
Type | Name | Description |
---|---|---|
string | variable |
Returns
Type | Description |
---|---|
VariableExpression |