Class SparqlExpression
Represents a SPARQL expression which is not an aggregate.
Inheritance
System.Object
SparqlExpression
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
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(params 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 Sourceoperator ==(SparqlExpression, SparqlExpression)
Declaration
public static BooleanExpression operator ==(SparqlExpression left, SparqlExpression right)
Parameters
Type | Name | Description |
---|---|---|
SparqlExpression | left | |
SparqlExpression | right |
Returns
Type | Description |
---|---|
BooleanExpression |
operator !=(SparqlExpression, SparqlExpression)
Declaration
public static BooleanExpression operator !=(SparqlExpression left, SparqlExpression right)
Parameters
Type | Name | Description |
---|---|---|
SparqlExpression | left | |
SparqlExpression | right |
Returns
Type | Description |
---|---|
BooleanExpression |