VOS.VirtTipsAndTricksGuideConv
How to convert between datatypes using SPARQL in Virtuoso?
To convert between datatypes using SPARQL in Virtuoso, one should use the following functions:
- xsd:boolean (in strg any) returns integer
- xsd:dateTime (in strg any) returns datetime
- xsd:double (in strg varchar) returns double precision
- xsd:float (in strg varchar) returns float
- xsd:integer (in strg varchar) returns integer
Examples