About
This is the development journal for the Semantic Web API project. It is a standard interface for accessing RDF data through multiple clients. Sponsored by Semedia and Google.
Membership
Name:James Cerra
Location:Pittsburgh, Pennsylvania, United States
Recent Entries
Archived Entries

Friday, September 23, 2005

How does Swapi 0.0.70 look?

I released Swapi 0.0.70, since it has about 70% of my requirements and features implemented. Give it a look, please, and tell me what's up! If you use it with Jena, you need Jena 2.2, but if you use it with OpenRDF Sesame, you should use Sesame 1.2.1. I still would like a Redland implementation, but that will probably have to wait until I figure out how to install and use Redland. (Unless anyone contributes code and unit tests... hint! hint!)

To use Swapi 0.0.70, you'll have to build it. I'll build a jar file if anyone asks (so speak up) for you. It requires Java 1.5 5 to build and run. Generics just make life so much easier! :-) You don't have to use both Jena and Sesame when using it; however, you should have both installed when building Swapi. A future release (before 0.1 I promise) will do away with this requirement.

The unit tests are an excellent example of how to use Swapi. I highly recommend looking at them. In a nutshell, they use an abstract method that subclasses should use to construct the connection to your implemenation of choice. Subclasses of those abstract classes (with the abstract connect method) implement it for a particular RDF backend. This involves configuring the repositories/modelmakers, loading the data into them, and creating the appropriate implementation of Connection from either Jena or Sesame or your own driver. A later release (before 0.1) will provide the DataSource API for making this easier.

The next steps involve defining the query API and implementations. The general design is very loosely based on an early version of the SPARQL Protocol. Also, I wanted to build off of Ryan Levering's SPARQL Engine, but the latest version (0.5) ties into the CVS beta of OpenRDF. That is incompatible with OpenRDF 1.2.1, so unless I find a simple solution I may have to fork the engine. :-/

Any suggestions for Swapi are greatly appreciated!

Saturday, September 17, 2005

Sick as a dog

Believe it or not, I actually scheduled a giant CVS, documentation, and blog update today. However, I have the flu and feel horrible. Updates later this week. :-(

In the mean time, check out these updates:

Hope your weekend is better than mine! :-)