Skip to content
SPECIFICTION
Get listed

SPARQLWrapper

rdflib.dev

LinuxAPI
Visit rdflib.dev
Spec score 7.0 #37 of 38 in API clients

Spec sheet

What it does
SPARQLWrapper is a Python wrapper for remotely executing queries against a SPARQL service and optionally converting results.Read 8 Oct 2026 · sparqlwrapper.readthedocs.io
Purpose
SPARQLWrapper is a Python wrapper for remotely executing queries against SPARQL services.Read 8 Oct 2026 · sparqlwrapper.readthedocs.io
Available platforms
desktopRead 25 Sep 2026 · github.com
Free plan
YesRead 25 Sep 2026 · github.com
Integrations
RDFLib is used to parse RDF results and is imported only when needed.Read 8 Oct 2026 · sparqlwrapper.readthedocs.io
Support
Community support is available through the RDFLib developers' discussion group, and users can report issues on GitHub.Read 8 Oct 2026 · sparqlwrapper.readthedocs.io
License
The package is licensed under the W3C license.Read 8 Oct 2026 · sparqlwrapper.readthedocs.io
API documentation
NoRead 25 Sep 2026 · github.com
Authentication
The documentation describes BASIC and DIGEST HTTP authentication methods.Read 8 Oct 2026 · sparqlwrapper.readthedocs.io
Automated test runs
NoRead 25 Sep 2026 · github.com
Command line
Installation makes the `rqw` command line script available in the Python environment.Read 8 Oct 2026 · sparqlwrapper.readthedocs.io
Endpoint compatibility
The documentation describes endpoint behavior for implementations including Fuseki, Eclipse RDF4J, GraphDB, Virtuoso, and Stardog.Read 8 Oct 2026 · sparqlwrapper.readthedocs.io
GraphQL support
NoRead 25 Sep 2026 · github.com
gRPC support
NoRead 25 Sep 2026 · github.com
HTTP methods
Requests use HTTP GET by default, and POST can be selected for larger queries, though some method and result format combinations may not work with all processors.Read 8 Oct 2026 · sparqlwrapper.readthedocs.io
Installation
The documentation lists installation from PyPI, GitHub, or Debian packages and notes Debian's version may lag behind the latest release.Read 8 Oct 2026 · sparqlwrapper.readthedocs.io
License and platform
PyPI lists the W3C License and classifies the package as OS independent, for developers, and requiring Python 3.7 or later.Read 8 Oct 2026 · pypi.org
Limit
The module does not validate query syntax; the SPARQL service performs syntax and validity checking.Read 8 Oct 2026 · sparqlwrapper.readthedocs.io
Output formats
Documented return formats include XML, JSON, JSON-LD, Turtle, N3, RDF/XML, CSV and TSV.Read 8 Oct 2026 · sparqlwrapper.readthedocs.io
Query support
The documentation provides examples for SELECT, ASK, CONSTRUCT, DESCRIBE, and SPARQL UPDATE queries.Read 8 Oct 2026 · sparqlwrapper.readthedocs.io
Query types
It supports SPARQL query forms including SELECT, ASK, CONSTRUCT and DESCRIBE, as well as update operations such as INSERT and DELETE.Read 8 Oct 2026 · sparqlwrapper.readthedocs.io
RDFLib dependency
RDFLib is imported lazily for RDF parsing and need not be installed if RDF formats are not used.Read 8 Oct 2026 · sparqlwrapper.readthedocs.io
Result conversion
It can convert query results into Python representations, including dictionaries, DOM trees, strings, and RDFLib Graph objects.Read 8 Oct 2026 · sparqlwrapper.readthedocs.io
SPARQLWrapper2
SPARQLWrapper2 handles JSON SELECT results and provides helpers for processing bindings.Read 8 Oct 2026 · sparqlwrapper.readthedocs.io
Team workspaces
NoRead 25 Sep 2026 · github.com
WebSocket support
NoRead 25 Sep 2026 · github.com

Where Specifiction places it

Alternatives to SPARQLWrapperAll alternatives →