# 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.

- Class Summary
  Class | Description
  --- | ---
  SPARQLConnection | Provides a `RepositoryConnection` interface to any SPARQL endpoint.
  SPARQLRepository | A proxy class to access any SPARQL 1.1 endpoint.