org.eclipse.rdf4j.benchmark.ForwardChainingSchemaCachingRDFSInferencerBenchmark Maven / Gradle / Ivy
The newest version!
/*******************************************************************************
* Copyright (c) 2016 Eclipse RDF4J contributors.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Distribution License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: BSD-3-Clause
*******************************************************************************/
package org.eclipse.rdf4j.benchmark;
import org.eclipse.rdf4j.repository.sail.SailRepository;
import org.eclipse.rdf4j.sail.inferencer.fc.SchemaCachingRDFSInferencer;
import org.eclipse.rdf4j.sail.memory.MemoryStore;
/**
* @author Håvard Mikkelsen Ottestad
*/
public class ForwardChainingSchemaCachingRDFSInferencerBenchmark extends InitializationBenchmark {
@Override
SailRepository getSail(SailRepository schema) {
return new SailRepository(new SchemaCachingRDFSInferencer(new MemoryStore(), schema));
}
@Override
Class getSailClass() {
return SchemaCachingRDFSInferencer.class;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy