All Downloads are FREE. Search and download functionalities are using the official Maven repository.

it.unibz.inf.ontop.rdf4j.predefined.impl.PredefinedQueriesImpl Maven / Gradle / Ivy

The newest version!
package it.unibz.inf.ontop.rdf4j.predefined.impl;

import com.google.common.collect.ImmutableMap;
import it.unibz.inf.ontop.rdf4j.predefined.PredefinedGraphQuery;
import it.unibz.inf.ontop.rdf4j.predefined.PredefinedQueries;
import it.unibz.inf.ontop.rdf4j.predefined.PredefinedTupleQuery;

public class PredefinedQueriesImpl implements PredefinedQueries {

    private final ImmutableMap tupleQueries;
    private final ImmutableMap graphQueries;
    private final ImmutableMap contextMap;

    public PredefinedQueriesImpl(ImmutableMap tupleQueries,
                                 ImmutableMap graphQueries,
                                 ImmutableMap contextMap) {
        this.tupleQueries = tupleQueries;
        this.graphQueries = graphQueries;
        this.contextMap = contextMap;
    }

    @Override
    public ImmutableMap getGraphQueries() {
        return graphQueries;
    }

    @Override
    public ImmutableMap getTupleQueries() {
        return tupleQueries;
    }

    @Override
    public ImmutableMap getContextMap() {
        return contextMap;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy