Skip to main content

Command-line tool for using the QLever graph database

Project description

QLever

This repository provides a self-documenting and easy-to-use command-line tool for QLever (pronounced "Clever"), a graph database implementing the RDF and SPARQL standards. For a detailed description of what QLever is and what it can do, see here.

Documentation

View the latest documentation at https://docs.qlever.dev/quickstart.

Installation

There are native packages available for

On other platforms simply install the qlever command-line python package using pipx/uv. Note: QLever will be executed in a container which will come with a performance penalty.

Use with your own dataset

To use QLever with your own dataset, you need a Qleverfile, like in the example above. The easiest way to write a Qleverfile is to get one of the existing ones (using qlever setup-config ...) and then change it according to your needs. Pick one for a dataset that is similar to yours and when in doubt, pick olympics. A reference of all options is available.

For developers

The (Python) code for the script is in the *.py files in src/qlever. The preconfigured Qleverfiles are in src/qlever/Qleverfiles.

If you want to make changes to the script, or add new commands, do as follows:

git clone https://github.com/ad-freiburg/qlever-control
cd qlever-control
pip install -e ".[dev]"

Then you can use qlever just as if you had installed it via pip install qlever. Note that you don't have to rerun pip install -e ".[dev]" when you modify any of the *.py files and not even when you add new commands in src/qlever/commands. The executable created by pip simply links and refers to the files in your working copy.

If you have bug fixes or new useful features or commands, please open a pull request. If you have questions or suggestions, please open an issue. Files have to be formatted and linted with ruff:

# manually
ruff format
ruff check
# runs automatically before every commit
pre-commit install

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qlever-0.5.48.tar.gz (142.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qlever-0.5.48-py3-none-any.whl (177.5 kB view details)

Uploaded Python 3

File details

Details for the file qlever-0.5.48.tar.gz.

File metadata

  • Download URL: qlever-0.5.48.tar.gz
  • Upload date:
  • Size: 142.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for qlever-0.5.48.tar.gz
Algorithm Hash digest
SHA256 6bb3f415a7ffd4171ff753f18497c4c41c761a3be57a4dfb315ecace6a2fd648
MD5 6476b3dc9fd28e6a79c14d6db679a4a9
BLAKE2b-256 bb8adf650a8165d3d96c777e93994131454d4bcd8894630cc7eb333d69d34db8

See more details on using hashes here.

Provenance

The following attestation bundles were made for qlever-0.5.48.tar.gz:

Publisher: publish-pypi.yml on qlever-dev/qlever-control

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file qlever-0.5.48-py3-none-any.whl.

File metadata

  • Download URL: qlever-0.5.48-py3-none-any.whl
  • Upload date:
  • Size: 177.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for qlever-0.5.48-py3-none-any.whl
Algorithm Hash digest
SHA256 bc9a464c6173bcd38e9b16ddffdca8896ee322f006fd6501823bc51b0ec2ee82
MD5 73dbd4f886841985b16b1bf1656e83a1
BLAKE2b-256 e56ab851c8d9c0b6a66b6708942717810e03095cf75055c6c2e2ed32c869eef2

See more details on using hashes here.

Provenance

The following attestation bundles were made for qlever-0.5.48-py3-none-any.whl:

Publisher: publish-pypi.yml on qlever-dev/qlever-control

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page