From cda6bac30bf3b2de9dfc1da2c5e948d8c3d26ae2 Mon Sep 17 00:00:00 2001 From: Mathias Vanden Auweele Date: Thu, 3 Dec 2026 09:36:33 +0000 Subject: [PATCH] docs(python): install the rdflib extra from PyPI in the rdflib section (#807) --- CHANGELOG.md | 1 + python/README.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 28e5f867..d03c2c03 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -63,6 +63,7 @@ versions may change the store format and the API; the release notes say how to u ### Fixed +- The Python package's README installs the `rdflib` extra from PyPI in its rdflib section too, `pip install "tripletrail[rdflib]"`, instead of from a checkout (#807). - A failing command prints its error as a sentence that names the file or address, such as `Error: missing.ttl does not exist` or `Error: cannot listen on 127.0.0.1:7878: address already in use` (#804). Before, `load`, `validate` and `serve` printed Rust's debug form, `Error: Os { code: 2, kind: NotFound, … }`, which did not say which file of several was missing, and other errors came out quoted (`Error: "1 of 1 queries failed"`). See [the server options](docs/server.md#main-options). - `geof:length(?g, uom:metre)` answers on a projected CRS (#786): GeoSPARQL 1.1's form with a unit was unbound for `geof:length`, `geof:perimeter`, `geof:area` and `geof:size` on every CRS, while `geof:metricLength` and `st:ST_Length` gave the length. They now give the `metric*` value in metres or kilometres (square metres or kilometres for an area); another unit is still unbound. `geof:distance` and `geof:buffer` took a unit already. See [docs/spatial.md](docs/spatial.md). - `st:ST_LineSubstring`, `st:ST_LineInterpolatePoint` and `st:ST_LineLocatePoint` measure a `MULTILINESTRING` as one line, as the `rail:` functions do (#787): the parts in order, with a gap adding no length. Before, they answered unbound without a message, so a rule silently dropped net elements whose geometry came as touching parts. A substring across a gap is a `MULTILINESTRING`. An empty or non-line input still gives no value. See [the spatial functions](docs/spatial.md). diff --git a/python/README.md b/python/README.md index aa2a627c..64aa1749 100644 --- a/python/README.md +++ b/python/README.md @@ -209,7 +209,7 @@ functions](../docs/validation-and-reasoning.md#user-defined-functions). ### rdflib -Install with the `rdflib` extra (`pip install "./python[rdflib]"`, see [Install](#install)) and +Install with the `rdflib` extra (`pip install "tripletrail[rdflib]"`, see [Install](#install)) and use the engine as an rdflib store (adapted from [oxrdflib](https://github.com/oxigraph/oxrdflib), which is not needed):