Hi Nikolaos, We shall look into this …
Please note also the following document on Virtuoso Timezone-less data handling:
http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtTimezoneLessDateTime
Best Regards
Hugh Williams
Professional Services
OpenLink Software, Inc. // http://www.openlinksw.com/
Weblog -- http://www.openlinksw.com/blogs/
LinkedIn -- http://www.linkedin.com/company/openlink-software/
Twitter -- http://twitter.com/OpenLink
Google+ -- http://plus.google.com/100570109519069333827/
Facebook -- http://www.facebook.com/OpenLinkSoftware
Universal Data Access, Integration, and Management Technology Providers
> On 7 Oct 2016, at 11:02, Nikolaos Beredimas <[email protected]> wrote:
>
> 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
> <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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/virtuoso-users
