Package org.eclipse.rdf4j.repository.sparql

package org.eclipse.rdf4j.repository.sparql
A Repository that serves as a SPARQL endpoint client.

A SPARQL endpoint is any web service that implements the SPARQL 1.1 Protocol - a means of conveying SPARQL queries and updates to SPARQL processors.

Since every RDF4J repository running on a RDf4J Server is also a SPARQL endpoint, it is possible to use the SPARQLRepository to access such a repository. However, it is recommended to instead use HTTPRepository, which has a number of RDF4J-specific optimizations that make client-server communication more scalable, and transaction-safe.