RDFLib is a Python library for working with RDF, a simple yet powerful language for representing information.
翻訳待ち
開発ツールPython · HTMLGitHub @RDFLib自分でインストール所有者未確認
Paste into Claude or ChatGPT for installation instructions suited to your environment.
Have you tried it? One tap is enough. No sign-in needed.
Loading the full README. The saved excerpt is shown below.
RDFLib is a pure Python package for working with RDF. RDFLib contains most things you need to work with RDF, including:
• parsers and serializers for RDF/XML, N3, NTriples, N-Quads, Turtle, TriX, Trig, JSON-LD and even HexTuples
• a Graph interface which can be backed by any one of a number of Store implementations
• Store implementations for in-memory, persistent on disk (Berkeley DB) and remote SPARQL endpoints
• additional Stores can be supplied via plugins
• a SPARQL 1.1 implementation - supporting SPARQL 1.1 Queries and Update statements
• SPARQL function extension mechanismsRead the full README ↗RDFLib is a pure Python package for working with RDF. RDFLib contains most things you need to work with RDF, including:
The RDFlib community maintains many RDF-related Python code repositories with different purposes. For example:
Please see the list for all packages/repositories here:
Help with maintenance of all of the RDFLib family of packages is always welcome and appreciated.
8.0.0 is in development and requires Python 3.11 or later. Users who need Python 3.10 must remain on RDFLib 7.x.main branch in this repository is the current major release development branch for backwards-compatible fixes and featuresnext branch in this repository is the next major release development branch7.6.0 GraphDB Client, and many improvements and fixes. See changelog for details7.5.0 RDF4J Store integration, RDF4J Client, and other improvements. See changelog for details7.4.0 a few small fixes, add test matrix for active python versions, and move v7 documentation to MkDocs7.3.0 many fixes and usability improvements, particularly for the Dataset class. See changelog for details7.2.1 tiny clean up release, relaxes Python version requirement7.2.0 general fixes and usability improvements, see changelog for details7.1.4 tidy-up release, possibly last 7.x release7.1.3 current stable release, small improvements to 7.1.17.1.2 previously deleted release7.1.1 previous stable release
7.0.0 previous stable release, supports Python 3.8.1+ only.
6.x.y supports Python 3.7+ only. Many improvements over 5.0.0
5.x.y supports Python 2.7 and 3.4+ and is mostly backwards compatible with 4.2.2.See https://github.com/RDFLib/rdflib/releases/ for the release details.
See https://rdflib.readthedocs.io for our documentation built from the code. Note that there are latest, stable and versioned builds, such as 5.0.0, matching releases.
The stable release of RDFLib may be installed with Python's package management tool pip:
$ pip install rdflib
Some features of RDFLib require optional dependencies which may be installed using pip extras:
$ pip install rdflib[berkeleydb,networkx,html,lxml,orjson]
Alternatively manually download the package from the Python Package Index (PyPI) at https://pypi.python.org/pypi/rdflib
With pip you can also install rdflib from the git repository with one of the following options:
$ pip install git+https://github.com/rdflib/rdflib@main
or
$ pip install -e git+https://github.com/rdflib/rdflib@main#egg=rdflib
or from your locally cloned repository you can install it with one of the following options:
$ uv sync # installs into a uv-managed venv
or
$ pip install -e .
This is the beginning of the README. Read the rest at the original. Read the full README ↗