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 «

Where Am I?

You are currently browsing entries tagged with jenabean at The Web Semantic.