W3C home > Mailing lists > Public > public-lod@w3.org > September 2011

Re: Lightweight Java RDF libraries

From: Norman Gray <norman@astro.gla.ac.uk>
Date: Mon, 12 Sep 2011 15:36:49 +0100
Cc: Linking Open Data <public-lod@w3.org>
Message-Id: <B21F330A-80CC-487A-8850-7FF8D84097AC@astro.gla.ac.uk>
To: Jean-Marc Vanel <jeanmarc.vanel@gmail.com>, Armando Stellato <stellato@info.uniroma2.it>

Jean-Marc, and Armando, hello.

On 2011 Sep 12, at 13:49, Jean-Marc Vanel wrote:

> That's a good question that I asked myself when I started EulerGUI.
> And I couldn't also find a right answer.
> Then the project, geared towards GUI and rules, proceeded, and I
> forgot the question. We used Jena for parsing RDF/XML, OWL-API for
> OWL/XML.
> And for N3 including quoted graphs and rules, we built a parser.
> Then , along the way , we built an API able to parse any RDF dialect (
> Turtle/N3, RDF/XML, OWL/XML, and more  ) .
> Here is a sample:

Thanks for this.  EulerGUI looks like an attractive and simple API, and I could probably get round the 'only 5 jars' problem by rebundling the collection of jars that's required.

Armando Stellato commented:

> I don't think Sesame and Jena are all that complicate: maybe that, to
> accomplish with your requirement for a rdfdummy-compliant library, they may
> need a documentation avoiding all the more complicate aspects. But building
> such a documentation, tailored upon all your needs, would really be easy, as
> you may need just to copy&paste excerpts from the original ones.

I have enough experience with Jena to know that it is indeed pretty simple.  For _all_ these APIs, the basic example of opening up an RDF file and iterating through the contents works out at roughly the same size and complexity.

It's just that I also have experience of the look on people's faces when I say, no, RDF _is_ simple, and here's this 20MB jar you need to parse it.  It's not the disk space, it's the pages of extra classfile documentation that put off the highly technical, but technically conservative colleagues I'm thinking of.

I received a pointer, off-list, to librdf.org, acknowledging that this wasn't Java.   I know librdf well, and like it.  _That's_ what I'm looking for in Java.  I like librdf for all the things it doesn't do, and the comforting air of unshakable stability that it therefore radiates.

Best wishes,

Norman


-- 
Norman Gray  :  http://nxg.me.uk
SUPA School of Physics and Astronomy, University of Glasgow, UK
Received on Monday, 12 September 2011 14:37:20 UTC

This archive was generated by hypermail 2.3.1 : Sunday, 31 March 2013 14:24:35 UTC