talk · Tuesday 22 September · 15:15–⁠15:30 · ODIN

SFBorg: a frictionless biodiversity data exchange

Dmitry Mozzherin · Semantic Interoperability and Standards Infrastructure

Recording time 6:34:54–6:44:49Open on Vimeo ↗

Summaries and key moments are machine-produced. Check the recording for the speaker’s exact words.

The short versionUsing an SQLite schema as the exchange format lets biodiversity datasets be used instantly by applications without import.

Overview

What this was about

Dmitry Mozzherin presents SFBorg and its Species File Group Archive (SFGA) format, an SQLite database schema used as an "active" exchange format that applications can use directly without importing, by analogy with MP3 files. SQLite is a single, fast, compressible file format with a stable format supported until 2050 and accepted by the Library of Congress for archiving. The ecosystem includes a shared library, the SF conversion tool (e.g. CSV, Darwin Core, ColDP via SFGA), a Harvester for idiosyncratic datasets, GNdb for building name-resolution databases, and Hive, a taxonomic viewer/editor/validator.

Why it matters. Text-based exchange formats require database import skills; an active single-file format could enable many zero-effort applications for any dataset.

Key ideas

In the room

  • Darwin Core Archives, ColDP and Darwin Core Data Packages are inert text files that must be imported.
  • SFGA is a semantically versioned SQLite schema; version 1 will guarantee backward compatibility.
  • SQLite: single file, fast, scalable to terabytes, standard SQL, format stable for 30 years and supported until at least 2050.
  • SQLite is a Library of Congress recommended archival format alongside XML and JSON.
  • Used in production at Species File Group for harvesting, conversion (Darwin Core to ColDP and back), validation and aggregation (e.g. GN Verifier).
  • Tools: Species File Library, SF converter, Harvester, GNdb, Hive.
  • Ideas: instant websites, curation apps and AI interfaces for any SFGA dataset.
Jump in

Notable moments

In their words

Transcript

Automatically generated captions can contain mistakes, especially in names and technical terms. Times are relative to the room recording.

Read the transcript ↓
Loading transcript…
Programme abstract

SFBorg: a frictionless biodiversity data exchange

Dmitry Mozzherin

Background: Sharing biodiversity datasets across projects and organisations depends on common exchange formats e.g., Darwin Core Archive (DwCA), Darwin Core Data Package, or the Catalogue of Life Data Package (ColDP). These formats bundle multiple CSV, JSON, or XML files into a single compressed archive. While widely adopted, this approach has a fundamental limitation: the data is effectively inert until a recipient imports it into a database. Generation of a dataset's archive is error-prone, and introduced inconsistencies might create significant problems on the receiving end. Also, there is no standard mechanism to detect what has changed between two successive releases of the same dataset.

New information: We introduce SFBorg, a SQLite-based ecosystem for biodiversity datasets exchange centred on the Species File Group Archive (SFGA) schema. An SFGA single file is a self-contained SQLite database, allowing recipients to query and modify data immediately using standard SQL tools - no import step required. The ecosystem includes: sf, a universal converter between DwCA, ColDP, and other formats, which also computes data diffs between two SFGA archives to identify added, modified, or removed taxa, names, and synonyms; harvester, for ingesting non-standard or legacy sources; and gndb, which loads SFGA archives directly into the GNverifier PostgreSQL database. Shared functionality is centralised in the sflib library, reducing duplication and lowering the cost of adding new tools. SFBorg is currently in production use across Species File Group projects. All code is open source and available on GitHub under the MIT licence.

Submitted to the conference programme before the talk, so the talk itself may differ.