LML and RX
Last weekend I got to thinking about alternative representations for RDF in XML, inspired by Bill de hÓra’s LML format.
Over the course of this week, there was some discussion on www-rdf-interest that prompted me to think through some of the details.
This weekend, I wrote up what I was thinking a bit more specifically. The result is a format for RDF in XML called Rx. It’s basically an unstriped syntax for RDF in XML which maps RDF Properties to XML elements, with RDF/XML’s parseType="Resource" the default.
Coming full circle, I can now re-express LML in RX, in order to get an idea of how different it is from Bill’s pure-XML syntax.
The major difference compared to Bill’s format is the moving of data out of attributes an into XML elements. RX just doesn’t allow it, since it’s yet another option for serialization that it is possible to do away with.
In any case, here’s the same LML example from last week, but in RX: