it.unibz.inf.ontop.rdf4j.predefined.PredefinedQuery 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;
import com.google.common.collect.ImmutableMap;
import it.unibz.inf.ontop.query.RDF4JQuery;
import org.eclipse.rdf4j.query.BindingSet;
import java.util.Optional;
public interface PredefinedQuery> {
Q getInputQuery();
String getId();
Optional getName();
Optional getDescription();
boolean shouldReturn404IfEmpty();
boolean isResultStreamingEnabled();
void validate(ImmutableMap bindings) throws InvalidBindingSetException;
/**
* NB: the bindings should have been validated before
*/
BindingSet convertBindings(ImmutableMap bindings);
/**
* Removes irrelevant bindings and replace the values of "safe" parameters by the reference ones
*
* NB: the bindings should have been validated before
*/
ImmutableMap replaceWithReferenceValues(ImmutableMap bindings);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy