R2RML Mapping Quality Check for Data Transformation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The existing R2RML method for transforming relational data into RDF data blocks is prone to errors due to its complexity, making it difficult to identify and correct errors during the data transformation process from relational databases to graph databases.
Innovation Solution
An R2RML module with additional processors and interfaces is introduced to perform a quality check on the R2RML mapping, generating a second R2RML mapping that automatically stops processing of unresolvable data, optimizing the transformation process by improving energy efficiency and accuracy.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If a quality check is performed on the R2RML mapping to improve reliability, then error identification capability is improved, but processing time and system complexity increase
Solution Approach 1:
The patent performs a quality check on the R2RML mapping before executing the data transformation process. This preliminary validation identifies potential errors in the mapping configuration (such as incorrect property mappings, missing required fields, or invalid syntax) before they cause problems during actual data processing, thereby improving reliability without requiring complex runtime error handling mechanisms
Solution Approach 2:
The patent introduces an intermediary validation layer between the R2RML mapping definition and the data transformation execution. This intermediary quality check mechanism acts as a mediator that verifies the mapping's correctness independently, separating the concerns of mapping definition, validation, and execution, which manages complexity by creating distinct functional layers
2Productivity
If the R2RML mapping process is optimized to improve processing speed, then productivity is improved, but energy consumption increases
Solution Approach 1:
The patent performs optimization actions in advance by validating the R2RML mapping structure before execution. By checking and preparing the mapping configuration beforehand, the system can execute the actual data transformation more efficiently without requiring excessive computational resources during processing, thus improving productivity while managing energy consumption
Solution Approach 2:
The patent implements a feedback mechanism where the quality check results are used to improve subsequent processing. The validation process provides feedback about mapping quality and potential issues, allowing the system to adjust its processing strategy, avoid unnecessary computations on invalid mappings, and optimize resource usage during the transformation process
Data Source
AI summary
Various embodiments of the teachings herein include a computer-aided method for transforming data in a relational database, containing sensor measurements, into RDF data blocks of a graph database. The method may include: providing a R2RML mapping file; breaking down and converting the data using the mapping file and a first mapping parser; generating a generation of RDF data blocks; and storing the generation as a database. After the data have been broken down and converted, checking a quality of the obtained R2RML mapping and creating a second R2RML mapping file, on the basis of which the relational data are broken down and converted into RDF data blocks. The second R2RML mapping, during the preparation of the relational data into RDF data blocks, automatically stops the processing of relational data that are not to be resolved and thus optimizes the energy efficiency of the preparation.


