private OntopConnection getOntopConnection() throws RepositoryException {
		if(!initialized)
			throw new RepositoryException("The OntopVirtualRepository must be initialized before getConnection can be run.");
		try {
			return queryEngine.getConnection();
		} catch (Exception e) {
			throw new RepositoryException(e);
		}

	}
private OntopConnection getOntopConnection ( ) throws RepositoryException { if ( ! initialized ) throw new RepositoryException ( "The OntopVirtualRepository must be initialized before getConnection can be run." ) ; try { return queryEngine . getConnection ( ) ; } catch ( Exception e ) { throw new RepositoryException ( e ) ; } }
Returns a connection which can be used to run queries over the repository
Before this method can be used, initialize() must be called once.