[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lyo-dev] Fwd: Lightweight Java RDF libraries
- From: Steve Speicher <sspeiche@xxxxxxxxx>
- Date: Thu, 15 Sep 2011 14:57:38 -0400
- Delivered-to: firstname.lastname@example.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=e6ypUpi9J8E91hUEKRoqz7/Y9s2Ba4CORqwxLPUO5zU=; b=KJqpWJrb9W4T+KEjokLg7skzodR/h4hhh3osa3m1T9wTlC7ikJj042Xg2C1zPBSDSe hRicAggFNJWLjD/uXQUeoTEgjDahikR5SMGQgVJ+DkaqAAz56Gya4ln3I4J7prWqjCPp Uz4Or5tRtFLja7Qv2WGLkPKXC6ij377q5Dxsk=
Interesting discussion out on public-lod list about Java RDF libs that I thought this group might be interested in hearing about
I wonder if we should consider one of these for a thin consumer lib.
---------- Forwarded message ----------
From: Leif Warner <abimelech@xxxxxxxxx>
Date: Thu, Sep 15, 2011 at 2:48 PM
Subject: Re: Lightweight Java RDF libraries
To: Norman Gray <norman@xxxxxxxxxxxxxxx
Cc: Linking Open Data <public-lod@xxxxxx
There's Scardf, a simple project both in terms of API and codebase size. It can be used standalone, or as a wrapper for the Jena API. Standalone, it only depends on Joda-time (which you might want in your project, anyways).
It's written in Scala, though I'm pretty sure you can use it from regular Java too. A simple Java wrapper could be written for it if some of the method names turn out to be hairy in Java.
I use it standalone myself for testing, command-line tools, simple apps, etc, and then swap the backend for Jena on fancier things.
On Mon, Sep 12, 2011 at 4:39 AM, Norman Gray <norman@xxxxxxxxxxxxxxx>
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 Gray : http://nxg.me.uk
SUPA School of Physics and Astronomy, University of Glasgow, UK