Class SparqlExpression
Represents a SPARQL expression which is not an aggregate.
Inheritance
System.Object
SparqlExpression
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VDS.RDF.Query.Builder.Expressions
Assembly: dotNetRDF.dll
Syntax
public abstract class SparqlExpression : PrimaryExpression<ISparqlExpression>
Constructors
| Improve this Doc View SourceSparqlExpression(ISparqlExpression)
Initializes a new instance of the SparqlExpression class.
Declaration
protected SparqlExpression(ISparqlExpression expression)
Parameters
Type | Name | Description |
---|---|---|
ISparqlExpression | expression | The expression. |
Methods
| Improve this Doc View SourceGe(ISparqlExpression, ISparqlExpression)
Creates a greater than or equal operator usage.
Declaration
protected static BooleanExpression Ge(ISparqlExpression left, ISparqlExpression right)
Parameters
Type | Name | Description |
---|---|---|
ISparqlExpression | left | |
ISparqlExpression | right |
Returns
Type | Description |
---|---|
BooleanExpression |
Gt(ISparqlExpression, ISparqlExpression)
Creates a greater than operator usage.
Declaration
protected static BooleanExpression Gt(ISparqlExpression left, ISparqlExpression right)
Parameters
Type | Name | Description |
---|---|---|
ISparqlExpression | left | |
ISparqlExpression | right |
Returns
Type | Description |
---|---|
BooleanExpression |
In(SparqlExpression[])
Creates a call to the IN function.
Declaration
public BooleanExpression In(params SparqlExpression[] expressions)
Parameters
Type | Name | Description |
---|---|---|
SparqlExpression[] | expressions | the list of SPARQL expressions. |
Returns
Type | Description |
---|---|
BooleanExpression |
Le(ISparqlExpression, ISparqlExpression)
Creates a less than or equal operator usage.
Declaration
protected static BooleanExpression Le(ISparqlExpression left, ISparqlExpression right)
Parameters
Type | Name | Description |
---|---|---|
ISparqlExpression | left | |
ISparqlExpression | right |
Returns
Type | Description |
---|---|
BooleanExpression |
Lt(ISparqlExpression, ISparqlExpression)
Creates a less than operator usage.
Declaration
protected static BooleanExpression Lt(ISparqlExpression left, ISparqlExpression right)
Parameters
Type | Name | Description |
---|---|---|
ISparqlExpression | left | |
ISparqlExpression | right |
Returns
Type | Description |
---|---|
BooleanExpression |
Operators
| Improve this Doc View SourceEquality(SparqlExpression, SparqlExpression)
Declaration
public static BooleanExpression operator ==(SparqlExpression left, SparqlExpression right)
Parameters
Type | Name | Description |
---|---|---|
SparqlExpression | left | |
SparqlExpression | right |
Returns
Type | Description |
---|---|
BooleanExpression |
Inequality(SparqlExpression, SparqlExpression)
Declaration
public static BooleanExpression operator !=(SparqlExpression left, SparqlExpression right)
Parameters
Type | Name | Description |
---|---|---|
SparqlExpression | left | |
SparqlExpression | right |
Returns
Type | Description |
---|---|
BooleanExpression |