Skip to Main content Skip to Navigation
Conference papers

A Mapping-based Method to Query MongoDB Documents with SPARQL

Abstract : Accessing legacy data as virtual RDF stores is a key issue in the building of the Web of Data. In recent years, the MongoDB database has become a popular actor in the NoSQL market, making it a significant potential contributor to the Web of Linked Data. Therefore, in this paper we address the question of how to access arbitrary MongoDB documents with SPARQL. We propose a two-step method to (i) translate a SPARQL query into a pivot abstract query under MongoDB-to-RDF mappings represented in the xR2RML language, then (ii) translate the pivot query into a concrete MongoDB query. We elaborate on the discrepancy between the expressiveness of SPARQL and the MongoDB query language, and we show that we can always come up with a rewriting that shall produce all correct answers.
Complete list of metadata

Cited literature [22 references]  Display  Hide  Download
Contributor : Franck Michel Connect in order to contact the contributor
Submitted on : Friday, June 10, 2016 - 9:54:26 AM
Last modification on : Thursday, August 4, 2022 - 4:58:56 PM


Files produced by the author(s)


  • HAL Id : hal-01330146, version 1



Franck Michel, Catherine Faron Zucker, Johan Montagnat. A Mapping-based Method to Query MongoDB Documents with SPARQL. 27th International Conference on Database and Expert Systems Applications (DEXA 2016), Sep 2016, Porto, Portugal. ⟨hal-01330146⟩



Record views


Files downloads