Search code examples
c#coordinatesrdfprotegerdfs

How to store coordinates(Latitude,Longitude) in RDF


I have a c# class showing the coordinates as

 class Coordinates{
   double lat;
   double lon;
 }

how can i convert it in rdf triples in rdf as the RDF does not support double type?and if float is used i can only represent 6 digits after the "." any idea?

I am using Protege 3.4.8 to create my rdf schema and Semweb to write triples of data in the scema...


Solution

  • problem solved by manually changing the RDF file produced by Protege and putting http://www.w3.org/2001/XMLSchema#double at the point i needed it.