joshsh/sesametools — pull request #30 by ansell (2012-07-20 05:49:19+00:00)
Title: Fixes to SingleContextSail, SingleContextSailConnection, and add ContextInsensitiveStatementComparator

SingleContextSail was failing to initialise, so I went looking into the implementation and found it was not passing through the call, and also not passing through the shutDown call so I enabled them.

Then SingleContextSailConnection was not evaluating queries, so I added in support by creating an instance of DatasetImpl for each call and populating it solely with the single context.

I also added a ContextInsensitiveStatementComparator to use in cases where I definitely did not want to use context for comparisons, but I was not sure whether every implementation of the Statement class would always ignore context, so to be on the safe side I implemented the algorithm manually.

I also bumped the slf4j and maven-compiler-plugin versions in the parent pom file.

This pull request does not include the nquads work I did today. I will let that sit around for a little while to verify that it does what it is designed to do.