Recently on the Jena news group there was a question regarding classpath and how frustrating it can be to properly configure that aspect of a new project. I began to answer the question and realized I haven’t touched a classpath for years simply because the tools I use make that unnecessary. Eclipse is free and has very good maven integration. At the same time, the Jena team is providing jena as a Maven asset indexed on the main maven repo. The consequences are that you can have eclipse create a new project for you, and add your library dependencies for you by simply declaring that your project “uses” jena. Here is a quick screentoaster demo to get you going…
Easy Jena startup with Eclipse and Maven
April 10th, 2009 § 6
Writing out SIOC triples using Jena + Jenabean
March 10th, 2009 § 1
(this post deals with features provided jenabean 1.0.1, available from the project site. You’ll also need Jena, HP’s semenatic web framework.)
In my last post we looked at reading SIOC directly off the web. The other side of the coin is producing syntactically valid SIOC statements from java. You may want to create RDF for another consumer or perhaps you want to persist the SIOC statements directly into a Jena model. Either way, if you use the direct approach of coding to Jena’s RDF api, you’ll be writing quite a few lines of code. This task can be made simpler using Jenabean’s “Thing” utility along with a specialized interface to the Sioc vocabulary. We’ll be looking at this simple example, which duplicates the primary RDF example givin in the SIOC specification document. » Read the rest of this entry «
![Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_e.png?x-id=0fed2dc6-4671-4072-ba8e-4c2e72b92b1f)