-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duration gets converted to months #936
Comments
@pkleef @HughWilliams @IvanMikhailov @iv-an-ru @openlink I've quickly recreated the issue on Open Source Edition |
@TallTed The issue is not quite the same between VOS and VEE as the former returns "219" and the latter "P219M". And "P219M" is a valid xsd:duration it seems, even if not in exactly the same form loaded. So question for @IvanMikhailov is if VEE value is as intended and if it can be ported to VOS ... |
@HughWilliams /cc @IvanMikhailov As you say, "P219M" is a valid So, I see two issues.
|
Any progress on this? |
I think it would be enough to fix VOS to at least turn As for the loss of format, I presume all recognized primitive datatypes are affected by this, for example |
I also ran into related issues. PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT ?duration WHERE {
BIND("PT1S"^^xsd:duration AS ?duration)
} On https://dbpedia.org/sparql (Virtuoso 8) I get:
which is invalid duration.
Actually loading the triple <http://a> <http://b> "PT1S"^^xsd:duration into VOS however converts it to |
We are looking into the reported issues ... |
@HughWilliams we are working with duration as well and see the issue popping up. Any progress? |
This issue is still to be scheduled for looking into by development. |
When would this be scheduled, or is there a way to give this priority? This is a significant data integrity issue; data goes in valid and comes out transformed and invalid. |
To add to the background: the conversion is also not consistent. The value |
Development should be able to schedule to look into this in the next few weeks, when current tasks are completed ... |
Uploading this triple:
The literal, representing 18 years and 3 months, gets converted when added via Quad Store Upload to
"219"^^xsd:duration
, which is the same duration but in months. This doesn't seem correct to me, and it doesn't happen for other datatypes. How do I turn it off?Version 07.20.3230
The text was updated successfully, but these errors were encountered: