fadmaa / grefine-rdf-extension

An extension to Google Refine that enables graphical mapping of Google Refine project data to an RDF skeleton and then exporting it in RDF format
http://refine.deri.ie
Other
94 stars 55 forks source link

issue with int datatype #55

Open ghost opened 12 years ago

ghost commented 12 years ago

column is set 'to number', an example value is 80043. in rdf skeleton the text cell has been set to integer. when looking at the genarated rdf I get vl:aantal_bewoners "80043.0"^^xsd:int where '.0' is being appended to the initial value, generating warnings on not being an int in other rdf aware software in my processing chain.

fadmaa commented 12 years ago

toNumber is casting the values into Doubles... when I tried it I was getting the erroneous ".0" attached to the numbers. restarting Google Refine strangely eliminates the trailing ".0". Does this happen you as well?

ghost commented 12 years ago

Yes, after restarting Google Refine the erroneous '.0's are gone.