Generating CodeMeta through declarative mapping rules: An open-ended approach using ShExML
Herminio García-González
Key points
From the paper's conclusion- Hence, in this work, I propose the use of declarative mapping rules to generate CodeMeta files, illustrated through the implementation of three crosswalks in ShExML which are then expanded and merged to cover the generation of CodeMeta files for two existing research software artefacts.
Abstract
Abstract Nowadays, software is one of the cornerstones when conducting research in several scientific fields which employ computer-based methodologies to answer new research questions. However, for these experiments to be completely reproducible, research software should comply with the FAIR principles, yet its metadata can be represented following different data models and spread across different locations. In order to bring some cohesion to the field, CodeMeta was proposed as a vocabulary to represent research software metadata in a unified and standardised manner. While existing tools can help users to generate CodeMeta files for some specific use cases, they fall short on flexibility and adaptability or involve the use of extension mechanisms with low levels of abstraction. Hence, in this work, I propose the use of declarative mapping rules to generate CodeMeta files, illustrated through the implementation of three crosswalks in ShExML which are then expanded and merged to cover the generation of CodeMeta files for two existing research software artefacts. Moreover, the outputs are validated using SHACL and ShEx and the whole generation workflow is automated requiring minimal user intervention upon a new version release. This work can, therefore, be used as an example upon which other developers can include a CodeMeta generation workflow in their repositories, facilitating the adoption of CodeMeta and, ultimately, increasing research software FAIRness.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A Multi-Surface Consistency Audit of Software Citation MetadataarXiv · 2026
- From Code Archival to Knowledge Graph: Bridging Software Heritage, COAR Notify and WikidataarXiv · 2026
- Standard-GEM supports reproducible development of genome-scale metabolic modelsbioRxiv · 2026
- LLM ‐Based Domain Model Extraction From Requirements: A Case Study on Smart Tourism ApplicationsExpert Systems · 2026
- LinkML: an open data modeling frameworkGigaScience · 2025
- ES-Trace: Auditing Ethical-Sourcing Disclosure of Code Generation Models Beyond Model CardsarXiv · 2026