qmetrics.net

RDFLib

Pure Python toolkit for RDF graphs and SPARQL

RDFLib screenshot

RDFLib is a Python package for parsing, storing, and querying RDF. It includes serializers, in-memory and persistent stores, and SPARQL 1.1 support.

Overview

RDFLib helps Python developers work with Resource Description Framework data for semantic web and linked-data projects. The central Graph type holds subject–predicate–object triples and can be populated by parsers or programmatic triple insertion using namespace-aware URIs and typed literals.

Built-in parsers and serializers cover RDF/XML, Turtle, N-Triples, N-Quads, N3, TriG, TriX, JSON-LD, HexTuples, RDFa, and Microdata. Namespace helpers shorten common vocabularies, and binding prefixes affects serialized output across major syntaxes.

Storage backends include in-memory graphs, Berkeley DB persistence, and remote SPARQL endpoints, with additional stores available through plugins. A SPARQL 1.1 engine supports query and update operations plus extension hooks for custom functions.

Installable from PyPI via pip, with optional extras for BerkeleyDB, NetworkX, HTML, lxml, or orjson integrations. Documentation warns that processing untrusted RDF may trigger file or network access, so callers should apply appropriate restrictions. Related packages in the RDFLib organization extend specific integrations such as GraphDB or RDF4J clients.

Key features

  • RDF parse and serialize formats
  • Graph and dataset interfaces
  • SPARQL 1.1 queries and updates
  • In-memory and Berkeley DB stores
  • Remote SPARQL endpoint stores
  • Namespace and prefix binding
  • Plugin-extensible store layer
  • Optional PyPI feature extras

Use cases

  • Loading linked-data vocabularies
  • Running SPARQL over RDF files
  • Building semantic web pipelines
  • Persisting RDF graphs on disk

Tags

Similar software

MarkItDown

Python utility converting office and media files to Markdown

MarkItDown converts many file types into Markdown for LLM and text analysis pipelines. It aims to preserve headings, lists, tables, and links rather than perfect human layout.

★ 198.7k⟳ 21 days agoMIT

OpenBB

Open-source data integration platform for analysts, quants and AI agents

Open Data Platform (ODP) by OpenBB connects proprietary, licensed and public data sources once, then exposes them to Python, OpenBB Workspace, Excel, MCP servers for AI agents, and REST APIs.

★ 75.8k⟳ 9 days agoApache-2.0

Docling

Document parsing toolkit for generative AI pipelines

Docling ingests PDFs, office files, media, email, and many other formats into a unified document model. It targets downstream RAG and agent workflows with local execution options.

★ 71.1k⟳ yesterdayMIT

pandas

Python data structures for labeled analysis

pandas is a Python package for working with labeled, tabular, and time-series data. It provides Series and DataFrame objects with alignment, grouping, and rich import and export options.

★ 50.7k⟳ yesterdayBSD-3-Clause

RSSHub

Open RSS feed network with community-maintained routes

RSSHub aggregates content from many online sources into RSS feeds and is maintained as an open source project with a large network of deployed instances.

★ 47.4k⟳ yesterdayAGPL-3.0

jq

Portable command-line JSON processor

jq slices, filters, maps, and transforms JSON from the shell. It is a standalone C binary with no runtime dependencies, plus an online playground and optional Docker image.

★ 36.4k⟳ 26 days agoMIT · open core