The Specimen Data Refinery: A canonical workflow framework and FAIR Digital Object approach to speeding up digital mobilisation of natural history collections.

Cite as

Alex Hardisty, Paul Brack, Carole Goble, Laurence Livermore, Ben Scott, Quentin Groom, Stuart Owen, Stian Soiland-Reyes (2022):
The Specimen Data Refinery: A canonical workflow framework and FAIR Digital Object approach to speeding up digital mobilisation of natural history collections.
specimen-data-refinery/).
Data Intelligence 4(2)
https://doi.org/10.1162/dint_a_00135

The Specimen Data Refinery

A canonical workflow framework and FAIR Digital Object approach to speeding up digital mobilisation of natural history collections

Alex Hardisty1, Paul Brack2, Carole Goble2, Laurence Livermore3, Ben Scott3, Quentin Groom4, Stuart Owen2, Stian Soiland-Reyes2,5

1School of Computer Science and Informatics, Cardiff University, Cardiff CF24 3AA, Cardiff, UK
2The Department of Computer Science, The University of Manchester, Manchester, UK
3The Natural History Museum, London, London, SW7 5BD, UK
4Meise Botanic Garden, Nieuwelaan 38, 1860 Meise, BE
5Informatics Institute, Faculty of Science, University of Amsterdam, NL

Abstract

A key limiting factor in organising and using information from physical specimens curated in natural science collections is making that information computable, with institutional digitization tending to focus more on imaging the specimens themselves than on efficiently capturing computable data about them. Label data are traditionally manually transcribed today with high cost and low throughput, rendering such a task constrained for many collection-holding institutions at current funding levels.

We show how computer vision, optical character recognition, handwriting recognition, named entity recognition and language translation technologies can be implemented into canonical workflow component libraries with findable, accessible, interoperable, and reusable (FAIR) characteristics. These libraries are being developed in a cloud-based workflow platform – the ‘Specimen Data Refinery’ (SDR) – founded on Galaxy workflow engine, Common Workflow Language, Research Object Crates (RO-Crate) and WorkflowHub technologies. The SDR can be applied to specimens’ labels and other artefacts, offering the prospect of greatly accelerated and more accurate data capture in computable form.

Two kinds of FAIR Digital Objects (FDO) are created by packaging outputs of SDR workflows and workflow components as digital objects with metadata, a persistent identifier, and a specific type definition. The first kind of FDO are computable Digital Specimen (DS) objects that can be consumed/produced by workflows, and other applications. A single DS is the input data structure submitted to a workflow that is modified by each workflow component in turn to produce a refined DS at the end. The Specimen Data Refinery provides a library of such components that can be used individually, or in series. To cofunction, each library component describes the fields it requires from the DS and the fields it will in turn populate or enrich. The second kind of FDO, RO-Crates gather and archive the diverse set of digital and real-world resources, configurations, and actions (the provenance) contributing to a unit of research work, allowing that work to be faithfully recorded and reproduced.

Here we describe the Specimen Data Refinery with its motivating requirements, focusing on what is essential in the creation of canonical workflow component libraries and its conformance with the requirements of an emerging FDO Core Specification being developed by the FDO Forum.

1. Introduction

A key limiting factor in organising and using information from physical specimens curated in natural history collections is making that information computable (‘machine-actionable’) and extendable. More than 85% of available information currently resides on labels attached to specimens or in physical ledgers [1]. Label data are commonly transcribed manually with high cost and low throughput, rendering such a task constraining for many institutions at current funding levels. However, the advent of rapid, high-quality digital imaging has meant that digitizing specimens, including their labels, is now faster and cheaper [2]. With initiatives such as Advancing Digitization of Biological Collections (ADBC), integrated Digitized Biocollections (iDigBio) and the Distributed System of Scientific Collections (DiSSCo) [3-6] aiming to increase the rate and accuracy of both mass and on-demand digitization of natural history collections, the gap between expectations of what should be digitally available and computable, and what can be achieved using traditional transcription approaches is widening. Modern, highly efficient workflow tools and approaches can play a role to address this.

Collection digitization began towards the end of the 20th century by typing basic data from labels into the collection (asset) management systems of collection-holding institutions such as natural history museums, herbaria and universities. Initially, this was to facilitate indexing and cataloguing and locating the physical specimens, but with the addition of photographic images of specimens and the public availability of specimen data records, through data portals of the institutions themselves as well as international data infrastructures like the Global Biodiversity Information Facility (GBIF), such bodies of data have been rapidly exploited for research [7,8]. It has become clear that widespread digitization of data about physical specimens in collections and the advent of high-throughput digitization processes [9–13] is transforming and will radically further transform the range of scientific research opportunities and questions that can be addressed [14,15]. Scientific conclusions and policy decisions evidenced by digital specimen data enhance humankind’s ability to conserve, protect, and predict the biodiversity of our world [16,17].

Harnessing technologies developed to harvest, organise, analyse and enhance information from sources such as scholarly literature, third-party databases, data aggregators, data linkage services and geocoders and reapplying these approaches to specimens’ labels and other artefacts offers the prospect of greatly accelerated data capture in a computable form [18]. Tools of particular interest span the fields of computer vision, optical character recognition, handwriting recognition, named entity recognition and language translation.

Workflow technologies from the ELIXIR Research Infrastructure [19], including Galaxy [20], Common Workflow Language [21], Research Object Crates (RO-Crates) [22,23] and WorkflowHub [24], and selected tools are integrated in a cloud-based workflow platform for natural history specimens – the ‘Specimen Data Refinery’ [1] that will become one of the main services to be offered by the planned DiSSCo research infrastructure [25]. The tools themselves, implemented with findable, accessible, interoperable, and reusable (FAIR) characteristics [26] are packaged into canonical workflow component libraries [27], rendering them reusable, and interoperable with one another. FAIR Digital Objects are adopted as the common input/output pattern, fully compatible with digital objects at the core of DiSSCo data management [28].

The Refinery brings together domain-specific workflows for processing specimen images and extracting text and data from images with canonical forms for components and interactions between components that can lead to improved FAIR characteristics for both the workflows themselves and the data resulting from workflow execution.

FAIR Digital Objects (FDO) are created by packaging outputs of workflows and workflow components as digital objects with metadata, a persistent identifier, and a specific type definition against which operations can be executed [29]. The Refinery uses two kinds of FDOs:

We first summarise related work before describing the problem to be addressed by the Specimen Data Refinery. We then explain our Canonical Workflows for Research (CWFR) approach using these FDOs in the design of the SDR, the experimental setup, and results so far from the work in progress. While future work will clarify full results and challenges of implementing a robust, reliable, and easy-to-use production-capability SDR, in this early report following SDR prototyping and conceptualization, we focus on what we found to be essential in the use of FDOs and CWFR canonical step libraries, and on the compliance of canonical workflow (component) inputs and outputs with the requirements of the FDO Framework [31].

2.1 Workflows for processing specimen images and extracting data

While natural history collections are heterogeneous in size and shape, often they are mass digitized using standardised workflows [9 - 13]. In pursuit of higher throughput at lower cost, yet with higher accuracy and richer metadata, further automation will increasingly rely on techniques of object detection and segmentation, optical character recognition (OCR) and semantic processing of labels, and automated taxonomic identification and visual feature analysis [1, 18].

Although there is a great deal of variety among images of different kinds of collection objects that are digitized (see figure 1) there are visual similarities between them. Most images contain labels, scale bars and often, colour charts as well as the specimen itself. This makes them amenable to improved approaches to object detection [32] and segmentation into ‘regions of interest’ [33] as precursive steps for multiple kinds of workflows.

From the Natural History Museum, London, demonstrating the diversity of collection objects, which include handwritten, typed, and printed labels. (a) Microscope slide (NHMUK010671647), (b) Herbarium specimen (BM000546829), (c) pinned insect (NHMUK013383979)

A range of specimen images

From the Natural History Museum, London, demonstrating the diversity of collection objects, which include handwritten, typed, and printed labels. (a) Microscope slide (NHMUK010671647), (b) Herbarium specimen (BM000546829), (c) pinned insect (NHMUK013383979)

Segmentation, specifically, can be employed as an early step in a workflow to send just the relevant region(s) of interest from an image to later workflow steps. Not only does this decrease data transfer time and minimise computational overheads but it can also substantially increase the accuracy of subsequent OCR processing and semantic recognition steps [18].

Much of the data about specimens is stored on their handwritten, typed or printed labels or in registers/ledgers [34]. Direct manual transcription into local databases with manual georeferencing is the primary method used today to capture this data. Potentially, OCR can significantly increase transcription speeds whilst reducing cost; although it sacrifices accuracy and disambiguation that are today achieved with specialist knowledge provided by humans during the process. Returning character strings from OCR is useful, but semantically placing this data in its context as information specific to natural history specimens and linking that back to the original physical specimens is of much higher value, improving the utility of natural history collections. Shortfalls in accuracy and disambiguation can be made up by exploiting Natural Language Processing (NLP) advances such as named entity recognition to identify text segments belonging to predefined categories (for example, species name, collector, locality, date) [18]. Nevertheless, this only works well on a small proportion of captured data in the absence of ‘human in the loop’ input. To better automate disambiguation of people’s names, for example, access to other contextual ‘helper’ data are needed (e.g., biographical data in Wikidata) as well as cross-comparison with other data from the specimen, such as the date of collection and location [35].

Automated identification of species from images of living organisms has achieved impressive levels of accuracy [36–41] with techniques translated to an increasing range of enthusiastically received consumer applications for plant and animal identification using mobile phones (e.g., Plantsnap, PictureThis, iNaturalist SEEK). Automated identification of preserved specimens, however, presents different challenges. Although identification might be made more accurately because a specimen is presented in a standard manner, separated from other organisms and the complexity of a natural background, the loss of colour and distortion of the shape of the organism arising from preparation and preservation processes can lead to the loss of important identification clues that might be present on a living example.

2.2 Workflow management systems and canonical workflows for research

A workflow chains together atomised and executable components with the relationships between them to clearly define a control flow and a data flow. Their significant defining characteristics are (i) abstraction, through the separation of the workflow specification (the work to be done) from its execution (how it is done), and (ii) composition whereby the components can be cleanly combined and reused and workflows themselves can be neatly packaged as components [42]. Workflow management systems typically provide the necessary mechanisms for explicitly defining workflows in a reusable way together with a workflow engine that executes the workflow steps and keeps an accountable record of the processing – logging the codes executed and the data lineage of the results. In the past decade there has been a rise in popularity in both the development of WfMS and their use, driven by the increasing scales of data and the accompanying complexity of its processing [42].

Workflow management systems typically vary in the features they provide for supporting: workflow programming language and control flow expressivity; data type management; code wrapping, containerisation and integration with software management tools; exploitation of computational architectures; availability of development and logging tools; licensing and so on. Although several hundred kinds of such systems exist [43], communities tend to cluster around a few popular systems based on their “plugged-in” availability of data type specialist codes, the catered-for skills level of the workflow developers, and its documentation, community support and perceived sustainability. For the Specimen Data Refinery, the Galaxy workflow system [20] in conjunction with Common Workflow Language (CWL) [21] has been chosen. CWL is a workflow specification standard geared towards supporting interoperable and scalable production pipelines, abstracting away from the internal data structures of some of the language-specific workflow systems.

Originally designed for computational biology and with many available tool components, Galaxy [20] supports multiple domains. Workflows can be built by manually experimenting with data manipulations in a ‘data playground’ and subsequently converting histories of those to workflows, or by a more traditional drag-and-drop composition approach. New components can be created by wrapping existing programs, with in-built dependency management and automated conversion to executable containers. As such, Galaxy and CWL offer possibilities for a rich canonical workflow component landscape with a workflow management regime that can be both easily FAIR compliant and efficient internally [27]. The WorkflowHub, which facilitates CWL and enables workflows to be registered, shared and published, is mutually coupled with Galaxy so that workflows can be discovered in the Hub and immediately executed in a public-use Galaxy instance.

In the context of the SDR, users can construct institution or project-specific variants of digitization workflows to suit their specific needs. As collections are heterogeneous, different specimen types or specific sets of specimens are likely to have variations and idiosyncrasies in the digitization and processing needed. Tools for automated identification of specimens are likely to be taxon-specific, and as such it seems likely that taxon-specific workflows will become common. In addition, institutions have specific data exchange requirements for their individual collection management systems. Ensuring that workflows can be easily modified in a common environment bridges the gap between community contribution to shared tooling and the bespoke needs of specific institutions/collections.

Although computational workflows typically emphasize scalable automated processing, in practice many also combine automation with manual steps. This feature is also supported by Galaxy and CWL, allowing (for example) manual geocoding and verification during the digitization process of the locations where specimens were collected.

2.3 FAIR Digital Objects

Galaxy/CWL environments offer the possibility to integrate generic digital object methods [44–46] for the interactions between workflow components, thus making them able to meet the need and ease the burden of compiling FAIR compliant data throughout the research lifecycle [27].

A digital object exhibiting FAIR characteristics is a FAIR Digital Object [29] and is defined formally as “a unit composed of data and/or metadata regulated by structures or schemas, and with an assigned globally unique and persistent identifier (PID), which is findable, accessible, interoperable and reusable both by humans and computers for the reliable interpretation and processing of the data represented by the object”.

Supporting ‘FAIRness’ internally and acting as glue between the steps of canonical workflows, FDOs record and can represent the state of a workflow, its inputs and outputs, and the component steps performed in a comprehensive manner [27]. Each FDO is anchored by a globally unique and resolvable, persistent identifier (PID) (such as a DOI®, for example) that clearly refers to one digital entity. The PID resolution offers persistent references to find, access and reuse all information entities that are relevant to access and interpret the content of an FDO. In doing so, the FDO creates a new kind of machine-actionable, meaningful and technology independent unit of information. This is both immediately available and amenable for further use, as well as being comparable to the role of the classical archival storage box when necessary.

2.3.1 Computable Digital Specimens as a kind of FAIR Digital Object

Digital Specimens (DS) are a specific class of FDO that group, manage and allow processing of fragments of information relating to physical natural history specimens. On a one-to-one correspondence a DS authoritatively collates data about a physical specimen (i.e., information extracted and captured from labels by digitization workflows) with other data – often to be found from third-party sources – derived from analysis and use of the specimen.

openDS [47] is the developing specification for open Digital Specimens and other related object types, defining: i) the logical structure and content of Digital Specimen (DS), Basic Image Object (BIO) and other object types, and the operations permitted on them; ii) the handling rules and behaviors governing digital specimen object operations in general; and iii) serialization and packaging as JavaScript Object Notation (JSON) for lightweight data interchange between systems, sub-systems and components of systems (for which, read ‘workflow components’ [48]. openDS is essential to future FAIR digitization of natural history collections and to Digital Specimens as self-standing digital objects on the Internet, amenable to computer processing. It contributes to the new transformative generation of FAIR infrastructure and applications based on Digital Object Architecture that is planned for the Distributed System of Scientific Collections (DiSSCo) [6, 25, 30] European research infrastructure.

Henceforth we refer to these as openDS FDOs.

2.3.2 FAIR packaging of research/workflow objects with RO-Crate

The useful outcomes of research are not just traditional publications nor data products but everything that goes into and supports an investigative work or production pipelining activity. This includes input and intermediate data, parameter settings, final outputs, software programs and workflows, and configuration information sufficient to make the work reproducible. Research objects [49] are a general approach to describing and associating all of this content together in a machine-readable form so that it can be easily preserved, shared and exchanged. Workflow objects are a specific subclass of research objects.

RO-Crate [22,23] has been established as a community standard to practically achieve FAIR packaging of research objects with their structured metadata. Based on well-established Web standards, RO-Crate uses JSON-LD [50] with Schema.org [51] for its common metadata representation. It is extensible with domain-specific vocabularies in a growing range of specializing RO-Crate profiles, e.g., for domains such as earth sciences [52], biosciences [53]; for object types such as data or workflow [54]; or for workflow runs). RO-Crate has been proposed for the implementation of FAIR Digital Objects on the World Wide Web as a common representation of the FDO Metadata objects foreseen by the FDO Framework [53,31]. Combined with FAIR Signposting [55] for resolving persistent identifiers (PID) to FDOs on the World Wide Web, these RO-Crates are findable, accessible, interoperable, and reusable by machines to both create and obtain the information they need to function.

Henceforth, we refer to RO-Crate FDOs.

3. Problem Description

3.1. Automating digitization and capturing the process

In the lengthy history of collectors and museums curating artefacts and specimens, we see that there have been and always will be ambiguities, uncertainties, and inaccuracies in interpretations of recorded information and attached labels [56]. The practices of different collectors and curators vary and change over time. There are constraints of the label medium itself arising from the specifics of accepted preparation and preservation processes (e.g., tiny, handwritten labels pinned to butterflies).

Although systematic digitization of label and other recorded data can help to unify otherwise diverse information (e.g., species names, locations) the digital process and the resulting digital specimen data carry their own assumptions, simplifications, inconsistencies, and limitations. Over time, tools and methods, workflows and data models all evolve and improve. In particular, increasing automation for throughput and accuracy often involves increased assistance from computers and software.

Just as manual curation and improvement work implies the need for good record keeping, so too does working digitally imply the importance of ensuring that sufficient records are captured about the computer-assisted digitization and curation processes (provenance). These justify the produced digital specimen data and propagate credit for work done to their analogue equivalents, and also allow retrospective review, revision or recomputation of the produced data as future needs, practices or knowledge change.

Globally, there is underinvestment and missing technical expertise for wide-scale automated mass digitization. Sharing proven digitization workflows via a repository or registry linked to an individual published journal article presents significant barriers to re-use. Exploiting hosted community environments – in this case Galaxy and WorkflowHub – for the deployed tooling lowers barriers and provides rapid and easy access for institutions with limited capabilities and capacities for digitization. Hosted workflows represent “primacy of method” for a community evolving towards a new research culture that is becoming increasingly dependent on working digitally and collaboratively [57,58].

3.2. Users, user stories and specimen categories

Initially, two kinds of users must be supported: digitizer technicians and collections managers/curators. Five high-level user stories describe and broadly encompass the functionality these users need:

  1. As a digitizer, I want to construct a workflow from a set of predefined components, so I can use that workflow to digitize specimens to a predefined specification.

  2. As a digitizer, I want to run one or many specimen images through a workflow so I can create new digital specimens.

  3. As a collection manager/curator, I want to run one or many digital specimens through a workflow to enrich my digital specimens with further data.

  4. As a collection manager/curator, I want to view the metadata of a digitization workflow run so I can understand what happened on that run.

  5. As a digitizer, I want to export the output of a digitization run, so I can consume the output of a digitization run into my institution’s collection management system.

To prove the SDR concept, three categories of preserved specimen types have been selected to be supported initially: herbarium sheets, microscope slides and pinned insects (see figure 1).

4. The FDO and CWFR approach in the Specimen Data Refinery

Workflows will be designed to support the user categories and stories given above. The performance of the SDR will be evaluated against these specimen types, eventually using several thousand different specimen and label images. This is in anticipation of SDR becoming part of the pivotal technology to achieve high rates of mass FAIR digitization expected through the planned DiSSCo research infrastructure [6, 25, 30].

4.1. FDO types

In the Specimen Data Refinery (see figure 2) the role of openDS FDOs is planned as the basis for the primary workflow inputs and outputs, and for data transfer and interactions between components within SDR workflows. A single openDS FDO submitted to the beginning of the workflow (or a de novo digitization that is immediately wrapped as a new openDS FDO) becomes modified by each workflow component to produce an incrementally refined openDS FDO. FDOs are acting as the unit of data communication between canonical workflow components, in that each step is immediately creating an FDO with associated FAIR compliant documentation.

Adopted for the SDR as a Galaxy workflow management system implementation with ‘de novo digitization’ and ‘enrichment’ entry points.

CWFR approach

Adopted for the SDR as a Galaxy workflow management system implementation with ‘de novo digitization’ and ‘enrichment’ entry points.

RO-Crate FDOs capture two aspects of a workflow:

a) A Workflow-RO-Crate contains the workflow definition, the computational tools and configuration, graphical image of the workflow, etc; this is the method registered in the WorkflowHub and activated in the Specimen Data Refinery for execution.

b) A Workflow-Run-RO-Crate references (a) and records the details of a specific computational workflow run and its runtime information, with relations to the used and generated FDOs. This captures the digitization provenance that is generated as the openDS FDO makes its journey through a workflow.

The final step in SDR workflows can be a data exporter tool, allowing users to export the entire openDS object as is, or to convert and export it in another format, such as CSV, DarwinCore Archive, etc. This reconfigurable nature of data export allows users to define their own transformer function to allow export to match formats specific to specific collection management systems in use by their institution, such that refined data can be repatriated. The provenance exporter transforms Galaxy workflow history data into a Workflow-Run-RO-Crate FDO.

All FDO types are serialized as JSON.

4.2. Canonical components

Each workflow component from a canonical library (to be built, illustrated as tools #1 - #4 in figure 2) describes what attributes it requires from the openDS FDO to be able to function, and the attributes it will in turn populate or enrich. The interface between the component and the openDS FDO is formed by the wrapper (orange in figure 2) around the (optionally) containerized command-line tool (blue/green in figure 2). Canonical components can be used individually, or in series. The openDS FDO data flows between components will always be of the same type, being modified as the workflow proceeds.

This allows tools to function both as standalone components and as part of any sequence of chained tools, provided that the specific openDS FDO attributes required for a tool to work are pre-populated. This keeps the SDR flexible and customisable for different digitization pipelines.

Two entry points are provided for users of the SDR. One is named as the ‘de novo digitization’ entry point (figure 2) fulfilling the needs of user story (2) where specimens are being newly digitized for the first time. The second entry point, named as the ‘enrichment’ entry point (figure 2) fulfils the needs of user story (3) where an existing openDS FDO (or reference to it) can be provided to the SDR as part of the input data.

In parallel to manipulating openDS FDOs, the Refinery gathers the minimum inputs and workflow components required to produce deterministic output and produces a Workflow-Run-RO-Crate FDO.

5. Experiments and analysis

5.1. Experimental workflows

The workflows of the SDR compose different functional components according to specific need: image segmentation, barcode reading, optical character recognition, text contextualisation/entity recognition, geocoding, taxonomic linkage, people linkage, specimen condition checking, automated identification, and data export/conversion. Broadly speaking there are two main kinds of workflow: i) specimen workflows, where the specimen itself is analysed for morphological traits, colour analysis, condition checking and automated identification; and ii) text and label workflows, where handwritten, typed or printed text from the image is read, named entities are classified, then linked to identifiers or enhanced through post processing.

Both kinds of workflow can begin with initial openDS object creation based on the submission of specimen image files and accompanying input parameters through a forms-based user interface (de novo digitization entry point); or, alternatively, a pre-existing openDS object with accompanying image object(s)can be supplied as the input (enrichment entry point). Both kinds of workflow also rely on the image segmentation component as the precursor for subsequent workflow steps. Similarly, and if needed both kinds might use a format conversion and export component as their final step; for example, if an openDS FDO is not a natively compatible output for the next consuming application.

Although not within the scope of the present proof-of-concept, other more precise workflows for enhancing specific aspects of existing records can be foreseen. There are many specimen records, for example where locality text, although digitally available, is not yet geocoded. There are records with unlinked or ambiguous collector names that could be linked/disambiguated; and records where unknown specimens still need identifying.

5.2. Experimental data and evaluation

5.2.1. Evaluation images datasets

The Refinery will be evaluated using sets of images, each composed of at least 1,000 unique specimens for each of the three categories of preserved specimen types: herbarium sheets, microscope slides and pinned insects. For herbarium sheet images we will reuse an existing benchmark dataset of 1,800 herbarium specimen images with corresponding transcribed data [59]. For microscope slide and pinned insect specimen images similar evaluation datasets will be prepared against the same label characteristics: written in different languages; printed or handwritten; covering a wide range of dates; both type specimens and general collections and will provide specimens from different families and different parts of the world. Each test dataset set will be composed of images from different institutions to ensure representation of heterogeneity. For the present proof of concept, we limit the scope to Latin alphabet languages. These datasets will also be used to train Refinery models for use in tools (e.g., segmentation, named entity recognition, object/feature detection). All the datasets will be made publicly available with documentation.

5.2.2 Component functional tests

Galaxy has a built-in functional test framework. Tools intended to become components of an SDR canonical library (actually, a Galaxy ToolShed repository) will need to pass previously defined tests within this framework. These tests, based on pre-supplied openDS FDO input and output files containing the properties expected to be populated by the tool, include validating a tool’s own openDS FDO outputs by comparison against the expected output file. It will be necessary to register openDS FDOs as Galaxy custom data types.

6. Results

openDS FDOs are the core data object at the heart of the SDR, playing not only the workflow input/output role but acting also as a common data structure between tool steps within the workflow. Users can launch the workflow with either an openDS object, for further augmentation by the SDR, or they can complete a form with the specimen information, which is then converted to an openDS object before the workflow proper begins.

Each SDR Galaxy tool defines the properties it requires in JSONPath syntax [60]. The wrapper validates that these properties exist in the openDS object, plucks them from the openDS JSON, makes them available as named parameters, and passes these through to the tool processing (via either a Docker or Python command line). The wrapper validates the input openDS against the openDS schema, the tool performs its processing and updates the openDS, and the wrapper validates the changed openDS against the schema before writing to disk. For the prototypical SDR, a static, local version of the openDS schema is used. Future iterations will use referenceable versions of the openDS schema, allowing for schema changes and for tools to validate their data input and outputs against versions of the schema.

On ingestion, every openDS is assigned a persistent identifier, ensuring unambiguity and referential integrity for every processed object. In production, DOIs will be minted by the DiSSCo service; for the proof-of-concept Handles with prefix 20.5000.1025/ will be used.

7. Discussion

7.1. What is being achieved?

The design of the Specimen Data Refinery uses two kinds of FAIR Digital Object – openDS FDOs and RO-Crate FDOs. Each plays a role to ensure ‘FAIRer’ automated digitization for natural history specimens and associated provenance capture:

Both kinds of FDO are essential. They complement one another to support implementation of the FAIR principles, especially the interoperable and reusable principles by making workflows self-documenting. This renders automated whole processes (or fragments thereof) for digitizing and extending natural history specimens’ data as FAIR without adding additional load to the researchers that stand to benefit most from that [27]. Each FDO type originates from different Research Infrastructures (ELIXIR, DiSSCo) with different implementation frameworks. Yet, they interoperate effectively due to their clear roles, common conceptual model and separation of concerns.

7.2. Different FDO implementations working together

openDS FDOs have their heritage in distributed digital object services [46] and are implemented through Digital Object Architecture (DOA) [62] with Digital Object Interface Protocol (DOIP) [63], Digital Object Identifier Resolution Protocol (DO-IRP) [64], and recommendations of the Research Data Alliance [65]. Serialized as JSON, they are machine-actionable and compatible with established protocols of the World Wide Web.

RO-Crates are native to the World Wide Web, based on established web protocols, machine-readable metadata using Linked Data Platform methods [66], JSON-LD and Schema.org [49], and community-accepted packaging mechanisms such as BagIt. This makes RO-Crates straightforward to incorporate into pre-existing platforms such as Galaxy and data repositories such as Zenodo and DataVerse.

Both kinds of FDO use Persistent identifiers (PID), allowing instances to be both uniquely identified and their location to be determined; RO-Crates, as web natives, use URIs whereas openDS, as DOA objects, use Handle PIDs. Instances of both kinds are described by metadata and contain or reference data.

RO-Crates are self-describing using a metadata file and use openly-extensible profiles to type the Crates (profile-typing) to set out expectations for their metadata and content. openDS uses an object-oriented object typing and instance approach to define the structure and content of data/metadata. Complex object types are constructed from basic types, an extension-section basic type. Both approaches seek to avoid locking objects into repository silos, ensuring that FDO instances can be interpreted outside of the contexts in which they were originally created/stored.

Structurally and semantically openDS FDOs and RO-Crate FDOs are potentially isomorphic, although at different granularity levels. Their main difference is in method calling. As a DOA object, openDS would expect to respond to type-specific method calls if these were implemented. RO-Crates delegate actionability to applications that interpret their self-describing profile.

Within the SDR the two kinds of FDO fulfill distinct and interlocking roles for data (openDS) and self-documented method (RO-Crate) so their different forms is not an issue. In future there may be a need to map and convert between the approaches (e.g., for reconstructing past processing), which would be assisted by the common FDO conceptual model [31].

7.3. Key domain challenges ahead

For a digitized specimen to conform to FAIR principles, its data must be linked to a vocabulary of terms, but choosing a single vocabulary is likely to cause interoperability issues when cross-linking to resources using another vocabulary, for example Darwin Core, Schema.org, or Access to Biological Collection Data (ABCD). Whilst concepts can be mapped across vocabularies (for example, using Simple Knowledge Organization System (SKOS) matching), such an effort might rapidly become overly complex and cumbersome, as the challenge of the Unified Medical Language System (UMLS) demonstrates. The challenge remains - how is such a mapping exercise maintained at a ‘just enough’ level?

Different Earth Science domains have different use cases for digital records. A digital record produced for biodiversity research is likely to have different granularity, understanding and focus to one produced for climate science. It remains to be seen if a single FAIR Digital Object definition could be produced to satisfy multiple domains, and if different objects could be produced for different domains, what would they look like; and would this hinder future cross-compatibility?

The openDS FDO type produced by the SDR is a new object format for the natural history domain that is foreseen to become an adopted standard over time. Institutional collection management systems will need to be upgraded before they can consume the FDO outputs from the SDR. Early adopters may need assistance to produce SDR exporters matching proprietary ingestion formats. For an interim period, there may be a need for the SDR to output today’s widely used Darwin Core Archives format in parallel.

As the functional requirements of the SDR are emergent, a minimum viable product has been scoped, but this should be contrasted with the notion of a useful product. An MVP is a prototype; a tool to get a project off the ground with enough features to be usable by early adopters, and to build on to learn user requirements. But it is not intended to meet the day-to-day requirements of all users. To nurture future development, care must be taken to continue involving key stakeholders in eliciting further requirements to make the SDR useful for the widest range of users, and from there, develop a rich, configurable tool to allow simple uptake and provide utility for resource-poor collections.

8. Conclusion and Future Work

The Specimen Data Refinery is likely to garner widespread interest across the Natural History community. Whilst the promise of a scalable, community-driven digitization platform is tantalising for many natural history professionals, the Specimen Data Refinery project is still in its early stages, and, as discussed above key challenges lie ahead.

Although natural history collections are generally catalogued by the taxonomic identity of the curated object, there remains a large historical backlog of unidentified specimens. The Meise Botanic Garden (BE), for example, has an estimated 4 million specimens with at least 11% not yet identified to species level. Furthermore, it is calculated that half of the World’s estimated 70,000 plant species yet to be described have already been collected and are waiting in collections still to be ‘discovered’ [21]. The same is likely to be true for other groups of organisms, especially insects. Unnamed specimens tend to have lowest priority for digitization and their data are rarely shared. Machine learning as canonical steps in SDR workflows presents a tremendous opportunity to put an identification on these specimens and potentially, to triage them for further taxonomic investigation.

Author Contributions

Alex Hardisty
Conceptualization, Investigation, Supervision, Validation, Writing – original draft, Writing – review & editing, Approval.
Paul Brack
Investigation, Writing – original draft, Writing – review & editing.
Carole Goble
Conceptualization, Supervision, Writing – review & editing
Laurence Livermore
Conceptualization, Funding acquisition, Investigation, Writing – original draft, Writing – review & editing.
Ben Scott
Investigation, Writing – original draft, Writing – review & editing.
Quentin Groom
Funding acquisition, Investigation, Writing – original draft, Writing – review & editing.
Stuart Owen
Investigation, Writing – original draft, Writing – review & editing.
Stian Soiland-Reyes
Investigation, Writing – original draft, Writing – review & editing.

Contribution types are drawn from CRediT - Contributor Roles Taxonomy.

Acknowledgements

This work has received funding from the European Union's Horizon 2020 research and innovation programme under grant agreement numbers 823827 (SYNTHESYS Plus), 871043 (DiSSCo Prepare), 823830 (BioExcel-2), 824087 (EOSC-Life).

References

[1] Walton S, Livermore L, Bánki O, Cubey RWN, Drinkwater R, Englund M, Goble C, Groom Q, Kermorvant C, Rey I, Santos CM, Scott B, Williams AR, Wu Z (2020):
Landscape Analysis for the Specimen Data Refinery.
Research Ideas and Outcomes 6: e57602.
https://doi.org/10.3897/rio.6.e57602

[2] Thiers, B. M., Tulig, M. C., & Watson, K. A. (2016):
Digitization of the New York Botanical Garden herbarium.
Brittonia, 68(3), 324-333.
https://doi.org/10.1007/s12228-016-9423-7

[3] Nelson, G., Ellis, S., 2019:
The history and impact of digitization and digital data mobilization on biodiversity research.
Philosophical Transactions of the Royal Society B: Biological Sciences 374, 20170391.
https://doi.org/10.1098/rstb.2017.0391

[4] Nelson, G., Paul, D.L., (2019):
DiSSCo, iDigBio and the Future of Global Collaboration.
Biodiversity Information Science and Standards 3:e37896.
https://doi.org/10.3897/biss.3.37896

[5] Addink W, Koureas D, Rubio A. (2019):
DiSSCo as a New Regional Model for Scientific Collections in Europe. Biodiversity Information Science and Standards 3:e37502.
https://doi.org/10.3897/biss.3.37502

[6] Lannom L, Koureas D, Hardisty AR (2020):
FAIR Data and Services in Biodiversity Science and Geoscience.
Data Intelligence 2(1–2):122–130.
https://doi.org/10.1162/dint_a_00034

[7] GBIF Secretariat. (2021). GBIF Science Review 2020.
https://doi.org/10.35035/bezp-jj23

[8] Heberling, J. M., Miller, J. T., Noesgaard, D., Weingart, S. B., & Schigel, D. (2021). Data integration enables global biodiversity synthesis. Proceedings of the National Academy of Sciences, 118(6).
https://doi.org/10.1073/pnas.2018093118

[9] Sweeney, P.W., Starly, B., Morris, P.J., Xu, Y., Jones, A., Radhakrishnan, S., Grassa, C.J. and Davis, C.C. (2018), Large–scale digitization of herbarium specimens: Development and usage of an automated, high–throughput conveyor system. Taxon, 67: 165-178.
https://doi.org/10.12705/671.10

[10] Allan, E.L., Livermore, L., Price, B., Shchedrina, O., Smith, V., (2019). A Novel Automated Mass Digitisation Workflow for Natural History Microscope Slides. Biodiversity Data Journal 7, e32342.
https://doi.org/10.3897/BDJ.7.e32342

[11] Hereld, M., Ferrier, N., (2019). LightningBug ONE: An experiment in high-throughput digitization of pinned insects. Biodiversity Information Science and Standards 3, e37228.
https://doi.org/10.3897/biss.3.37228

[12] Price, B.W., Dupont, S., Allan, E.L., Blagoderov, V., Butcher, A.J., Durrant, J., Holtzhausen, P., Kokkini, P., Livermore, L., Hardy, H., Smith, V., (2018). ALICE: Angled Label Image Capture and Extraction for high throughput insect specimen digitisation.
https://doi.org/10.31219/osf.io/s2p73

[13] Tegelberg, R., Kahanpää, J., Karppinen, J., Mononen, T., Wu, Z., Saarenmaa, H., (2017). Mass Digitization of Individual Pinned Insects Using Conveyor-Driven Imaging, in: 2017 IEEE 13th International Conference on E-Science (e-Science). Presented at the 2017 IEEE 13th International Conference on e-Science (e-Science), pp. 523–527.
https://doi.org/10.1109/eScience.2017.85

[14] Heberling, J.M., Prather, L.A., Tonsor, S.J. (2019) The Changing Uses of Herbarium Data in an Era of Global Change: An Overview Using Automated Content Analysis, BioScience, Volume 69, Issue 10, October 2019, Pages 812–822,
https://doi.org/10.1093/biosci/biz094

[15] Kharouba Heather M., Lewthwaite Jayme M. M., Guralnick Rob, Kerr Jeremy T. and Vellend Mark (2019) Using insect natural history collections to study global change impacts: challenges and opportunities. Phil. Trans. R. Soc. B3742017040520170405.
https://doi.org/10.1098/rstb.2017.0405

[16] Myrna E Watanabe, The Evolution of Natural History Collections: New research tools move specimens, data to center stage., BioScience, Volume 69, Issue 3, March 2019, Pages 163–169,
https://doi.org/10.1093/biosci/biy163

[17] Nic Lughadha, E.M., Graziele Staggemeier, V., Vasconcelos, T.N.C., Walker, B.E., Canteiro, C. and Lucas, E.J. (2019), Harnessing the potential of integrated systematics for conservation of taxonomically complex, megadiverse plant groups. Conservation Biology, 33: 511-522.
https://doi.org/10.1111/cobi.13289

[18] Owen D, Livermore L, Groom Q, Hardisty A, Leegwater T, van Walsum M, et al. (2020). Towards a scientific workflow featuring Natural Language Processing for the digitisation of natural history collections. Research Ideas and Outcomes 6: e58030.
https://doi.org/10.3897/rio.6.e58030

[19] Jennifer Harrow, John Hancock, ELIXIR-EXCELERATE Community, Niklas Blomberg (2021): ELIXIR-EXCELERATE: establishing Europe’s data infrastructure for the life science research of the future. EMBO Journal 40(6):e107409
https://doi.org/10.15252/embj.2020107409

[20] Afgan, E., Baker, D., Batut, B., van den Beek, M., Bouvier, D., Čech, M., et al. (2018). The Galaxy platform for accessible, reproducible and collaborative biomedical analyses: 2018 update. Nucleic Acids Research 46, W537–W544.
https://doi.org/10.1093/nar/gky379

[21] Crusoe, M.R., Abeln, S., Iosup, A., Amstutz, P., Chilton, J., Tijanić, N., et al., (2021). Methods Included: Standardizing Computational Reuse and Portability with the Common Workflow Language.
arXiv:2105.07028 [cs].

[22] Carragáin, E.Ó., Goble, C., Sefton, P., Soiland-Reyes, S., (2019). A lightweight approach to research object data packaging. Bioinformatics Open Source Conference (BOSC), ISMB/ECCB 2019, Basel, Switzerland, 24-25 July 2019 (Session 1, Part 1075).
https://doi.org/10.5281/zenodo.3250687

[23] Soiland-Reyes, S., Sefton, P., Crosas, M., Castro, L.J., Coppens, F., Fernández, J.M., et al. (2021). Packaging research artefacts with RO-Crate. Data Science (accepted).
arXiv:2108.06503 [cs.DL].

[24] Goble, C., Soiland-Reyes, S., Bacall, F., Owen, S., Williams, A., Eguinoa, I., et al. (2021). Implementing FAIR Digital Objects in the EOSC-Life Workflow Collaboratory. Zenodo.
https://doi.org/10.5281/zenodo.4605654

[25] Addink, W., Koureas, D., and Rubio, A. (2019). DiSSCo as a New Regional Model for Scientific Collections in Europe. Biodiversity Information Science and Standards, 3, e37502.
https://doi.org/10.3897/biss.3.37502

[26] Wilkinson, M.D., Dumontier, M., Aalbersberg, Ij.J., Appleton, G., Axton, M., Baak, et al. (2016). The FAIR Guiding Principles for scientific data management and stewardship. Scientific Data 3, 160018.
https://doi.org/10.1038/sdata.2016.18

[27] Wittenburg, P., Hardisty, A., Peer, L., and LeFranc, Y. (2021). Canonical Workflows to Make Data FAIR. Data Intelligence - this special issue.

[28] Hardisty, A. (2019). Provisional Data Management Plan for DiSSCo infrastructure. Deliverable D6.6. ICEDIG.
https://doi.org/10.5281/zenodo.3532937

[29] De Smedt, K., Koureas, D., Wittenburg, P. (2020). FAIR Digital Objects for Science: From Data Pieces to Actionable Knowledge Units. Publications 8 (2).
https://doi.org/10.3390/publications8020021

[30] Hardisty, A., Saarenmaa, H., Casino, A., Dillen, M., Gödderz, K., Groom, Q., et al. (2020). Conceptual design blueprint for the DiSSCo digitization infrastructure - DELIVERABLE D8.1. Research Ideas and Outcomes 6: e54280.
https://doi.org/10.3897/rio.6.e54280

[31] FDO Coordination Group (2020) FDO Framework.
https://github.com/GEDE-RDA-Europe/GEDE/tree/master/FAIR%20Digital%20Objects/FDOF (accessed August 10, 2021).

[32] Triki, A., Bouaziz, B., Mahdi, W., & Gaikwad, J. (2020). Objects Detection from Digitized Herbarium Specimen based on Improved YOLO V3. In VISIGRAPP (4: VISAPP) (pp. 523-529).
https://doi.org/10.5220/0009170005230529

[33] Nieva de la Hidalga, A., Rosin, P.L., Sun, X., Livermore, L., Durran, J., Turner, J., Dillen, M., Musson, A., Phillips, S., Groom, Q., and Hardisty, A.R. (2021) Cross-validation of a semantic segmentation network for natural history collection specimens. (in second round of review at present).

[34] Walton S, Livermore L, Dillen M, De Smedt S, Groom Q, Koivunen A, Phillips S (2020) A cost analysis of transcription systems. Research Ideas and Outcomes 6: e56211.
https://doi.org/10.3897/rio.6.e56211

[35] Groom, Q., Güntsch, A., Huybrechts, P., Kearney, N., Leachman, S., Nicolson, N., et al. (2020). People are essential to linking biodiversity data, Database 2020.
https://doi.org/10.1093/database/baaa072

[36] Knyshov, A., Hoang, S., Weirauch, C., (2021). Pretrained Convolutional Neural Networks Perform Well in a Challenging Test Case: Identification of Plant Bugs (Hemiptera: Miridae) Using a Small Number of Training Images. Insect Systematics and Diversity, Volume 5, Issue 2, March 2021, 3.
https://doi.org/10.1093/isd/ixab004

[37] Hussein, B.R., Malik, O.A., Ong, W.H., Slik, J.W.F.. (2021). Application of Computer Vision and Machine Learning for Digitized Herbarium Specimens: A Systematic Literature Review.
https://arxiv.org/abs/2104.08732v1

[38] Carranza-Rojas, J., Goeau, H., Bonnet, P. et al. Going deeper in the automated identification of Herbarium specimens. BMC Evol Biol 17, 181 (2017).
https://doi.org/10.1186/s12862-017-1014-z

[39] Little, D. P., Tulig, M., Tan, K. C., Liu, Y., Belongie, S., Kaeser‐Chen, C., Michelangeli, F. A., et al. 2020. An algorithm competition for automatic species identification from herbarium specimens. Applications in Plant Sciences 8( 6): e11365.
https://doi.org/10.1002/aps3.11365

[40] Pryer, K. M., Tomasi, C., Wang, X., Meineke, E. K., and Windham, M. D.. 2020. Using computer vision on herbarium specimen images to discriminate among closely related horsetails (Equisetum). Applications in Plant Sciences 8( 6): e11372.

[41] Unger, J., Merhof, D. & Renner, S. Computer vision applied to herbarium specimens of German trees: testing the future utility of the millions of herbarium specimen images for automated identification. BMC Evol Biol 16, 248 (2016).
https://doi.org/10.1186/s12862-016-0827-5

[42] Atkinson, M., Gesing, S., Montagnat, J., Taylor, I., 2017. Scientific workflows: Past, present and future. Future Generation Computer Systems 75, 216–227.
https://doi.org/10.1016/j.future.2017.05.041

[43] Peter Amstutz, Maxim Mikheev, Michael R. Crusoe, Nebojša Tijanić, Samuel Lampa, et al. (2021): Existing Workflow systems. Common Workflow Language wiki, GitHub.
https://s.apache.org/existing-workflow-systems updated 2021-06-29. (accessed September 9th, 2021)

[44] Hui, Y., (2012). What is a Digital Object? Metaphilosophy 43, 380–395.
https://doi.org/10.1111/j.1467-9973.2012.01761.x

[45] Kallinikos, J., Aaltonen, A., Marton, A., (2013). The Ambivalent Ontology of Digital Artifacts. MIS Quarterly 37, 357–370. url:
https://www.jstor.org/stable/43825913

[46] Kahn, R., Wilensky, R., (2006). A framework for distributed digital object services. Int J Digit Libr 6, 115–123.
https://doi.org/10.1007/s00799-005-0128-x

[47] openDS. (2021). Draft specification for open Digital Specimens (openDS). url:
https://github.com/DiSSCo/openDS. (accessed August 10, 2021).

[48] Bray, T., (2017). The JavaScript Object Notation (JSON) Data Interchange Format (Request for Comments No. RFC 8259). Internet Engineering Task Force.
https://doi.org/10.17487/RFC8259

[49] Bechhofer, S., Buchan, I., De Roure, D., Missier, P., Ainsworth, J., Bhagat, et al. (2013). Why linked data is not enough for scientists. Future Generation Computer Systems, Special section: Recent advances in e-Science 29, 599–611.
https://doi.org/10.1016/j.future.2011.08.004

[50] Kellogg, G., Champin, P.A., Longley, D. (2020). JSON-LD 1.1 A JSON-based Serialization for Linked Data. W3C Recommendation. Latest published version:
https://www.w3.org/TR/json-ld11/

[51] Schema.org - Schema.org [WWW Document], n.d. URL
https://schema.org/ (accessed August 10, 2021).

[52] Corcho, O., González, E., Garijo, D., Palma, R. (2021). D5.1 RO Model Adapted to EOSC. RELIANCE deliverable, Zenodo.
https://doi.org/10.5281/zenodo.4913285

[53] Goble, C., Soiland-Reyes, S., Bacall, F., Owen, S., Williams, A., Eguinoa, I., et al. (2021). Implementing FAIR Digital Objects in the EOSC-Life Workflow Collaboratory. Zenodo. Preprint:
https://doi.org/10.5281/zenodo.4605654

[54] Finn Bacall, Alan R Williams, Stian Soiland-Reyes (2021): Workflow RO-Crate profile 1.0. WorkflowHub community
https://w3id.org/workflowhub/workflow-ro-crate/1.0 (accessed November 17th, 2021)

[55] Van de Sompel, H., Klein, M., Jones, S., Nelson, M.L., Warner, S., Devaraju, A., et al. (2021). FAIR Signposting Profile. 2021-04-20.
https://www.signposting.org/FAIR/ (accessed August 10, 2021).

[56] Lohonya, K., Livermore, L., Penn, M.G. (2020). Georeferencing the Natural History Museum’s Chinese type collection: of plateaus, pagodas and plants. Biodiversity Data Journal 8: e50503.
https://doi.org/10.3897/BDJ.8.e50503

[57] De Roure, D., and Goble, C. (2010). Anchors in shifting sand: the primacy of method in the web of data. Web Science Conference 2010, United States. 26 - 27 Apr 2010. University of Southampton Institutional Repository
https://eprints.soton.ac.uk/270817/ (accessed August 10, 2021).

[58] Hardisty, A.R., Bacall, F., Beard, N., Balcázar-Vargas, M.-P., Balech, B., Barcza, Z., et al. (2016). BioVeL: a virtual laboratory for data analysis and modelling in biodiversity science and ecology. BMC Ecology 16, 49.
https://doi.org/10.1186/s12898-016-0103-y

[59] Dillen, M., Groom, Q., Chagnoux, S., Güntsch, A., Hardisty, A., Haston, E., et al. (2019). A benchmark dataset of herbarium specimen images with label data. Biodiversity Data Journal 7: e31817.
https://doi.org/10.3897/BDJ.7.e31817

[60] Stefan Gössner, Glyn Normington, and Carsten Bormann. 2021. “JSONPath: Query Expressions for JSON.” Internet-Draft draft-ietf-jsonpath-base-02. Internet Engineering Task Force.
https://datatracker.ietf.org/doc/html/draft-ietf-jsonpath-base-02

[61] De Roure, D., & Goble, C. (2010, March). Anchors in Shifting Sand: The Primacy of Method in the Web of Data.
https://eprints.soton.ac.uk/270817/

[62] DONA Foundation. Digital Object Architecture.
https://www.dona.net/digitalobjectarchitecture (accessed August 10, 2021)

[63] Digital Object Interface Protocol Specification, version 2.0, November 2018.
https://www.dona.net/sites/default/files/2018-11/DOIPv2Spec_1.pdf

[64] Sun S., Reilly, S., Lannom L., Petrone J. (2003) RFC 3652 Handle System Protocol (ver 2.1) Specification. RFC Editor, USA.
https://doi.org/10.17487/RFC3652

[65] Islam, S, Hardisty, A, Addink, W, Weiland, C., and Glöckler, F. (2020). Incorporating RDA Outputs in the Design of a European Research Infrastructure for natural history Collections. Data Science Journal, 19: 50, pp. 1–14.
https://doi.org/10.5334/dsj-2020-050

[66] Speicher, S., Arwe, J., and Malhotra, A. (2015). Linked Data Platform 1.0. W3C Recommendation. Latest published version:
https://www.w3.org/TR/ldp/