linkedpipes / dcat-ap-forms

Forms application for filling out DCAT-AP v2.0.0 compatible metadata
MIT License
2 stars 2 forks source link

Change spatial resolution in meters in JSON to string #195

Closed jakubklimek closed 3 months ago

jakubklimek commented 1 year ago

There is a problem with handling xsd:decimals in JSON-LD when the number is an actual JSON Number, which can only be either integer or double. This leads to having double number representation in xsd:decimal RDF literal, e.g. "1.2E1"^^xsd:decimal, which is invalid. The only solution is to represent those decimal numbers as JSON Strings, so that they do not get converted.