Class DataType11Function
Class representing the SPARQL Datatype() function in SPARQL 1.1.
Implements
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)
Namespace: VDS.RDF.Query.Expressions.Functions.Sparql.String
Assembly: dotNetRDF.dll
Syntax
public class DataType11Function : DataTypeFunction, ISparqlExpression
Remarks
This is required because the changes to the function in SPARQL 1.1 are not backwards compatible with SPARQL 1.0.
Constructors
| Improve this Doc View SourceDataType11Function(ISparqlExpression)
Creates a new DataType function.
Declaration
public DataType11Function(ISparqlExpression expr)
Parameters
Type | Name | Description |
---|---|---|
ISparqlExpression | expr | Expression. |
Methods
| Improve this Doc View SourceEvaluate(SparqlEvaluationContext, Int32)
Returns the value of the Expression as evaluated for a given Binding as a Literal Node.
Declaration
public override IValuedNode Evaluate(SparqlEvaluationContext context, int bindingID)
Parameters
Type | Name | Description |
---|---|---|
SparqlEvaluationContext | context | Evaluation Context. |
System.Int32 | bindingID | Binding ID. |
Returns
Type | Description |
---|---|
IValuedNode |