odin-rdf v0.31.0 — a bounded RDF 1.1 and JSON-LD toolkit for Odin

Hi everyone — I’m happy to share odin-rdf, a bounded, streaming-first RDF 1.1 toolkit and CLI for Odin.

The library is designed for RDF processing pipelines where resource limits and ownership need to stay explicit. It provides:

  • N-Triples, N-Quads, Turtle, TriG, and RDF/XML parsing/writing
  • JSON-LD document and dataset operations: to-RDF, Expansion, Flattening, Compaction, Framing, Remote Documents, and HTML JSON-LD extraction
  • RDFC-1.0 canonicalization, hashing, comparison, and deterministic dataset diffs
  • A small CLI for conversion, formatting, canonicalization, hashing, comparison, and diffing
  • Explicit bounds for documents, nesting, records, and complete-dataset operations
  • No implicit network I/O: applications provide their own JSON-LD document loader, including transport, redirect, cache, authentication, and allow-list policy

v0.31.0 adds the explicit callback-based Web JSON-LD boundary, including Remote Document handling and HTML <script type="application/ld+json"> extraction. It also adds a runnable example, refreshed benchmarks, and compatibility/security documentation.

The project currently gates 2,432/2,432 pinned W3C cases, including the JSON-LD Remote Document and HTML algorithms.

I’d really appreciate feedback from other Odin developers — especially on API ergonomics, packaging, and integrations where a bounded RDF core would be useful.