CoolFace
Datasetpublic

IT-ZBMED/Agriculture_NER_Dataset_for_FAIR_Metadata_Enrichment

Dataset Card for A Manually Annotated Agricultural Dataset for AI-Based NER and FAIR Metadata Enrichment Supported by FAIRagro, the pilot use case “Increasing FAIRness of FAIRagro data through AI-supported metadata enrichment” addresses this gap by creating a manually annotated text corpus designed to support Named Entity Recognition (NER) models in agricultural research. NER models can automate metadata extraction from unstructured text, such as dataset abstracts, thereby… See the full description on the dataset page: https://huggingface.co/datasets/IT-ZBMED/Agriculture_NER_Dataset_for_FAIR_Metadata_Enrichment.

sourceHugging Facecc-by-4.0updated 10mo agoView on Hugging Face
1likes32downloads
Dataset Card

Dataset Card for A Manually Annotated Agricultural Dataset for AI-Based NER and FAIR Metadata Enrichment

<!-- Provide a quick summary of the dataset. -->

Supported by FAIRagro, the pilot use case “Increasing FAIRness of FAIRagro data through AI-supported metadata enrichment” addresses this gap by creating a manually annotated text corpus designed to support Named Entity Recognition (NER) models in agricultural research. NER models can automate metadata extraction from unstructured text, such as dataset abstracts, thereby enabling metadata enrichment.

Dataset Details

Dataset Description

<!-- Provide a longer summary of what this dataset is. -->

This dataset contains Named Entity Recognition (NER) annotations derived from curated CAS XMI files exported from INCEpTION. The corpus is provided in three complementary formats, each optimized for different model architectures and evaluation scenarios:

  1. 1.Document-level tokenized (file-based) CSV
  2. 2.Sentence-level tokenized CSV

Annotation Entities, Their Attributes, and Definitions

**Entity****Attribute****Definition**
CropCrop speciesThe name of a taxonomic rank of a plant. This can either be a scientific name or a common name. Each mention of such a name is a distinct annotation. Consult taxonomies such as AGROVOC (https://agrovoc.fao.org/browse/agrovoc/en/) for reference.
CropCrop varietyThe name of a specific variety of a plant.
SoilSoil textureSoil texture measures the proportion of sand, silt, and clay-sized particles in a soil sample. Annotate a soil texture if it is part of a soil texture classification, such as the USDA Soil Texture Classification (12 soil textures) or the textures from the Bodenkundliche Kartieranleitung.
SoilSoil reference groupA categorization of soil groups following the WRB Reference Soil Group (RSG) definitions (https://inspire.ec.europa.eu/codelist/WRBReferenceSoilGroupValue).
SoilSoil depthSoil depth measures the depth from which a soil sample was taken.
SoilBulk densityThe dry weight of soil divided by its volume.
SoilpH valueHydrogen ion concentration in a soil sample.
SoilOrganic carbonMeasurable components of soil organic matter in a soil sample.
SoilAvailable nitrogenNitrogen that is present in a soil sample and available to plants. Only annotate explicit mentions of available nitrogen and ensure the reference is to soil nitrogen, not fertilizer nitrogen.
LocationLocation nameThe name of a location related to a dataset. These may include continents (e.g., “Europe”), countries (e.g., “Germany”), federal states (e.g., “Lower Saxony”), regions (e.g., “Kraichgau”), cities, villages, towns (e.g., “Quedlinburg”), or municipalities (e.g., “Grossbeeren”).
LocationLatitudeThe north–south angular position of a location. Annotate the coordinate(s).
LocationLongitudeThe west–east angular position of a location. Annotate the coordinate(s).
Time statementStart timeA point in time when an event related to a dataset started (e.g., data collection). This may be a date, a season, or a combination. Annotate all relevant points if multiple events exist. If only one time point is known, use this property.
Time statementEnd timeA point in time when an event related to a dataset ended (e.g., data collection). This may be a date, a season, or a combination. Annotate all relevant points if multiple events exist.
Time statementDurationA range between two time points. Use this property if start and end points are unknown.

Labels Mapping

Label2id
json
{
  "O": 0,
  "B-soilReferenceGroup": 1,
  "I-soilReferenceGroup": 2,
  "B-soilOrganicCarbon": 3,
  "I-soilOrganicCarbon": 4,
  "B-soilTexture": 5,
  "I-soilTexture": 6,
  "B-startTime": 7,
  "I-startTime": 8,
  "B-endTime": 9,
  "I-endTime": 10,
  "B-city": 11,
  "I-city": 12,
  "B-duration": 13,
  "I-duration": 14,
  "B-cropSpecies": 15,
  "I-cropSpecies": 16,
  "B-soilAvailableNitrogen": 17,
  "I-soilAvailableNitrogen": 18,
  "B-soilDepth": 19,
  "I-soilDepth": 20,
  "B-region": 21,
  "I-region": 22,
  "B-country": 23,
  "I-country": 24,
  "B-longitude": 25,
  "I-longitude": 26,
  "B-latitude": 27,
  "I-latitude": 28,
  "B-cropVariety": 29,
  "I-cropVariety": 30,
  "B-soilPH": 31,
  "I-soilPH": 32,
  "B-soilBulkDensity": 33,
  "I-soilBulkDensity": 34
}
id2label
json
{
  "0": "O",
  "1": "B-soilReferenceGroup",
  "2": "I-soilReferenceGroup",
  "3": "B-soilOrganicCarbon",
  "4": "I-soilOrganicCarbon",
  "5": "B-soilTexture",
  "6": "I-soilTexture",
  "7": "B-startTime",
  "8": "I-startTime",
  "9": "B-endTime",
  "10": "I-endTime",
  "11": "B-city",
  "12": "I-city",
  "13": "B-duration",
  "14": "I-duration",
  "15": "B-cropSpecies",
  "16": "I-cropSpecies",
  "17": "B-soilAvailableNitrogen",
  "18": "I-soilAvailableNitrogen",
  "19": "B-soilDepth",
  "20": "I-soilDepth",
  "21": "B-region",
  "22": "I-region",
  "23": "B-country",
  "24": "I-country",
  "25": "B-longitude",
  "26": "I-longitude",
  "27": "B-latitude",
  "28": "I-latitude",
  "29": "B-cropVariety",
  "30": "I-cropVariety",
  "31": "B-soilPH",
  "32": "I-soilPH",
  "33": "B-soilBulkDensity",
  "34": "I-soilBulkDensity"
}

Dataset Versions

1️⃣ Document-Level Tokenized Format (File-Based)

Each row in this CSV corresponds to a complete document, tokenized using spaCy.

Columns
ColumnDescription
file_nameUnique filename ID of the document
TokensList of tokens (words)
LabelsBIO labels aligned 1:1 with tokens
ner_tagsInteger mapping of labels for training
number_of_tokensTotal token count
Language"en" or "de"
sourceOrigin repository (BonaRes or OpenAgrar)
Label_countsCounter object with annotation frequency
number_of_annotationsSum of all annotated entity spans
DOIDocument DOI (when available)
Intended Use
  • —Document-level transformer models (Longformer, BigBird, etc.)
  • —Corpus statistics and label distribution analysis
  • —Document classification + NER pipelines

2️⃣ Sentence-Level Tokenized Format

Each row corresponds to a single sentence, preserving alignment with the original document.

Sentence Identifier Format
bash
fileID-sentenceIndex
Example:
73465-03
Columns

Same as file-level format, with:

ColumnDescription
sentence_idSentence identifier combining file name and sentence index
Intended Use
  • —Classical BERT-style NER (max length ≈512 tokens)
  • —Models with fixed-length input windows
  • —Fine-grained sentence-level training and evaluation

Code Repository

All scripts used to preprocess the INCEpTION XMI files, generate the tokenized datasets, convert annotations into BIO format, create JSON span annotations, and build the HuggingFace-ready dataset version are openly available in the following GitHub repository:

🔗 Dataset Processing Code Repository: https://github.com/fairagro/pilot-uc-textmining-metadata The current version is v1.0.0

The repository includes:

  • —Fetching the metadata from the research data infrastructures
  • —CAS → BIO conversion scripts
  • —Sentence and document tokenization routines
  • —Gazetteer-based location normalization
  • —DOI mapping utilities
  • —Span annotation builder (HuggingFace-like JSON format)
  • —Dataset export pipeline (CSV, JSON, HuggingFace)
  • —Example configuration files
  • —A full reproducible workflow for regenerating the dataset

Authors and Affiliations

NameORCIDAffiliation
Abanoub Abdelmalak0009-0001-0892-3614ZB MED – Information Centre for Life Sciences; University of Bonn
Gabriel Schneider0000-0001-6573-3115ZB MED – Information Centre for Life Sciences; University of Bonn
Heike Riegler0000-0002-1302-4533Julius Kühn-Institut
Kristin Meier0009-0003-1966-9679Leibniz Centre for Agricultural Landscape Research (ZALF)
Xenia Specka0000-0002-1890-0192Leibniz Centre for Agricultural Landscape Research (ZALF)
Nikolai Svoboda0000-0003-3860-4400Leibniz Centre for Agricultural Landscape Research (ZALF)
Murtuza Husain0009-0004-1496-5644ZB MED – Information Centre for Life Sciences; University of Bonn
Juliane Fluck0000-0003-1379-7023ZB MED – Information Centre for Life Sciences; University of Bonn

Licensing

The FAIRagro Metadata Enrichment NER Dataset is released under the:

Creative Commons Attribution 4.0 International (CC BY 4.0) License

License URL:

https://creativecommons.org/licenses/by/4.0/

Cite as:

bash
@dataset{abdelmalak_fairagro_ner_2025,
  author       = {Abdelmalak, Abanoub and Schneider, Gabriel and Riegler, Heike and Meier, Kristin and Specka, Xenia and Svoboda, Nikolai and Husain, Murtuza and Fluck, Juliane},
  title        = {{FAIRagro NER Dataset: Increasing FAIRness of FAIRagro Data Through AI-Supported Metadata Enrichment}},
  year         = {2025},
  publisher    = {Fachrepositorium Lebenswissenschaften (FRL)},
  doi          = {10.4126/FRL01-6526458},
  url          = {https://doi.org/10.4126/FRL01-6526458},
  note         = {Version 1.0}
}