Skip to content

v0.2.0

Choose a tag to compare

@MathiasVDA MathiasVDA released this 28 Nov 20:36
· 168 commits to main since this release

TripleTrail 0.2.0 brings records you can browse and edit from your shapes, Add data for any file, map tools, periods for "valid on a day" queries, AI agents over MCP, schema lifting, and a store that takes about a fifth of the space. The id executor is now the default.

Upgrading from 0.1.0

0.2.0 opens 0.1.0 datasets as they are, but 0.1.0 can't read what 0.2.0 writes: take a store backup before you upgrade. Also check:

  • Host names. Behind a reverse proxy that passes its own host name to a server on 127.0.0.1, add --allowed-host <name>. Changes posted by a page of another site are refused (403) unless that site is in --cors.
  • OGC API items carry only the facets, IRIs shown as labels; properties=* gives what 0.1.0 gave.
  • WKT is kept in binary form in new datasets (--keep-wkt-text keeps the text).
  • The id executor is the default; --executor spareval goes back to the evaluator.

The full list is in the CHANGELOG's Upgrading from 0.1.0.

What's new

New

  • Records page: browse a class's records in a grid, open a record as a form drawn from the shapes, and create, edit or delete it with the server's checks shown as you type.
  • Add data on the Datasets page takes any file: RDF loads, and CSV, JSON, XML and other files open the Import page with a lift drafted in the file's own vocabulary, or with Draft with AI.
  • Map tools: draw an area to filter every layer by, select by another layer's features, measure lengths and areas, read coordinates in any EPSG code, a time slider, PNG export and Cite this map.
  • Periods: tt:period and Allen's relations answer "valid on a day" in one call, over dates and date-times alike.
  • tripletrail serve --mcp serves each dataset to AI agents over the Model Context Protocol.
  • tripletrail schema lifts XML Schema, JSON Schema, OpenAPI, ASN.1 and PostgreSQL schemas to OWL, SHACL and SKOS.
  • Brand your server: name, logo, colour, banner, footer links, start page and example queries for the Query page.
  • Set a dataset's limits from its dialog on the Datasets page; tripletrail disk-usage shows where a store's bytes go.

Improved

  • The id executor is the default: most queries are answered straight from term ids, and more of one query runs on several cores.
  • A new store takes about a fifth of the space: WKT kept in binary form, IRIs sharing their namespace, and four quad indexes instead of eight when everything is in the default graph.
  • OGC API items are up to 3.6 times as fast at half the size, show facet labels, and give numberMatched; map tiles and answers go gzipped.
  • The map's facets roll up from parts to their parent, are labelled in your language, and are ready again 30 s after a load.
  • validate --stats counts distinct focus nodes, names every shape with a stable IRI and gives each result a finding key.

Fixed

  • Changes posted by a page of another site are refused, and a server without sign-in answers only for its own host names.
  • A spatial join stops at the query's timeout.
  • ORDER BY over a mix of numbers, strings and other literals no longer fails.
  • The top bar no longer hides tabs under the search box on wide screens.

Install

  • Binaries for Linux (x86_64, aarch64), macOS (Intel, Apple silicon) and Windows below, with SHA256SUMS.
  • Docker: docker pull ghcr.io/matdata-eu/tripletrail:0.2.0
  • JavaScript client: npm install @matdata/tripletrail-client
  • Python: not on PyPI yet; pip install ./python builds it from a checkout.

Full changelog: CHANGELOG.md, 0.2.0