Skip to Main content Skip to Navigation
Conference papers

A Generic Mapping-Based Query Translation from SPARQL to Various Target Database Query Languages

Franck Michel 1, 2 Catherine Faron Zucker 2, 1 Johan Montagnat 1 
2 WIMMICS - Web-Instrumented Man-Machine Interactions, Communities and Semantics
CRISAM - Inria Sophia Antipolis - Méditerranée , Laboratoire I3S - SPARKS - Scalable and Pervasive softwARe and Knowledge Systems
Abstract : Fostering the development of SPARQL interfaces to heterogeneous databases is a key to efficiently expose legacy data as RDF on the Web. To deal with the variety of modern database formats and query languages, this paper describes a two-step approach to translate a SPARQL query into an equivalent target database query. First, given an xR2RML mapping describing how native database entities can be mapped to RDF, a SPARQL query is translated into a pivot abstract query language independent of the database. In a second step, the pivot query is translated into the target database query language, considering the specific database capabilities. The paper focuses on the first step of the query translation, from SPARQL to a pivot query that takes into account join constraints and SPARQL filters, and embeds conditions entailed by matching SPARQL graph patterns with relevant mappings. It discusses the query optimisations that can be implemented at this level, and briefly describes an application to the case of MongoDB, a NoSQL document store.
Document type :
Conference papers
Complete list of metadata

Cited literature [17 references]  Display  Hide  Download
Contributor : Franck Michel Connect in order to contact the contributor
Submitted on : Tuesday, July 5, 2016 - 10:14:20 AM
Last modification on : Thursday, August 4, 2022 - 4:58:57 PM
Long-term archiving on: : Thursday, October 6, 2016 - 11:16:48 AM


Distributed under a Creative Commons Attribution - NoDerivatives 4.0 International License


  • HAL Id : hal-01280951, version 1



Franck Michel, Catherine Faron Zucker, Johan Montagnat. A Generic Mapping-Based Query Translation from SPARQL to Various Target Database Query Languages. 12th International Conference on Web Information Systems and Technologies (WEBIST'16), Apr 2016, Roma, Italy. ⟨hal-01280951⟩



Record views


Files downloads