Hi everybody,
SPARQL query:
SELECT * WHERE {
> BIND ("2017"^^xsd:gYear AS ?stored)
> BIND ("2016-01-13T18:00:00.000+03:00"^^xsd:dateTime AS ?input)
> BIND (
> xsd:dateTime(CONCAT(STR(?stored),"-01-01T00:00:00.000",TZ(?input)))
> AS ?stored_datetime)
> }
Error:
> Virtuoso 22007 Error DT006: Cannot convert 2017-01-01T00:00:00.00003:00 to
> datetime : Incorrect fraction delimiter
It would appear TZ() doesn't export the (+/-) timezone indicator, which it
should do according to
https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-tz
Am I doing something wrong or is this a genuine bug?
Using opensource edition
Version: 07.20.3217
Build: Apr 25 2016
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users