Re: Which file format to use?

On 10/19/14, 4:13 PM, Victor Porton wrote:
> I need to feed a program I am writing a finite ordered list whose members may be:
>
> * A pair of URLs which denotes a transformation
>
> * A pair of URLs which denotes a script
>
> * A set of URLs (which also describe a kind of transformation)
>
> In short, I need a finite ordered list, which consist of URLs together with information how to use these URLs (e.g. to differentiate between scripts and transformations, each represented as a pair of URLs)
>
> In which file format would you recommend to write this kinds of information?
>
> Should I describe this in RDF?
>
> Are there lists in Turtle?
>
> Or should I recommend users to use RDF/XML because of its explicit loops?
>
> Maybe even to switch from RDF to plain XML?

Or JSON.  If you're writing in C++, libuc is great for JSON or XML. I suppose I should consider adding RDF tuples and graphs.
https://github.com/sdwlig/libuc

I am also considering adding JSON, RDF, etc. to SSX this for Java:
https://code.google.com/p/super-simple-xml/

>
> --
> Victor Porton - http://portonvictor.org

Stephen

-- 
Stephen D. Williams sdw@lig.net stephendwilliams@gmail.com LinkedIn: http://sdw.st/in

Received on Monday, 20 October 2014 00:56:16 UTC