use of org.eclipse.rdf4j.sail.spin.config.SpinSailConfig in project Commons by denkbares.
the class SpinRdfConfig method createRepositoryConfig.
@Override
public org.eclipse.rdf4j.repository.config.RepositoryConfig createRepositoryConfig(String repositoryId, String repositoryLabel, Map<String, String> overrides) throws RepositoryConfigException {
SailImplConfig spinSailConfig = new SpinSailConfig(new MemoryStoreConfig());
RepositoryImplConfig repositoryTypeSpec = new SailRepositoryConfig(spinSailConfig);
return new org.eclipse.rdf4j.repository.config.RepositoryConfig(repositoryId, repositoryTypeSpec);
}
use of org.eclipse.rdf4j.sail.spin.config.SpinSailConfig in project AJAN-service by aantakli.
the class RDF4JTripleStoreManager method createRemoteSPINRepository.
private void createRemoteSPINRepository(final String tdbId) throws RepositoryConfigException, RepositoryException {
MemoryStoreConfig backendConfig = new MemoryStoreConfig();
SailImplConfig spinConfig = new SpinSailConfig(backendConfig);
addRepositoryConfig(tdbId, new SailRepositoryConfig(spinConfig));
}
use of org.eclipse.rdf4j.sail.spin.config.SpinSailConfig in project AJAN-service by aantakli.
the class RDF4JTripleStoreManager method createRemoteRDFSSPINRepository.
private void createRemoteRDFSSPINRepository(final String tdbId) throws RepositoryConfigException, RepositoryException {
SailImplConfig spinSailConfig = new SpinSailConfig(new SchemaCachingRDFSInferencerConfig(new DedupingInferencerConfig(new MemoryStoreConfig())));
addRepositoryConfig(tdbId, new SailRepositoryConfig(spinSailConfig));
}
Aggregations