The Room Do I dare disturb the universe?

Hacks

Hacks

So I’ve been toying with the idea behind Audrey Tang’s RDF::Yaml and the fact that JSON is YAML (http://redhanded.hobix.com/inspect/yamlIsJson.html) … last night things finally coalesced in my head to produce the RDF to YAML or JSON Translator

You can plug in a URL to a RDF/XML document, optionally specifiy which URI in that document you want to serialize … and poof you get back either JSON or YAML.

The whole thing, REST web service and all took 90 lines to write, and I’m confident it will work in both mod_perl’s and CGI. Isn’t that neat? I think it’s neat.

Edit: I went searching for some prior art and found the following

Also this list should include the inspiration RDF::Yaml.