Skip to main content
Have a personal or library account? Click to login
From Online Resource to Reusable Dataset: The Dataset of Byzantine Book Epigrams Cover

From Online Resource to Reusable Dataset: The Dataset of Byzantine Book Epigrams

Open Access
|Jun 2026

Full Article

1 Overview

Byzantine manuscripts frequently contain short metrical texts known as book epigrams. These writings, while integrated into the manuscript, are usually visually distinguished from the main text, for example by being placed in the margins or between sections. They document aspects of the manuscript’s production, ownership, and use, and may identify scribes or patrons, comment on the text’s content, or address readers directly. Book epigrams exhibit considerable variation in length and literary sophistication, ranging from brief annotations to carefully composed poems, and function as a form of paratext, mediating the relationship between the main text and its material and social context (Bernard & Demoen, 2019).

The Database of Byzantine Book Epigrams, hosted at Ghent University, is an online platform created to systematically collect, study, and publish these poems (Figure 1). Each epigram is represented in the database as an Occurrence, with related textual variants organized as Types, allowing users to explore both individual texts and their relationships. While the initial corpus was based on published catalogues, ongoing work supplements it with new transcriptions and critical editions derived from direct manuscript consultation (Ricceri et al., 2023).

Figure 1

The Database of Byzantine Book Epigrams as available on dbbe.ugent.be.

Although the database has been valuable for philological and linguistic research, the underlying data was not previously available in a format suitable for computational analysis. While an earlier Zenodo release (Demoen et al., 2023) provides a static SQL dump of the PostgreSQL database, it is neither fully updated nor properly structured: foreign key relationships are incomplete, documentation is limited, and the dump cannot be used directly with the current application. The dataset presented here addresses these limitations by providing a fully structured, machine-readable version of the database, enabling reproducible research, large-scale analyses, and interoperability with other digital resources.

Repository location

DOI: 10.5281/zenodo.19435533

Context

The dataset was refactored from the original database as part of a doctoral research project investigating the application of deep learning methods to historical Greek texts, conducted within the framework of the ANNOPHIS project.1

2 Method

Steps

The legacy PostgreSQL dataset includes several schemas: public, migration, logic, data, and some additional schemas related to specific research projects. The public and migration schemas contain outdated and unused data, while the logic schema stores website-specific information. For the new SQLite database, we focus solely on the core data schema to maintain a clean and manageable structure.

The live application employs a custom Elasticsearch setup that indexes data from the data schema, thereby shielding the core database from heavy load. Accordingly, we first extract all data available in Elasticsearch and subsequently retrieve any remaining information directly from PostgreSQL to ensure a complete migration, as Illustrated in (Figure 2).

Figure 2

Overview of the automated workflow that runs weekly to archive data from the Database of Byzantine Book Epigrams.

During this process, we also restructure the data to create a more logical and coherent schema, fixing foreign keys and organizing tables so that relationships are explicit and consistent, as illustrated in (Table 1). After gathering and restructuring the data, textual content is normalized to Unicode NFC2 to ensure consistent representation of Greek characters. Scribal ligatures and abbreviations are resolved during transcription according to editorial conventions adopted by the DBBE team and are not subject to a separate processing pipeline.3 The final dataset is stored in SQLite, a lightweight, self-contained format suitable for long-term archiving, and is then released on Zenodo, which ensures reproducibility and public access.

Table 1

High-level overview of the new dataset structure. Column headers denote main conceptual tables; listed items represent related subordinate tables. The overview captures the core structure without detailing all components.

OCCURRENCESTYPESMANUSCRIPTSPERSONSBIBLIOGRAPHICAL ENTITIES (Articles, Books, Blogs, …)
Metre
Genre
Keywords
Acknowledgements
Text
Status
Bibliography
Persons
Metre
Genre
Keywords
Acknowledgements
Translations
Bibliography
Persons
Location
Content
Library
Persons
Occupation
Self
designation
Acknowledgements

A public/private flag is used to control data visibility in two ways. On one hand, it allows private comments (e.g., to-do notes or review remarks) attached to Occurrences, Types, Manuscripts, and Persons to be excluded from specific outputs, such as the Zenodo publication. On the other, it allows entire entities to be marked as private when they are not suitable for release (e.g., work in progress, incomplete records, or material outside the project’s chronological scope). Public exports include only non-private data, while the full structured dataset, including private entries, is preserved separately for internal use and disaster recovery.

The workflow is orchestrated by a weekly scheduled, containerized task that automates the extraction, processing, and upload of the SQLite dataset to Zenodo. If no changes are detected, no new version is released. Content-level changes (additions, updates, deletions) result in a new release and can be identified by comparing successive Zenodo versions. Schema-level changes in either the PostgreSQL database or the SQLite structure invalidate the transformation logic, triggering failure notifications via a health check service and requiring manual updates to the pipeline and documentation.

Reproducibility is ensured by linking each Zenodo release to the corresponding timestamped state of both the version-controlled pipeline code and the PostgreSQL backup used for extraction. These backups follow a rolling retention schedule (daily for one week, weekly for one month, monthly for one year) and can be accessed upon request.

Quality Control

To verify the migration’s completeness, we implement extensive tests based on the original PostgreSQL data schema. Each source table is checked using a dedicated Python script to ensure all rows and columns are accurately represented in the new SQLite database. A very limited number of tables and columns are intentionally excluded from the migration; all such exceptions are clearly documented and justified in the project README. All scripts to run the migration can be accessed on https://github.com/GhentCDH/DBBE-archiver.

3 Dataset Description

Repository name

Zenodo, GitHub

Object name

Dataset of Byzantine Book Epigrams

Format names and versions

SQLite

Creation dates

The first phase of the Database of Byzantine Book Epigrams began in 2010, and the database continues to be updated with newly added epigrams to the present day.

Dataset creators

Kristoffel Demoen (supervisor), Gilbert Bentein (collaborator), Klaas Bentein (collaborator), Floris Bernard (collaborator), Julián Bértola (collaborator), Julie Boeten (collaborator), Mathijs Clement (collaborator), Cristina Cocola (collaborator), Eline Daveloose (collaborator), Sien De Groot (collaborator), Pieterjan De Potter (developer), Ilse De Vos (collaborator), Maxime Deforche (collaborator), Evelyne Diels (collaborator), Kyriaki Giannikou (collaborator), Quinten Goethals (collaborator), Anna Gregoriani (collaborator), Juan Bautista Juan López (collaborator), Krystina Kubina (collaborator), Frederic Lamsens (collaborator), Eleonora Lauro (collaborator), Hanne Lauwers (collaborator), Paulien Lemay (collaborator), Renaat Meesters (collaborator), Marjolein Morbé (collaborator), Delphine Nachtergaele (collaborator), Marthe Nemegeer (collaborator), Joachim Nielandt (collaborator), Mace Ojala (collaborator), Lisa-Lou Péchillon (collaborator), Raf Praet (collaborator), Rachele Ricceri (collaborator), Anne-Sophie Rouckhout (collaborator), Francesca Samorì (collaborator), Jeroen Schepens (collaborator), Ricarda Schier (collaborator), Febe Schollaert (collaborator), Lev Shadrin (collaborator), Nina Sietis (collaborator), Joren Six (collaborator), Dimitrios Skrekas (collaborator), Colin Swaelens (collaborator), Maria Tomadaki (collaborator), Piril Us MacLennan (collaborator), Sarah-Helena Van den Brande (collaborator), Merel Van Nieuwerburgh (collaborator), Lotte Van Olmen (collaborator), Noor Vanhoe (collaborator), Nina Vanhoutte (collaborator), Grigory Vorobyev (collaborator).

Affiliation of all contributors (at the time of data development): Ghent University, Ghent, Belgium.

Language

Greek; English for metadata

License

CC-BY (4.0)

Publication date

2026-04-06.

4 Reuse Potential

Project-internal experiments with language models show promising results on the database for tasks such as part-of-speech tagging and lemmatization (Swaelens, 2025). By providing the complete corpus in a structured, machine-readable SQLite forma t with normalized Greek texts, the dataset now makes it easier for researchers with diverse expertise to explore a wider range of LLM applications. These include classifying epigrams by type, genre, or metre, performing linguistic analyses, and extracting named entities while leveraging the fully linked metadata. Initial tests also indicate that large language models can be used to query the data in plain English by pointing to the path of the SQLite file, opening up new possibilities for interactive and flexible exploration of the corpus. This release removes previous barriers of limited web access or ad hoc data requests, facilitating both generative modeling and structured computational analyses.

Structuring the database also enables the generation of comprehensive statistics and a wide range of flexible data representations. Firstly, constructing graph-based representations becomes substantially easier with the explicit organization of entities and relations. A project collaborator has previously demonstrated the potential of this approach to explore orthographical similarity between occurrences, types, and word variants (Deforche et al., 2024), using the current database. With the new structured data, similar graph-based analyses can now be conducted more efficiently and are readily accessible to researchers. Secondly, the dataset also supports diverse analytical and visual approaches, allowing researchers to select the representations best suited to address specific research questions. For example, it is now possible to examine the distribution of epigrams across manuscripts, collections, or chronological periods (Figure 3), a task that previously required ad hoc requests to the project team due to the complexity of the underlying data.

Figure 3

Demonstration of the types of summary statistics that can be produced from the structured dataset.

Providing clear identifiers for manuscripts and persons enables the dataset to be enriched with information from external resources such as Pinakes4 or Biblissima.5 This enrichment facilitates cross-corpus analyses and improves interoperability with other datasets.

Despite these advantages, certain limitations should be acknowledged. The database remains a growing corpus. Therefore, quantitative analyses or coverage-based conclusions should be interpreted with care. Additionally, some widely used external identifiers, such as those from Pleiades,6 are not yet included, which may constrain interoperability with other linked-data projects. Nevertheless, by providing structured, machine-readable data and harmonized identifiers, the dataset significantly lowers barriers for reuse, enabling aggregation, validation, teaching, and collaborative research across multiple scholarly domains.

Notes

[2] NFC (Normalization Form Composed) is a Unicode normalization form in which a base character plus one or more diacritics (e.g., e + ’) is combined into a single precomposed character (e.g., é), ensuring visually identical text is represented consistently at the binary level.

[3] Ligatures are expanded into separate characters. Abbreviations are written in full in Types, while in Occurrences they are expanded and indicated in parentheses.

Acknowledgements

This project is supported by GhentCDH (the Ghent Centre for Digital Humanities), a core facility at Ghent University specialised in providing consultancy on Digital Humanities projects.

Author Contributions

Paulien Lemay: investigation, software, writing – original draft, writing – review & editing. Klaas Bentein: writing – review & editing. Frederic Lamsens: conceptualization, software. Joren Six: conceptualization, software, writing –review & editing. Kristoffel Demoen: writing – review & editing. Els Lefever: writing – review & editing.

DOI: https://doi.org/10.5334/johd.550 | Journal eISSN: 2059-481X
Language: English
Page range: 87 - 87
Submitted on: Apr 8, 2026
Accepted on: May 1, 2026
Published on: Jun 29, 2026
Published by: Ubiquity Press
In partnership with: Paradigm Publishing Services

© 2026 Paulien Lemay, Klaas Bentein, Frederic Lamsens, Joren Six, Kristoffel Demoen, Els Lefever, published by Ubiquity Press
This work is licensed under the Creative Commons Attribution 4.0 License.