Class NumericTypesHelper
Class containing helper functions related to SPARQL numeric types.
Inherited Members
Namespace: VDS.RDF.Query
Assembly: dotNetRdf.dll
Syntax
public static class NumericTypesHelper
Fields
| Edit this page View SourceIntegerDataTypes
Set of XML Schema Data Types which are derived from Integer and can be treated as Integers by SPARQL.
Declaration
public static string[] IntegerDataTypes
Field Value
| Type | Description |
|---|---|
| string[] |
Methods
| Edit this page View SourceGetNumericTypeFromDataTypeUri(string)
Determines the Sparql Numeric Type for a Literal based on its Data Type Uri.
Declaration
public static SparqlNumericType GetNumericTypeFromDataTypeUri(string dtUri)
Parameters
| Type | Name | Description |
|---|---|---|
| string | dtUri | Data Type Uri as a String. |
Returns
| Type | Description |
|---|---|
| SparqlNumericType |
GetNumericTypeFromDataTypeUri(Uri)
Determines the Sparql Numeric Type for a Literal based on its Data Type Uri.
Declaration
public static SparqlNumericType GetNumericTypeFromDataTypeUri(Uri dtUri)
Parameters
| Type | Name | Description |
|---|---|---|
| Uri | dtUri | Data Type Uri. |
Returns
| Type | Description |
|---|---|
| SparqlNumericType |