Skip to Main content Skip to Navigation

Mapping-based SPARQL access to a MongoDB database

Franck Michel 1, 2 Catherine Faron Zucker 1, 2 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 : 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 leader in the NoSQL market and the management of very large datasets, making it a significant potential contributor to the Web of Linked Data. Therefore, in this paper we address the research 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 certain answers.
Complete list of metadatas

Cited literature [24 references]  Display  Hide  Download
Contributor : Franck Michel <>
Submitted on : Monday, November 7, 2016 - 7:20:00 PM
Last modification on : Tuesday, May 26, 2020 - 6:50:56 PM
Document(s) archivé(s) le : Tuesday, March 14, 2017 - 10:19:45 PM


SPARQL-to-MongoQL Rapport.pdf
Files produced by the author(s)


Distributed under a Creative Commons Attribution 4.0 International License


  • HAL Id : hal-01245883, version 5



Franck Michel, Catherine Faron Zucker, Johan Montagnat. Mapping-based SPARQL access to a MongoDB database. [Research Report] CNRS. 2016. ⟨hal-01245883v5⟩



Record views


Files downloads