Migrate the RDF parser away from MRG

MRG was originally distributed by mulgara.org (it was the RDF parser used by the Mulgara database), but for some reason or another it's no longer maintained (or not maintained separately). mrg-0.7 is still available in the Maven repository, and presumably won't disappear, but it isn't readily available in source form.

It would be at least tidy to migrate to another RDF parser, and (by using a library more easily available) would make it easier for Unity to be packaged for eg Debian.

Possibilities include:

  • Whatever parser is currently used in Mulgara? Hmmm.... Mulgara's not looking very active these days.
  • RDF4j's rio
  • NxParser
  • Jena (rather heavyweight, if I recall correctly)

(JRDF is inactive, and sesame / OpenRDF.org has vanished).

MRG is currently used only in src/buildtools/src/uk/me/nxg/unity/ParseUnits.java so swapping it out shouldn't be a massive challenge.

Assigned to
1 year, 10 months ago
1 year, 10 months ago
No labels applied.

~nxg 1 year, 10 months ago

I'm using RDF4j. It mostly works, except... (inevitably) the graphs are queried in a different order in different libraries, and thus I discover that the previous version worked slightly by accident.

Damn: I have managed to make this long in my career without ever having to make sense of CGS-ESU units and their somewhat unexpected dimensions.

~nxg REPORTED FIXED 1 year, 10 months ago

Register here or Log in to comment, or comment via email.