$npx skillfedfor your agent

sparqlslurper

SPARQL Slurper for rdflib

SkipPyPI DatabaseReleased Dec 2021262.3K downloads / moCC0 1.0 UniversalPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — sparqlslurper-0.5.1-py3-none-any.whl
v0.5.1 · released 2021-12-21 · Python >=3.7.4 · 3 runtime deps: rdflib-shim, rdflib, sparqlwrapper

No—this package is abandoned (last release 2021-12-21, no commits since). While install friction is low and the license is permissive, the lack of maintenance means no fixes for compatibility issues with current rdflib or sparqlwrapper versions. Use only if you are maintaining legacy code already depending on it; for new projects, consider actively maintained SPARQL clients or rdflib's own query capabilities.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.7.4 or higher and a working SPARQL endpoint URL to connect to.
  • Low install friction with only three runtime dependencies (rdflib, sparqlwrapper, rdflib-shim).
  • However, the package is abandoned—last release was 2021-12-21 with no commits since then, so expect no maintenance or bug fixes.

License · maintenance · safety

CC0 1.0 Universal (permissive) — CC0 1.0 Universal is a public-domain dedication with no restrictions; you may use, modify, and distribute the code freely with no attribution or license notice required.

last release 2021-12-21 (1697 days) · last repo commit 2021-12-21 · 5 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 262,255 downloads/mo, #8,377 on PyPI

Verify before relying

pip install sparqlslurper

from sparqlslurper import SlurpyGraph

graph = SlurpyGraph(sparql_endpoint_url)
for s, p, o in graph.triples((None, None, None)):
    print(s, p, o)
  • Current compatibility with modern rdflib and sparqlwrapper versions (last tested 2021).
  • Whether BNode handling workarounds (persistent_bnodes, GraphDBSlurpyGraph) are production-ready or experimental.
  • Performance characteristics and memory footprint for large result sets from endpoints.
Same gist for agents: .md · .json

What it is and what it does

SPARQL Slurper bridges rdflib and remote SPARQL endpoints by implementing an rdflib Graph subclass that translates the standard Graph.triples() interface into SPARQL queries. When you call triples() with a pattern, it converts that pattern to a SPARQL query, sends it to a configured endpoint, and returns the results as if they were local RDF data. This lets you work with remote RDF data using familiar rdflib code without manually writing SPARQL queries.

The package depends on rdflib for RDF handling, sparqlwrapper for endpoint communication, and rdflib-shim as a compatibility layer. It includes special handling for blank nodes (BNodes) through optional persistent_bnodes mode and a GraphDBSlurpyGraph variant for GraphDB stores. However, the project has been abandoned since late 2021 with no recent maintenance, so compatibility with current library versions is uncertain.

Use it for

  • Query a remote SPARQL endpoint using rdflib's familiar Graph API without writing SPARQL manually.
  • Cache and filter RDF data from a semantic web endpoint by translating triple patterns into SPARQL WHERE clauses.
  • Build RDF applications that work with both local and remote graphs using a unified interface.
  • Explore linked data from public SPARQL endpoints (DBpedia, Wikidata) through standard rdflib operations.
  • Prototype semantic web applications that may later migrate between local and remote data sources.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No—this package is abandoned (last release 2021-12-21, no commits since).

While install friction is low and the license is permissive, the lack of maintenance means no fixes for compatibility issues with current rdflib or sparqlwrapper versions. Use only if you are maintaining legacy code already depending on it; for new projects, consider actively maintained SPARQL clients or rdflib's own query capabilities.

Install

sparqlslurper on PyPI

Before you install

Low install friction with only three runtime dependencies (rdflib, sparqlwrapper, rdflib-shim). However, the package is abandoned—last release was 2021-12-21 with no commits since then, so expect no maintenance or bug fixes.

Requires Python 3.7.4 or higher and a working SPARQL endpoint URL to connect to.

License in practice

CC0 1.0 Universal is a public-domain dedication with no restrictions; you may use, modify, and distribute the code freely with no attribution or license notice required.

Quickstart

pip install sparqlslurper

from sparqlslurper import SlurpyGraph

graph = SlurpyGraph(sparql_endpoint_url)
for s, p, o in graph.triples((None, None, None)):
    print(s, p, o)

Verify before relying

  • Current compatibility with modern rdflib and sparqlwrapper versions (last tested 2021).
  • Whether BNode handling workarounds (persistent_bnodes, GraphDBSlurpyGraph) are production-ready or experimental.
  • Performance characteristics and memory footprint for large result sets from endpoints.

Package facts

LicenseCC0 1.0 Universal permissive
Python supportSupports the current Python release >=3.7.4
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
rdflib-shimrdflibsparqlwrapper
MaintenanceAbandoned 1,697 days since the last release
Last repo commit
First released
Downloads262,255 / month, #8,377 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: sparqlslurper-0.5.1-py3-none-any.whl

Tags

Capabilities
sparql endpoint clientrdf graph cachingsparql query wrapperremote rdf accesssparql to rdflib bridgesemantic web queryinglinked data endpoint
Topics
rdf-semantic-websparql-clientabandoned
PyPI keywords
SPARQLShExRDFrdflib

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “sparql endpoint client”

  • sparqlslurperTranslates rdflib Graph.triples() calls into SPARQL queries and…
  • SPARQLWrapperSPARQLWrapper provides a Python interface to query remote SPARQL…
  • pystardogPython client library for querying and managing Stardog knowledge…

Give your agent the search over MCP, or paste the wish link into any chat.

More Database packages

psycopg2-binary Worth it
PyPI · Software Development · released Apr 2026

psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.

copyleftcompiled wheel · 3.9+
271.6Mdownloads / mo
redis Worth it
PyPI · Database · released Jul 2026

Python client library for connecting to and executing commands against Redis key-value stores, supporting both synchronous and asynchronous operations.

Install it if your application needs to interact with Redis; the only prerequisite is a running Redis server instance.

MITpure Python · 3.10+
268.3Mdownloads / mo
ydb Worth it
PyPI · Database · released Jul 2026

YDB Python SDK is the official client library for connecting to and querying YDB databases from Python applications.

Install it if you need to connect Python applications to YDB databases.

permissive licensepure Python · 3.10+
210.0Mdownloads / mo
snowflake-connector-python Worth it
PyPI · Software Development · released Aug 2026

Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.

Apache-2.0compiled wheel · 3.10+
193.6Mdownloads / mo
sqlparse Worth it
PyPI · Software Development · released Aug 2026

sqlparse tokenizes SQL text into a tree of statements, clauses, and expressions, and provides functions to split scripts, format queries, and inspect parsed tokens without validating dialect or syntax.

Install it if you need to manipulate, format, or analyze SQL text programmatically.

BSD-3-Clausepure Python · 3.10+
148.9Mdownloads / mo
dbt-adapters With conditions
PyPI · Database · released Jul 2026

Provides base adapter protocols and shared functionality that database adapters use to integrate with dbt-core, handling connections, dialect translation, relation caching, and core interface management.

Apache-2.0pure Python · 3.10.0+
121.3Mdownloads / mo

See also SPARQLWrapper · CFGraph · rdflib · pymantic · owlrl · pyoxigraph · rdflib-jsonld · pyshacl · pyrdfa3 · pystardog