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

Re: Lightweight Java RDF libraries

From: Henry Story <henry.story@bblfish.net>
Date: Thu, 15 Sep 2011 09:13:57 +0200
Cc: Linking Open Data <public-lod@w3.org>, Dan Connolly <connolly@w3.org>
Message-Id: <7BEDC2E1-091C-4927-B430-8D03C8F1536C@bblfish.net>
To: Norman Gray <norman@astro.gla.ac.uk>
If you want code for which people can get an overview, you could check out Dan Connolly Scala project started a year and a half ago 

  http://code.google.com/p/swap-scala/

I think it could do the minimum that you are looking for. It is less than 10 pages of code too written by an expert in the semantic Web, Dan Connolly wrote the cwm python semweb tool. He was trying his hand out at Scala for this. Perhaps this is a project to take over and build on. 

Henry

On 12 Sep 2011, at 13:39, Norman Gray wrote:

> 
> Greetings.
> 
> Can anyone point me towards a simple/lightweight Java RDF library?
> 
> Here, I mean 'lightweight' in the sense of having a small API, rather than a small jar, because if one is trying to persuade people that RDF is a useful and practical thing, then hauling out a manual which could crush a small donkey is a difficult place to start.  I want an RDF gateway drug^Wlibrary.
> 
> All I really want to be able to (demonstrate I can) do is to read and write RDF/XML and Turtle, create triples, and iterate through a graph.   Simple inference I wouldn't say no to, but wouldn't need; and SPARQL would be unnecessary for the scope and userbase I have in mind.
> 
> Ideally, I'd like to be able to say "here is a little jar to put on your classpath, and here is a webpage with a few examples which make simple things simple; have fun".
> 
> Jena I've used a lot, and like, but ... well, see remarks about maltreated donkeys above.  Sesame I've used less, but it's still a four-types-of-batteries included solution.
> 
> JRDF <http://jrdf.sourceforge.net/> is I think intended to be small, but looking at its documentation, it seems to have become fuller-featured over time.  Also, it's marked as 'inactive', which is nudging one away from using it for new projects.
> 
> rdf2go looks attractive, and seems to be aimed in part at the same semweb-sceptical userbase.  But as an abstraction layer over other triple stores, it fails my 'one jar' goal.
> 
> I imagine it would be possible to try to extract some some sort of bare-bones Jena subset, but I can't help thinking that would be quite a lot of work (I haven't looked at the feasibility in any detail).
> 
> Yes, disk space is cheap, and yes, I can' just write a "primer for sceptics" set of examples, but if there's a bare-bones librarylet knocking around, that I haven't found, then I'd like to use it, and I imagine the LOD list would know of it.
> 
> Thanks for any pointers.
> 
> All the best,
> 
> Norman
> 
> 
> -- 
> Norman Gray  :  http://nxg.me.uk
> SUPA School of Physics and Astronomy, University of Glasgow, UK
> 
> 

Social Web Architect
http://bblfish.net/
Received on Thursday, 15 September 2011 07:14:40 UTC

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