Search in sources :

Example 1 with ForwardChainingRDFSInferencerConfig

use of org.eclipse.rdf4j.sail.inferencer.fc.config.ForwardChainingRDFSInferencerConfig in project Commons by denkbares.

the class RdfsConfig method createRepositoryConfig.

@Override
public org.eclipse.rdf4j.repository.config.RepositoryConfig createRepositoryConfig(String repositoryId, String repositoryLabel, Map<String, String> overrides) throws RepositoryConfigException {
    // create a configuration for the SAIL stack
    SailImplConfig backendConfig = new MemoryStoreConfig();
    // create a configuration for the repository implementation
    SailRepositoryConfig repositoryTypeSpec = new SailRepositoryConfig(new ForwardChainingRDFSInferencerConfig(backendConfig));
    return new org.eclipse.rdf4j.repository.config.RepositoryConfig(repositoryId, repositoryTypeSpec);
}
Also used : SailImplConfig(org.eclipse.rdf4j.sail.config.SailImplConfig) SailRepositoryConfig(org.eclipse.rdf4j.repository.sail.config.SailRepositoryConfig) ForwardChainingRDFSInferencerConfig(org.eclipse.rdf4j.sail.inferencer.fc.config.ForwardChainingRDFSInferencerConfig) MemoryStoreConfig(org.eclipse.rdf4j.sail.memory.config.MemoryStoreConfig) SailRepositoryConfig(org.eclipse.rdf4j.repository.sail.config.SailRepositoryConfig)

Aggregations

SailRepositoryConfig (org.eclipse.rdf4j.repository.sail.config.SailRepositoryConfig)1 SailImplConfig (org.eclipse.rdf4j.sail.config.SailImplConfig)1 ForwardChainingRDFSInferencerConfig (org.eclipse.rdf4j.sail.inferencer.fc.config.ForwardChainingRDFSInferencerConfig)1 MemoryStoreConfig (org.eclipse.rdf4j.sail.memory.config.MemoryStoreConfig)1