Relational Database to Triplestore Conversion via Metadata Extraction

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Relational databases face challenges in seamlessly transitioning data into triplestores, particularly in maintaining referential integrity and efficiently converting metadata into RDF triples, which hinders inferencing and reasoning capabilities.

Innovation Solution

The method involves retrieving meta-schema information from relational databases, processing it to identify triples, and generating RDF triples that preserve referential integrity, allowing for automated migration to triplestores without manual intervention, utilizing data processing apparatus to create schema metamodels and expand rows into triples, and optimizing storage and query performance.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If manual conversion methods are used to migrate data from relational databases to triplestores, then referential integrity can be maintained through careful mapping, but the conversion process becomes time-consuming and labor-intensive

Engineering Contradiction:
Improvereferential integrityVSAvoidconversion time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system automatically retrieves meta schema information from the relational database's data dictionary, processes it to identify triples, and generates RDF triples without requiring manual intervention. The conversion process self-services by using the database's own metadata structures to guide the transformation, eliminating the need for manual mapping while preserving referential integrity through automated FK-PK relationship processing.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system performs preliminary retrieval and processing of meta schema information before the actual data conversion. By first obtaining column definitions, primary key constraint definitions, and foreign key constraint definitions from the data dictionary, the system prepares the necessary mapping information in advance, enabling rapid and accurate triple generation without manual intervention during the conversion phase.

Inventive Principle:
Principle #10Preliminary action

2Productivity

If automated conversion tools are used to migrate data from relational databases to triplestores, then conversion speed increases, but maintaining referential integrity becomes more difficult

Engineering Contradiction:
Improveconversion speedVSAvoidreferential integrity
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The automated system maintains referential integrity by self-servicing through direct retrieval of FK-PK relationship definitions from the relational database's data dictionary. The system automatically processes foreign key constraint definitions to create corresponding RDF triples that preserve referential links, eliminating the need for manual configuration while ensuring integrity is maintained throughout the high-speed conversion process.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system uses feedback from the relational database's meta schema information to guide the conversion process. By continuously retrieving and processing data dictionary information during conversion, the system adapts to the specific database structure and maintains referential integrity through automated feedback loops that ensure FK-PK relationships are correctly mapped to RDF triples.

Inventive Principle:
Principle #23Feedback

3Manufacturing precision

If complex mapping rules are implemented to preserve referential integrity during conversion, then data accuracy is maintained, but the conversion process becomes more complicated and harder to implement

Engineering Contradiction:
Improvedata accuracyVSAvoidconversion process complexity
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The system eliminates the need for complex manual mapping rules by self-servicing through automated retrieval of mapping information from the relational database's data dictionary. The system automatically extracts column definitions, primary key constraints, and foreign key constraints, then processes this information to generate accurate RDF triples without requiring complex conversion rules or manual configuration.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system extracts the essential mapping information directly from the relational database's meta schema and data dictionary, separating the conversion logic from the data transformation process. By extracting FK-PK relationship definitions and processing them automatically, the system simplifies the conversion process while maintaining data accuracy through structured extraction of necessary mapping rules.

Inventive Principle:
Principle #2Taking out (Extraction)

4Loss of information

If comprehensive meta schema information is retrieved and processed, then complete and accurate triple generation is achieved, but the processing time and computational resources increase

Engineering Contradiction:
Improveinformation completenessVSAvoidprocessing time
Core Design Contradiction:
Loss of informationVSLoss of time

Solution Approach 1:

The system performs preliminary retrieval and organization of meta schema information from the data dictionary before the actual triple generation process. By first obtaining and structuring column definitions, primary key constraints, and foreign key constraints, the system prepares the necessary information in advance, enabling efficient processing during the conversion phase without redundant operations.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system segments the conversion process into distinct phases: retrieving meta schema information, processing it to identify triples, and generating RDF triples. This segmentation allows the system to process information in manageable stages, completing each phase efficiently while ensuring comprehensive information is captured and transformed accurately.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS8037108B1Conversion of relational databases into triplestores
Publication Date: 2011.10.11 ADOBE INC
  • US8037108B1 patent drawing
  • US8037108B1 patent drawing
  • US8037108B1 patent drawing

AI summary

Methods, systems, and apparatus, including computer programs encoded on a computer storage medium, for converting a relational database into a triplestore. In one aspect, a method includes retrieving meta schema information for a relational database, including checking a data dictionary associated therewith, and saving the information (including column, primary key constraint and foreign key constraint definitions) in a canonical format; processing the saved information to identify triples to be created in a triplestore; and generating triples in the triplestore in accordance with results of the processing, the generating including: creating first triples (corresponding to data specified within relational database tables) using the column definitions, creating second triples (corresponding to data links between the relational database tables) using the primary key and foreign key constraint definitions, and creating third triples using a primary key constraint definition, a foreign key constraint definition, and an associative mapping table corresponding to the relational database.