try {
Stardog.buildServer()
.bind(SNARLProtocolConstants.EMBEDDED_ADDRESS)
.start();
AdminConnection dbms = AdminConnectionConfiguration.toEmbeddedServer().credentials(user, pass).connect();
if (dbms.list().contains(to)) {
dbms.drop(to);
dbms.createMemory(to);
} else {
dbms.createMemory(to);
}
dbms.close();
} catch (StardogException e) {
} catch (ServerException e) {