@Override public RepositoryResult<Namespace> getNamespaces() throws RepositoryException { try { return createRepositoryResult(sailConnection.getNamespaces()); } catch (SailException e) { throw new RepositoryException("Unable to get namespaces from Sail", e); } }
@Override public RepositoryResult<Resource> getContextIDs() throws RepositoryException { try { return createRepositoryResult(sailConnection.getContextIDs()); } catch (SailException e) { throw new RepositoryException("Unable to get context IDs from Sail", e); } }
@Override public RepositoryResult<Statement> getStatements(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) throws RepositoryException { OpenRDFUtil.verifyContextNotNull(contexts); try { return createRepositoryResult( sailConnection.getStatements(subj, pred, obj, includeInferred, contexts)); } catch (SailException e) { throw new RepositoryException("Unable to get statements from Sail", e); } }