public RepositoryConnection initWithHttp(String url, String user, String password) throws RepositoryException {
HTTPRepository httpRepository = new HTTPRepository(url);
if(user != null) {
httpRepository.setUsernameAndPassword(user, password);
}
httpRepository.initialize();
sesameRepository = httpRepository;
sesameConnection = sesameRepository.getConnection();
return sesameConnection;
}