Javascript must be enabled to continue!
Creating RESTful APIs over SPARQL endpoints using RAMOSE
View through CrossRef
Semantic Web technologies are widely used for storing RDF data and making them available on the Web through SPARQL endpoints, queryable using the SPARQL query language. While the use of SPARQL endpoints is strongly supported by Semantic Web experts, it hinders broader use of RDF data by common Web users, engineers and developers unfamiliar with Semantic Web technologies, who normally rely on Web RESTful APIs for querying Web-available data and creating applications over them. To solve this problem, we have developed RAMOSE, a generic tool developed in Python to create REST APIs over SPARQL endpoints. Through the creation of source-specific textual configuration files, RAMOSE enables the querying of SPARQL endpoints via simple Web RESTful API calls that return either JSON or CSV-formatted data, thus hiding all the intrinsic complexities of SPARQL and RDF from common Web users. We provide evidence that the use of RAMOSE to provide REST API access to RDF data within OpenCitations triplestores is beneficial in terms of the number of queries made by external users of such RDF data using the RAMOSE API, compared with the direct access via the SPARQL endpoint. Our findings show the importance for suppliers of RDF data of having an alternative API access service, which enables its use by those with no (or little) experience in Semantic Web technologies and the SPARQL query language. RAMOSE can be used both to query any SPARQL endpoint and to query any other Web API, and thus it represents an easy generic technical solution for service providers who wish to create an API service to access Linked Data stored as RDF in a triplestore.
Title: Creating RESTful APIs over SPARQL endpoints using RAMOSE
Description:
Semantic Web technologies are widely used for storing RDF data and making them available on the Web through SPARQL endpoints, queryable using the SPARQL query language.
While the use of SPARQL endpoints is strongly supported by Semantic Web experts, it hinders broader use of RDF data by common Web users, engineers and developers unfamiliar with Semantic Web technologies, who normally rely on Web RESTful APIs for querying Web-available data and creating applications over them.
To solve this problem, we have developed RAMOSE, a generic tool developed in Python to create REST APIs over SPARQL endpoints.
Through the creation of source-specific textual configuration files, RAMOSE enables the querying of SPARQL endpoints via simple Web RESTful API calls that return either JSON or CSV-formatted data, thus hiding all the intrinsic complexities of SPARQL and RDF from common Web users.
We provide evidence that the use of RAMOSE to provide REST API access to RDF data within OpenCitations triplestores is beneficial in terms of the number of queries made by external users of such RDF data using the RAMOSE API, compared with the direct access via the SPARQL endpoint.
Our findings show the importance for suppliers of RDF data of having an alternative API access service, which enables its use by those with no (or little) experience in Semantic Web technologies and the SPARQL query language.
RAMOSE can be used both to query any SPARQL endpoint and to query any other Web API, and thus it represents an easy generic technical solution for service providers who wish to create an API service to access Linked Data stored as RDF in a triplestore.
Related Results
Skyline Queries in SPARQL: An Overview
Skyline Queries in SPARQL: An Overview
The growth of RDF (Resource Description Framework) datasets and the expansion of their use in conjunction with the definition of SPARQL, a declarative query language, have made RDF...
Automated extraction of attributes of IFC objects based on graph theory and SPARQL query
Automated extraction of attributes of IFC objects based on graph theory and SPARQL query
Abstract
Building Information Modelling (BIM) has been widely adopted as an effective means for supporting information exchange in Architectural, Engineering and Con...
PROGNOSTIC VALUE OF NT-PROBNP COMPLEMENTS THE GEACE SCORE IN PEOPLE WITH NON-ST-SEGMENT ELEVATION ACUTE CORONARY SYNDROME
PROGNOSTIC VALUE OF NT-PROBNP COMPLEMENTS THE GEACE SCORE IN PEOPLE WITH NON-ST-SEGMENT ELEVATION ACUTE CORONARY SYNDROME
Objectives
This study was designed to investigate whether admission N-terminal pro-brain natriuretic peptide (NT-proBNP) increase the prognostic accuracy of Globa...
Honeybees, Apis cerana colony performance in the non-protected and protected
beehive methods in relation to climatic factors
Honeybees, Apis cerana colony performance in the non-protected and protected
beehive methods in relation to climatic factors
Honeybees, Apis cerana is one of the local bee species in Malaysia. Apis cerana plays
important role in beekeeping activities, especially in producing honey known as a
superfood an...
Accelerated orphan drug approval: surrogate endpoints
Accelerated orphan drug approval: surrogate endpoints
Today, orphan drug development is confronted with significant challenges represented by the considerable complexity, diversity of clinical manifestations, and competition in study ...
Querying the Semantic Web via Rules
Querying the Semantic Web via Rules
The problem of querying RDF data is a central issue for the development of the Semantic Web. The query language SPARQL has become the standard language for querying RDF since its W...
A Lightweight PURL Resolver for Linked Life Science Data
A Lightweight PURL Resolver for Linked Life Science Data
Knowledge graphs in the life sciences are increasingly published using the Resource Description Framework (RDF) and queried via SPARQL endpoints. While these technologies enable po...
Making Sense of Composite Endpoints in Clinical Research
Making Sense of Composite Endpoints in Clinical Research
Multiple drugs currently used in clinical practice have been approved by regulatory agencies based on studies that utilize composite endpoints. Composite endpoints are appealing be...

