Ripple.initialize();
baseSail = new MemoryStore();
baseSail.initialize();
URIMap map = new URIMap();
// This is an example where HttpDereferencer fails by requesting the
// full URI of a resource (rather than stripping off the local part).
// Here, we define a mapping to a local file, so dereferencing
// succeeds.
map.put("http://www.holygoat.co.uk/owl/redwood/0.1/tags/Tagging",
LinkedDataSailTest.class.getResource("tags.owl").toString());
LinkedDataCache wc = LinkedDataCache.createDefault(baseSail);
wc.setURIMap(map);
sail = new LinkedDataSail(baseSail, wc);