Search in sources :

Example 1 with SchemaCachingRDFSInferencerConfig

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);
}
Also used : SailImplConfig(org.eclipse.rdf4j.sail.config.SailImplConfig) SchemaCachingRDFSInferencerConfig(org.eclipse.rdf4j.sail.inferencer.fc.config.SchemaCachingRDFSInferencerConfig) SailRepositoryConfig(org.eclipse.rdf4j.repository.sail.config.SailRepositoryConfig) RepositoryConfig(org.eclipse.rdf4j.repository.config.RepositoryConfig) NativeStoreConfig(org.eclipse.rdf4j.sail.nativerdf.config.NativeStoreConfig) SailRepositoryConfig(org.eclipse.rdf4j.repository.sail.config.SailRepositoryConfig)

Aggregations

RepositoryConfig (org.eclipse.rdf4j.repository.config.RepositoryConfig)1 SailRepositoryConfig (org.eclipse.rdf4j.repository.sail.config.SailRepositoryConfig)1 SailImplConfig (org.eclipse.rdf4j.sail.config.SailImplConfig)1 SchemaCachingRDFSInferencerConfig (org.eclipse.rdf4j.sail.inferencer.fc.config.SchemaCachingRDFSInferencerConfig)1 NativeStoreConfig (org.eclipse.rdf4j.sail.nativerdf.config.NativeStoreConfig)1