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

📅 2026-07-13
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This work proposes a declarative configuration–based approach to automatically generate compliant REST APIs, significantly reducing development costs for standardized academic infrastructure such as SKG-IF. Built upon the Python framework RAMOSE, the method uniquely enables joint queries across RDF and non-RDF data sources within a single API operation using arbitrary keys. It integrates multi-source orchestration, pluggable output formatting, paginated caching, OpenAPI specification export, and authenticated write capabilities. The system includes a built-in SKG-IF compliance module, allowing standard-compliant interfaces to be deployed through configuration alone. In practice, it powers the OpenCitations API—handling peak loads of nearly 38 million monthly requests—and underpins the GRAPHIA project’s SKG-IF federated system, demonstrating superior performance compared to nine existing tools.
📝 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.
Problem

Research questions and friction points this paper is trying to address.

REST API
semantic interoperability
RDF
data integration
SKG-IF
Innovation

Methods, ideas, or system contributions that make the work stand out.

query orchestration
RDF and non-RDF integration
declarative API generation
SKG-IF compliance
pluggable output formats
🔎 Similar Papers
No similar papers found.