Closed EmidioStani closed 1 year ago
Hello Emidio, could you provide a minimal Excel input file demonstrating this behavior, as a reproductible test ? I am not sure this is the intended behavior, although I am sure that a difference between xsd:double and xsd:float or xsd:decimal is that xsd:decimal supports scientific notification. Thanks
Hello @tfrancart ,
yes you can find the spreadsheet in attachment. demo_data_excel2skos (42).xlsx
However, I noticed this is related to the Turtle serialization, indeed in RDF4J, as for version 3.7.0 (May 2021), it has been introduced a setting (ABBREVIATE_NUMBERS) to disable abbreviations (in addition to other settings ), see issue https://github.com/eclipse/rdf4j/issues/2886.
When converting from RDF/XML (generated from Skos-Play!) to Turtle, I notice that the conversion to scientific notation is applied to:
however with:
the data type is added without altering the value, so I could have a workaround there.
It would be nice to have such settings that you could pass as parameters.
Thanks ! indeed this is related to Turtle serialisation, and the RDF/XML variant does not use scientific notation:
We still rely on RDF4J 2.5.4, probably time to upgrade !
Hello @EmidioStani this is now fixed !
Thanks, it is solved !
Hello @tfrancart ,
when converting from spreadsheet, if the column has datatype xsd:double ( for example qudt:value^^xsd:double) and I have numeric value (240) then the datatype is not added to the value (240^^xsd:double), instead the numeric value is converted to double format (2.4E2) .
Is this expected behaviour ?