- From: Jakub Klímek via GitHub <sysbot+gh@w3.org>
- Date: Tue, 15 Nov 2022 15:31:02 +0000
- To: public-dxwg-wg@w3.org
@pchampin indeed, ```turtle [] dcat:sparialResolutionInMeters 1e2. ``` is currently invalid, as it indicates the `xsd:double` datatype instead of `xsd:decimal`. However, in Turtle, this is solvable by simply using the correct datatype, i.e. ```turtle [] dcat:sparialResolutionInMeters 100.0 ``` The actual problem in JSON-LD is that it is currently not solvable with JSON decimal numbers used, as those always get transformed to the `xsd:double` syntax while processing JSON, no matter what the JSON-LD context later states as a datatype. I am simply unable to get e.g. `12.1` in the `xsd:decimal` syntax when loaded using an RDF library. I always end up with e.g. `1.21e1` and then there is nothing I can do about that in the RDF world. -- GitHub Notification of comment by jakubklimek Please view or discuss this issue at https://github.com/w3c/dxwg/issues/1536#issuecomment-1315478275 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 15 November 2022 15:31:04 UTC