Farmatox: Code and Dataset
FarmaTox: Discourse-Aware Neuro-Symbolic Extraction Pipeline and Pharmacovigilance Knowledge Graph This repository contains the code and dataset associated with FarmaTox, a discourse-aware neuro-symbolic pipeline for extracting adverse drug reaction (ADR) information from Spanish drug regulatory documents (Summary of Product Characteristics, Section 4.8), published via the CIMA system of the Spanish Agency of Medicines and Medical Devices (AEMPS). The pipeline separates document structure analysis from semantic extraction: a discourse-aware parsing module reconstructs the rhetorical hierarchy of each regulatory document, and active substance identity is canonicalised against standardised pharmacological nomenclatures prior to inference by a large language model, which is then confined to extracting relational triples, adverse reaction, System Organ Class, active substance, and frequency, over an already-disambiguated input. This deposit includes: Source code for the discourse-aware document parsing, active substance canonicalisation, and LLM-based extraction stages of the pipeline. The resulting structured dataset of adverse drug reaction relational triples extracted from the CIMA corpus, formatted for direct integration into a property graph. Evaluation scripts and metrics supporting the results reported in the associated publication.
- Link
- https://zenodo.org/records/22256895
- Found by
- Zenodo
- Authors
- Ros, Salvador, Carpio Segura, Carlos, Villamañán, Elena, Gonzalez Garcia, Lino, Diaconu, Mara-Gabriela, Álvarez-Sala, Rodolfo
- Categories
- evaluation, dataset
- Published
- 2026-09-02
- Last seen by the radar
- 2026-09-03
- Downloads
- 0
- Views
- 0
- Radar score
- 45.14 / 100 (how it is scored)
- Why it scored so
- Matched: corpus, dataset, evaluat; Recency discount: updated event ×0.5; Primary record: Zenodo
- Related links
- https://doi.org/10.5281/zenodo.22256895