Enhancing RAMOSE, a framework for implementing REST APIs and semantic-actionable outputs over data sources

2026-07-13Digital Libraries

Digital Libraries
AI summary

AI summary is being generated…

Authors
Arcangelo Massari, Sergei Slinkin, Ivan Heibi, Silvio Peroni
Abstract
Scholarly infrastructures increasingly expose their data through REST APIs that follow shared specifications, such as the Scientific Knowledge Graph - Interoperability Framework (SKG-IF), which defines a common data model, exchange format, and REST API for research information. Implementing such specifications over existing data sources, however, requires a development effort that many open infrastructures cannot afford. RAMOSE, the RESTful API Manager Over SPARQL Endpoints, is an open-source Python framework that reduces this effort by turning a declarative configuration file into a documented REST API over RDF triplestores. This article presents its second major version, which extends the tool with nine new requirements. The new features include query orchestration across multiple SPARQL endpoints and non-RDF sources, with joins across their results; pluggable output formats and request parameters; pagination and caching; OpenAPI export; and write operations, with authentication both of API consumers and towards protected endpoints. A built-in module packages the format and filters that SKG-IF prescribes, letting a provider expose a compliant endpoint only through configuration. A functional comparison with nine similar tools, grounded in reproducible tests, shows that only RAMOSE joins RDF and non-RDF results on arbitrary keys within one API operation. RAMOSE serves the OpenCitations REST APIs, which peaked at almost 38 million monthly requests between May 2025 and May 2026, and has been adopted by the GRAPHIA project to onboard data sources into its SKG-IF-based federation.