Please use this identifier to cite or link to this item: http://hdl.handle.net/1942/48663
Title: A Declarative Formalization of R2RML Using Datalog and Its Efficient Execution
Authors: Elhalawati, Ali
VAN DEN BUSSCHE, Jan 
Dimou, Anastasia
Issue Date: 2025
Source: RuleML+RR’25: Companion Proceedings of the 9th International Joint Conference on Rules and Reasoning,
Abstract: R2RMListheW3C-recommendedmappinglanguagefordefiningdeclarative,customizedmappingsfromrelational databases to knowledge graphs, particularly in data integration and schema transformation scenarios. R2RML, like other mapping languages, enables viewing existing relational data in RDF, expressed in a structure and target vocabulary of the mapping author’s choice. Despite its broad adoption and plethora of extensions, the complete semantics of R2RML have not been concretely formalized so far. In this paper, we provide a declarative, computable, and rule-based formalization of R2RML through Datalog. We formally define the syntax of R2RML, provide a translation of its semantics into a Datalog program that can be used to evaluate RDF graphs, and discuss the associated complexity. The Datalog program defines output relations for the correct set of triples and quadruples, given any relational data as input relations. We validate the accuracy of our Datalog-based semantics by executing the R2RML test cases using a prototype implementation based on our approach. Our work lays the groundwork for further investigation into the properties and extensions of R2RML, unlocks the various benefits of Datalog reasoning in RDF generation, and introduces a promising approach for generating RDF graphs using any out-of-the-box Datalog reasoner.
Keywords: R2RML;Datalog;Knowledge Graph Construction;Reasoning
Document URI: http://hdl.handle.net/1942/48663
Link to publication/dataset: https://ceur-ws.org/Vol-4083/paper63.pdf
https://ceur-ws.org/Vol-4083/
ISSN: 1613-0073
Rights: 2025 Copyright for this paper by its authors. Use permitted under Creative Commons License Attribution 4.0 International (CC BY 4.0)
Category: C1
Type: Proceedings Paper
Appears in Collections:Research publications

Files in This Item:
File Description SizeFormat 
paper63 (1).pdf
  Restricted Access
Published version1.12 MBAdobe PDFView/Open    Request a copy
Show full item record

Google ScholarTM

Check


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.