Skip to Main content Skip to Navigation
Conference papers

A Mapping-based Method to Query MongoDB Documents with SPARQL

Franck Michel 1, 2 Catherine Faron Zucker 3, 1, 2 Johan Montagnat 1, 2
3 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 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 metadatas

Cited literature [22 references]  Display  Hide  Download

https://hal.archives-ouvertes.fr/hal-01330146
Contributor : Franck Michel <>
Submitted on : Friday, June 10, 2016 - 9:54:26 AM
Last modification on : Thursday, March 5, 2020 - 12:20:49 PM

File

sparql2mongo.pdf
Files produced by the author(s)

Identifiers

  • HAL Id : hal-01330146, version 1

Collections

Citation

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⟩

Share

Metrics

Record views

540

Files downloads

1053