
com.metreeca.rdf4j.handlers.Endpoint Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of metreeca-rdf4j Show documentation
Show all versions of metreeca-rdf4j Show documentation
Connector kit for RDF4J-based SPARQL repositories.
The newest version!
/*
* Copyright © 2013-2022 Metreeca srl
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.metreeca.rdf4j.handlers;
import com.metreeca.rdf4j.services.Graph;
import com.metreeca.rest.Request;
import com.metreeca.rest.handlers.Delegator;
import com.metreeca.rest.services.Logger;
import java.util.*;
import static com.metreeca.rest.Toolbox.service;
import static java.util.Arrays.asList;
import static java.util.Collections.*;
/**
* SPARQL 1.1 endpoint handler.
*
* Provides a standard SPARQL 1.1 endpoint exposing the contents of a {@linkplain #graph(Graph) target graph}.
*
* Both {@linkplain #query(Collection) query} and {@linkplain #update(Collection) update} operations are disabled,
* unless otherwise specified.
*
* @see SPARQL 1.1 Overview
*/
public abstract class Endpoint> extends Delegator {
private Graph graph=service(Graph.graph());
private Set
© 2015 - 2025 Weber Informatics LLC | Privacy Policy