assert namespace.matches(".*(/|#)") ;
String baseUri = namespace.replaceAll("(/|#)+$", ""); //removing any trailing slash/hash
manager = new SKOSManager();
if ( namespace.endsWith("#") ) {
// Ok, OWLAPI v2 works fine with hash separator:
dataset = manager.createSKOSDataset(URI.create(baseUri));
}