it.unibz.inf.ontop.rdf4j.predefined.impl.PredefinedQueriesImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ontop-rdf4j Show documentation
Show all versions of ontop-rdf4j Show documentation
This is the rdf4j API implementation based on Ontop
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