RETRO: A Framework for Semantics Preserving SQL-to-SPARQL Translation
نویسندگان
چکیده
There have been several attempts to make RDBMS and RDF stores inter-operate. The most popular one, D2RQ, has explored one direction i.e. to look at RDBMS through RDF lenses. In this paper we present RETRO, which investigates the reverse direction i.e. to look at RDF through Relational lenses. RETRO generates a relational schema from an RDF store, enabling a user to query RDF data using SQL. A significant advantage of this direction in-addition to interoperability is that it makes numerous relational tools developed over past several decades, available to the RDF stores. In order to provide interoperability between these two DB systems one needs to resolve the heterogeneity between their respective data models and include schema mapping, data mapping and query mapping in the transformation process [1]. However, like D2RQ, RETRO chooses not to physically transform the data and deals only with schema mapping and query mapping. RETRO’s schema mapping derives a domain specific relational schema from RDF data and its query mapping transforms an SQL query over the schema into a provably equivalent SPARQL query, which in-turn is executed upon the RDF store. Since RETRO is a read-only framework, its query mapping uses only a relevant and relationally complete subset of SQL. A proof of correctness of this transformation is given based on compositional semantics of the two query languages.
منابع مشابه
Semantics Preserving SQL-to-SPARQL Query Translation for Left Outer Join
Despite the emergence of the Semantic Web and its performance, relational databases are still the most used for data manipulation, making the mapping of the relational world to the semantic world a very pertinent research topic to fill the gap between these two heterogeneous systems and ensure better semantic interoperability without physical transformation of data represented with different sy...
متن کاملSemantics Preserving SPARQL-to-SQL Query Translation for Optional Graph Patterns
The Semantic Web has recently gained tremendous momentum due to its great potential for providing a common framework that allows data to be shared and reused across application, enterprise, and community boundaries. While Resource Description Framework (RDF) is a W3C recommended langauge for representing data over the Semantic Web, SPARQL is an emerging W3C query language for RDF data. Although...
متن کاملA Framework for Semantics Preserving SPARQL-to-SQL Translation
The enormous amount of information stored on the web increases from one day to the next, exposing the web currently faced with the inevitable difficulties of research pertinent information that users really want. The problem today is not limited to expanding the size of the information highways, but to design a system for intelligent search. The vast majority of this information is stored in re...
متن کاملSemantics preserving SPARQL-to-SQL translation
Article history: Received 6 July 2008 Received in revised form 2 April 2009 Accepted 3 April 2009 Available online xxxx
متن کاملHow (Well) Do Datalog, SPARQL and RIF Interplay?
In this tutorial we will give an overview of the W3C standard query language for RDF – SPARQL – and its relation to Datalog as well as on the interplay with another W3C standard closely related to Datalog, the Rule Interchange Format (RIF). As we will learn – while these three interplay nicely on the surface and in academic research papers – some details within the W3C specs impose challenges o...
متن کامل