use of org.eclipse.rdf4j.sail.inferencer.fc.config.SchemaCachingRDFSInferencerConfig in project jopa by kbss-cvut.
the class RepositoryConnectorInitializer method createLocalNativeRepositoryConfig.
private static RepositoryConfig createLocalNativeRepositoryConfig(String repoId, DriverConfiguration configuration) {
SailImplConfig backend = new NativeStoreConfig();
if (configuration.is(SesameConfigParam.USE_INFERENCE)) {
backend = new SchemaCachingRDFSInferencerConfig(backend);
}
final SailRepositoryConfig repoType = new SailRepositoryConfig(backend);
return new RepositoryConfig(repoId, repoType);
}
Aggregations