Commons RDF

Working repository for experimenting with idea of providing a common library for RDF 1.1 that could be implemented by the upcoming versions of the main Java toolkits (Jena 3.0 and Sesame 4.0) as well as wrappers for other JVM languages (Banana RDF and so on).

The main motivation behind this simple library is revise an historical incompatibility issue. This library does not pretend to be a generic api wrapping those libraries, but a set of interfaces for the RDF 1.1 concepts that can be used to expose common RDF-1.1 concepts using common Java interfaces. In the initial phase commons-rdf is focused on a subset of the core concepts defined by RDF-1.1 (URI/IRI, Blank Node, Literal, Triple, and Graph). In particular, commons RDF aims to provide a type-safe, non-general API that covers RDF 1.1. In a future phase we may define interfaces for Datasets and Quads.


Build Status

This library is still work in progress. From the very beginning it is using a package from Apache Commons without permission. That's because at some point we would like to submit it there, so we would like to avoid naming issues on such migration.

A draft diagram of the interfaces which may be included in Commons RDF are:

commons-rdf class diagram



Apache License, Version 2.0