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

| Improve this Doc View Source

SparqlVersion

SPARQL syntax verions to use when creating expressions.
Declaration
SparqlQuerySyntax SparqlVersion { get; set; }
Property Value
Type Description
SparqlQuerySyntax

Methods

| Improve this Doc View Source

BNode()

Creates a parameterless call to the BNODE function.
Declaration
BlankNodeExpression BNode()
Returns
Type Description
BlankNodeExpression
| Improve this Doc 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
| Improve this Doc 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<System.String> stringLiteral a SPARQL string literal.
Returns
Type Description
BlankNodeExpression
| Improve this Doc View Source

Bound(String)

Creates a call to the BOUND function with a variable parameter.
Declaration
BooleanExpression Bound(string var)
Parameters
Type Name Description
System.String var a SPARQL variable name.
Returns
Type Description
BooleanExpression
| Improve this Doc 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
| Improve this Doc 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
| Improve this Doc View Source

Coalesce(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
| Improve this Doc View Source

Constant(Boolean)

Creates a boolean constant.
Declaration
TypedLiteralExpression<bool> Constant(bool value)
Parameters
Type Name Description
System.Boolean value
Returns
Type Description
TypedLiteralExpression<System.Boolean>
| Improve this Doc View Source

Constant(Byte)

Creates a numeric constant.
Declaration
NumericExpression<byte> Constant(byte value)
Parameters
Type Name Description
System.Byte value
Returns
Type Description
NumericExpression<System.Byte>
| Improve this Doc View Source

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>
| Improve this Doc View Source

Constant(Decimal)

Creates a numeric constant.
Declaration
NumericExpression<decimal> Constant(decimal value)
Parameters
Type Name Description
System.Decimal value
Returns
Type Description
NumericExpression<System.Decimal>
| Improve this Doc View Source

Constant(Double)

Creates a numeric constant.
Declaration
NumericExpression<double> Constant(double value)
Parameters
Type Name Description
System.Double value
Returns
Type Description
NumericExpression<System.Double>
| Improve this Doc View Source

Constant(Int16)

Creates a numeric constant.
Declaration
NumericExpression<short> Constant(short value)
Parameters
Type Name Description
System.Int16 value
Returns
Type Description
NumericExpression<System.Int16>
| Improve this Doc View Source

Constant(Int32)

Creates a numeric constant.
Declaration
NumericExpression<int> Constant(int value)
Parameters
Type Name Description
System.Int32 value
Returns
Type Description
NumericExpression<System.Int32>
| Improve this Doc View Source

Constant(SByte)

Creates a numeric constant.
Declaration
NumericExpression<sbyte> Constant(sbyte value)
Parameters
Type Name Description
System.SByte value
Returns
Type Description
NumericExpression<System.SByte>
| Improve this Doc View Source

Constant(Single)

Creates a numeric constant.
Declaration
NumericExpression<float> Constant(float value)
Parameters
Type Name Description
System.Single value
Returns
Type Description
NumericExpression<System.Single>
| Improve this Doc View Source

Constant(String)

Creates a string constant.
Declaration
TypedLiteralExpression<string> Constant(string value)
Parameters
Type Name Description
System.String value
Returns
Type Description
TypedLiteralExpression<System.String>
| Improve this Doc View Source

Constant(Uri)

Creates an IRI constant.
Declaration
RdfTermExpression Constant(Uri value)
Parameters
Type Name Description
System.Uri value
Returns
Type Description
RdfTermExpression
| Improve this Doc 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 VDS.RDF.Query.Builder.ExpressionBuilder.SparqlVersion will use a different flavour of datatype function.
| Improve this Doc View Source

Exists(Action<IGraphPatternBuilder>)

Creates a call of the EXISTS function.
Declaration
BooleanExpression Exists(Action<IGraphPatternBuilder> buildExistsPattern)
Parameters
Type Name Description
System.Action<IGraphPatternBuilder> buildExistsPattern a function, which will create the graph pattern parameter.
Returns
Type Description
BooleanExpression
| Improve this Doc 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
| Improve this Doc 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
| Improve this Doc View Source

IsBlank(String)

Creates a call to the isBlank function with a variable parameter.
Declaration
BooleanExpression IsBlank(string variableName)
Parameters
Type Name Description
System.String variableName name of variable to check.
Returns
Type Description
BooleanExpression
| Improve this Doc 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
| Improve this Doc View Source

IsIRI(String)

Creates a call to the isIRI function with a variable parameter.
Declaration
BooleanExpression IsIRI(string variableName)
Parameters
Type Name Description
System.String variableName name of variable to check.
Returns
Type Description
BooleanExpression
| Improve this Doc 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
| Improve this Doc View Source

IsLiteral(String)

Creates a call to the isLiteral function with a variable parameter.
Declaration
BooleanExpression IsLiteral(string variableName)
Parameters
Type Name Description
System.String variableName name of variable to check.
Returns
Type Description
BooleanExpression
| Improve this Doc 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
| Improve this Doc View Source

IsNumeric(String)

Creates a call to the isNumeric function with a variable parameter.
Declaration
BooleanExpression IsNumeric(string variableName)
Parameters
Type Name Description
System.String variableName name of variable to check.
Returns
Type Description
BooleanExpression
| Improve this Doc 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
| Improve this Doc 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
| Improve this Doc 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
| Improve this Doc 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
System.String languageRange
Returns
Type Description
BooleanExpression
| Improve this Doc 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
| Improve this Doc 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
| Improve this Doc 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
System.String languageRange
Returns
Type Description
BooleanExpression
| Improve this Doc 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
| Improve this Doc 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
| Improve this Doc 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
System.String pattern
Returns
Type Description
BooleanExpression
| Improve this Doc 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
System.String pattern
System.String flags
Returns
Type Description
BooleanExpression
| Improve this Doc 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
| Improve this Doc 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
System.String flags
Returns
Type Description
BooleanExpression
| Improve this Doc 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
| Improve this Doc 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
System.String flags
Returns
Type Description
BooleanExpression
| Improve this Doc 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
System.String pattern
System.String flags
Returns
Type Description
BooleanExpression
| Improve this Doc 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
System.String pattern
Returns
Type Description
BooleanExpression
| Improve this Doc 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
| Improve this Doc 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
System.String flags
Returns
Type Description
BooleanExpression
| Improve this Doc 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
System.String left a variable name.
System.String right a variable name.
Returns
Type Description
BooleanExpression
| Improve this Doc 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
System.String left a variable name.
SparqlExpression right a SPARQL expression.
Returns
Type Description
BooleanExpression
| Improve this Doc 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.
System.String right a variable name.
Returns
Type Description
BooleanExpression
| Improve this Doc 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
| Improve this Doc 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
| Improve this Doc 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
| Improve this Doc 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
| Improve this Doc View Source

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
System.String lexicalForm a literal.
System.Uri datatypeIri datatype IRI.
Returns
Type Description
LiteralExpression
| Improve this Doc 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
System.String lexicalForm a literal.
IriExpression datatypeIri datatype IRI.
Returns
Type Description
LiteralExpression
| Improve this Doc 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
System.String lexicalForm a literal.
VariableExpression datatypeIri datatype IRI.
Returns
Type Description
LiteralExpression
| Improve this Doc View Source

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
| Improve this Doc 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
| Improve this Doc 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
| Improve this Doc View Source

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
| Improve this Doc 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
| Improve this Doc View Source

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
| Improve this Doc 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<System.String> str a string literal parameter.
Returns
Type Description
NumericExpression<System.Int32>
| Improve this Doc 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<System.Int32>
| Improve this Doc View Source

StrUUID()

Creates a call to the StrUUID function.
Declaration
LiteralExpression StrUUID()
Returns
Type Description
LiteralExpression
| Improve this Doc View Source

Substr(TypedLiteralExpression<String>, Int32)

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<System.String> str a string literal parameter.
System.Int32 startingLoc 1-based start index.
Returns
Type Description
TypedLiteralExpression<System.String>
| Improve this Doc View Source

Substr(TypedLiteralExpression<String>, Int32, Int32)

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<System.String> str a string literal parameter.
System.Int32 startingLoc 1-based start index.
System.Int32 length substring length.
Returns
Type Description
TypedLiteralExpression<System.String>
| Improve this Doc View Source

Substr(TypedLiteralExpression<String>, Int32, NumericExpression<Int32>)

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<System.String> str a string literal parameter.
System.Int32 startingLoc 1-based start index.
NumericExpression<System.Int32> length substring length.
Returns
Type Description
TypedLiteralExpression<System.String>
| Improve this Doc View Source

Substr(TypedLiteralExpression<String>, Int32, 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<System.String> str a string literal parameter.
System.Int32 startingLoc 1-based start index.
VariableExpression length substring length.
Returns
Type Description
TypedLiteralExpression<System.String>
| Improve this Doc View Source

Substr(TypedLiteralExpression<String>, NumericExpression<Int32>)

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<System.String> str a string literal parameter.
NumericExpression<System.Int32> startingLoc 1-based start index.
Returns
Type Description
TypedLiteralExpression<System.String>
| Improve this Doc View Source

Substr(TypedLiteralExpression<String>, NumericExpression<Int32>, Int32)

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<System.String> str a string literal parameter.
NumericExpression<System.Int32> startingLoc 1-based start index.
System.Int32 length substring length.
Returns
Type Description
TypedLiteralExpression<System.String>
| Improve this Doc View Source

Substr(TypedLiteralExpression<String>, NumericExpression<Int32>, NumericExpression<Int32>)

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<System.String> str a string literal parameter.
NumericExpression<System.Int32> startingLoc 1-based start index.
NumericExpression<System.Int32> length substring length.
Returns
Type Description
TypedLiteralExpression<System.String>
| Improve this Doc View Source

Substr(TypedLiteralExpression<String>, NumericExpression<Int32>, 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<System.String> str a string literal parameter.
NumericExpression<System.Int32> startingLoc 1-based start index.
VariableExpression length substring length.
Returns
Type Description
TypedLiteralExpression<System.String>
| Improve this Doc 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<System.String> str a string literal parameter.
VariableExpression startingLoc a SPARQL variable.
Returns
Type Description
TypedLiteralExpression<System.String>
| Improve this Doc View Source

Substr(TypedLiteralExpression<String>, VariableExpression, Int32)

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<System.String> str a string literal parameter.
VariableExpression startingLoc a SPARQL variable.
System.Int32 length substring length.
Returns
Type Description
TypedLiteralExpression<System.String>
| Improve this Doc View Source

Substr(TypedLiteralExpression<String>, VariableExpression, NumericExpression<Int32>)

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<System.String> str a string literal parameter.
VariableExpression startingLoc a SPARQL variable.
NumericExpression<System.Int32> length substring length.
Returns
Type Description
TypedLiteralExpression<System.String>
| Improve this Doc 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<System.String> str a string literal parameter.
VariableExpression startingLoc a SPARQL variable.
VariableExpression length substring length.
Returns
Type Description
TypedLiteralExpression<System.String>
| Improve this Doc View Source

Substr(VariableExpression, Int32)

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.
System.Int32 startingLoc 1-based start index.
Returns
Type Description
TypedLiteralExpression<System.String>
| Improve this Doc View Source

Substr(VariableExpression, Int32, Int32)

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.
System.Int32 startingLoc 1-based start index.
System.Int32 length substring length.
Returns
Type Description
TypedLiteralExpression<System.String>
| Improve this Doc View Source

Substr(VariableExpression, Int32, NumericExpression<Int32>)

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.
System.Int32 startingLoc 1-based start index.
NumericExpression<System.Int32> length substring length.
Returns
Type Description
TypedLiteralExpression<System.String>
| Improve this Doc View Source

Substr(VariableExpression, Int32, 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.
System.Int32 startingLoc 1-based start index.
VariableExpression length substring length.
Returns
Type Description
TypedLiteralExpression<System.String>
| Improve this Doc View Source

Substr(VariableExpression, NumericExpression<Int32>)

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<System.Int32> startingLoc 1-based start index.
Returns
Type Description
TypedLiteralExpression<System.String>
| Improve this Doc View Source

Substr(VariableExpression, NumericExpression<Int32>, Int32)

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<System.Int32> startingLoc 1-based start index.
System.Int32 length substring length.
Returns
Type Description
TypedLiteralExpression<System.String>
| Improve this Doc View Source

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

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<System.Int32> startingLoc 1-based start index.
NumericExpression<System.Int32> length substring length.
Returns
Type Description
TypedLiteralExpression<System.String>
| Improve this Doc View Source

Substr(VariableExpression, NumericExpression<Int32>, 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<System.Int32> startingLoc 1-based start index.
VariableExpression length substring length.
Returns
Type Description
TypedLiteralExpression<System.String>
| Improve this Doc 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<System.String>
| Improve this Doc View Source

Substr(VariableExpression, VariableExpression, Int32)

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.
System.Int32 length substring length.
Returns
Type Description
TypedLiteralExpression<System.String>
| Improve this Doc View Source

Substr(VariableExpression, VariableExpression, NumericExpression<Int32>)

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<System.Int32> length substring length.
Returns
Type Description
TypedLiteralExpression<System.String>
| Improve this Doc 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<System.String>
| Improve this Doc View Source

UUID()

Creates a call to the UUID function.
Declaration
IriExpression UUID()
Returns
Type Description
IriExpression
| Improve this Doc View Source

Variable(String)

Creates a SPARQL variable.
Declaration
VariableExpression Variable(string variable)
Parameters
Type Name Description
System.String variable
Returns
Type Description
VariableExpression

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX