Skip to main content
QUICK REVIEW

[Paper Review] From RESTful Services to RDF: Connecting the Web and the Semantic Web

Rosa Alarcón, Erik Wilde|arXiv (Cornell University)|Jun 11, 2010
Service-Oriented Architecture and Web ServicesComputer Science21 references8 citations
TL;DR

This paper presents a lightweight, decoupled framework for harvesting RDF data from RESTful web services by modeling their resource links and representations using the Resource Linking Language (ReLL). It enables automatic translation of REST resources into RDF triples via XSLT transformations and a modular architecture, demonstrating successful integration of Flickr user data into a linked RDF graph without modifying the original services.

ABSTRACT

RESTful services on the Web expose information through retrievable resource representations that represent self-describing descriptions of resources, and through the way how these resources are interlinked through the hyperlinks that can be found in those representations. This basic design of RESTful services means that for extracting the most useful information from a service, it is necessary to understand a service's representations, which means both the semantics in terms of describing a resource, and also its semantics in terms of describing its linkage with other resources. Based on the Resource Linking Language (ReLL), this paper describes a framework for how RESTful services can be described, and how these descriptions can then be used to harvest information from these services. Building on this framework, a layered model of RESTful service semantics allows to represent a service's information in RDF/OWL. Because REST is based on the linkage between resources, the same model can be used for aggregating and interlinking multiple services for extracting RDF data from sets of RESTful services.

Motivation & Objective

  • To address the challenge of achieving critical mass in the Semantic Web by harvesting structured data from widely available RESTful services.
  • To bridge the gap between the REST architectural style of the Web and the RDF/OWL model of the Semantic Web.
  • To enable the automatic extraction and integration of semantically rich data from RESTful services into a unified RDF knowledge graph.
  • To provide a flexible, extensible architecture that decouples service description, translation, and data harvesting components.
  • To support scalable, incremental, and on-demand harvesting of data from RESTful services for use in SPARQL queryable triple stores.

Proposed method

  • Modeling RESTful services using the Resource Linking Language (ReLL) to describe resource types, link types, and representations.
  • Using ReLL descriptions as configuration to guide a Web crawler in traversing resource graphs via hyperlinks in representations.
  • Applying XSLT transformations to convert ReLL descriptions (Layer 2) and resource representations (Layer 3) into RDF triples.
  • Mapping resource URIs, types, and link types to RDF individuals and properties using configurable translation rules.
  • Storing harvested RDF data in a Sesame 2.0 triple store with named graphs (quads) to preserve provenance and context.
  • Supporting incremental harvesting and future on-demand access by treating the triple store as a cache of live service data.

Experimental results

Research questions

  • RQ1How can RESTful services—lacking formal service descriptions—be systematically described and harvested for RDF data?
  • RQ2Can a decoupled architecture enable flexible, modular harvesting of RDF from RESTful services without requiring changes to the services?
  • RQ3How can the hyperlink structure of RESTful representations be semantically modeled and transformed into RDF graphs?
  • RQ4What mechanisms support scalable and incremental harvesting of large-scale RESTful service data?
  • RQ5Can a triple store be used as a cache for live service data, enabling on-demand access instead of full pre-harvesting?

Key findings

  • The framework successfully transformed user data from the Flickr REST API into an RDF graph using ReLL descriptions and GRDDL-style XSLT transforms.
  • The system demonstrated that a composite knowledge graph can be built from multiple RESTful services by linking resources through their hyperlinks.
  • The use of named graphs in Sesame allowed provenance tracking by associating harvested triples with their source context.
  • The architecture supports dynamic configuration of mappings via property files, enabling reuse of ReLL descriptions for documentation or contracts independently of RDF translation.
  • The approach enables harvesting of semantically rich data from diverse representations, including images and PDFs, when embedded metadata is present.
  • The implementation showed that existing Web technologies like XSLT and SPARQL can be effectively combined to create a scalable pipeline for Semantic Web data ingestion.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.