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

Franck Michel, Catherine Faron-Zucker, Johan Montagnat

2016

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.

Download


Paper Citation


in Harvard Style

Michel F., Faron-Zucker C. and Montagnat J. (2016). A Generic Mapping-based Query Translation from SPARQL to Various Target Database Query Languages . In Proceedings of the 12th International Conference on Web Information Systems and Technologies - Volume 2: WEBIST, ISBN 978-989-758-186-1, pages 147-158. DOI: 10.5220/0005905401470158

in Bibtex Style

@conference{webist16,
author={Franck Michel and Catherine Faron-Zucker and Johan Montagnat},
title={A Generic Mapping-based Query Translation from SPARQL to Various Target Database Query Languages},
booktitle={Proceedings of the 12th International Conference on Web Information Systems and Technologies - Volume 2: WEBIST,},
year={2016},
pages={147-158},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0005905401470158},
isbn={978-989-758-186-1},
}


in EndNote Style

TY - CONF
JO - Proceedings of the 12th International Conference on Web Information Systems and Technologies - Volume 2: WEBIST,
TI - A Generic Mapping-based Query Translation from SPARQL to Various Target Database Query Languages
SN - 978-989-758-186-1
AU - Michel F.
AU - Faron-Zucker C.
AU - Montagnat J.
PY - 2016
SP - 147
EP - 158
DO - 10.5220/0005905401470158