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.
https://hal.archives-ouvertes.fr/hal-01280951 Contributor : Franck MichelConnect 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
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⟩