# US 2025/0165440 A1 · Mapping Disparate Database Schemas Using Artificial Intelligence

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0165440 A1
- Document ID: US20250165440A1
- Status: Published application
- Kind: A1
- Application number: 18/954,586
- Filed: 2024-11-21
- Published: 2025-05-22
- Earliest claimed: 2023-11-22
- Assignees: KPMG International Services Ltd.
- Applicants: KPMG International Services Limited
- Inventors: Paul Medvedev; Gavin Quertier; Omair Masood; Amit Depshpande; Arnab Khan
- Web page: https://patentgrep.com/patent/US20250165440A1

## CPC

- G06F 16/211: {Schema design and management}
- G06F 16/258: {Data format conversion from or to a database}
- G06F 16/9024: {Graphs; Linked lists (G06F16/9027 takes precedence)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems, methods, and computer program products provide for mapping a source database schema to a destination database schema. Initially, a source database schema graph and a destination database schema graph are generated, each graph having a plurality of nodes, each node corresponding to a data object in the source database schema or the destination database schema. Graphical context data is then generated for the source database schema graph nodes and the destination database schema graph nodes. Using a trained artificial intelligence model, the graphical context data for a selected source database schema graph node is compared to the graphical context data for a selected destination database schema graph node, and a mapping between the selected source database schema graph node and the selected destination database schema graph node is labeled where the artificial intelligence model determines that the selected nodes are sufficiently similar.

## Claims

### Claim 1

A computer-implemented method for mapping a source database schema to a destination database schema, the method comprising:
generating a source database schema graph having a plurality of nodes, each node corresponding to a data object in the source database schema;
generating graphical context data for the source database schema graph nodes;
using a trained artificial intelligence (AI) model, comparing the graphical context data for a selected source database schema graph node to graphical context data for a selected destination database schema graph node; and
labeling a mapping between the selected source database schema graph node and the selected destination database schema graph node where the AI model determines that the selected nodes are sufficiently similar.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, further comprising:
generating a destination database schema graph having a plurality of nodes, each node corresponding to a data object in the destination database schema; and
generating graphical context data for the destination database schema graph nodes.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, further comprising, where the AI model determines that the selected nodes are not sufficiently similar:
selecting a second node from the source database schema graph;
using the AI model, comparing the graphical context data for the second source database schema graph node to graphical context data for the selected destination database schema graph node; and
labeling a mapping between the second source database schema graph node and the selected destination database schema graph node where the AI model determines that the selected nodes are sufficiently similar.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, further comprising, where the AI model determines that the selected nodes are not sufficiently similar:
selecting a second node from the destination database schema graph;
using the AI model, comparing the graphical context data for the selected source database schema graph node to graphical context data for the second destination database schema graph node; and
labeling a mapping between the selected source database schema graph node and the second destination database schema graph node where the AI model determines that the selected nodes are sufficiently similar.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, further comprising, where the AI model determines that the selected nodes are not sufficiently similar:
selecting a second node from the source database schema graph and a second node from the destination database schema graph;
using the AI model, comparing the graphical context data for the second source database schema graph node to graphical context data for the second destination database schema graph node; and
labeling a mapping between the second source database schema graph node and the second destination database schema graph node where the AI model determines that the selected nodes are sufficiently similar.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, further comprising uploading a file containing the source database schema to a computer system.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, further comprising translating the source database schema from a first language to a second language using a trained artificial intelligence (AI) model.

### Claim 8

An apparatus for mapping a source database schema to a destination database schema, comprising:
one or more processors; and
memory storing instructions that, when executed by the one or more processors, cause the apparatus to:
generate a source database schema graph having a plurality of nodes, each node corresponding to a data object in the source database schema;
generate graphical context data for the source database schema graph nodes;
using a trained artificial intelligence (AI) model, compare the graphical context data for a selected source database schema graph node to graphical context data for a selected destination database schema graph node; and
label a mapping between the selected source database schema graph node and the selected destination database schema graph node where the AI model determines that the selected nodes are sufficiently similar.

### Claim 9 (depends on 8)

The apparatus of claim 8, wherein the instructions, when executed by the one or more processors, further cause the apparatus to:
generate a destination database schema graph having a plurality of nodes, each node corresponding to a data object in the destination database schema; and
generate graphical context data for the destination database schema graph nodes.

### Claim 10 (depends on 8)

The apparatus of claim 8, wherein, when the AI model determines that the selected nodes are not sufficiently similar, the instructions further cause the apparatus to:
select a second node from the source database schema graph;
use the AI model to compare the graphical context data for the second source database schema graph node to graphical context data for the selected destination database schema graph node; and
label a mapping between the second source database schema graph node and the selected destination database schema graph node where the AI model determines that the selected nodes are sufficiently similar.

### Claim 11 (depends on 8)

The apparatus of claim 8, wherein, when the AI model determines that the selected nodes are not sufficiently similar, the instructions further cause the apparatus to:
select a second node from the destination database schema graph;
use the AI model to compare the graphical context data for the selected source database schema graph node to graphical context data for the second destination database schema graph node; and
label a mapping between the selected source database schema graph node and the second destination database schema graph node where the AI model determines that the selected nodes are sufficiently similar.

### Claim 12 (depends on 8)

The apparatus of claim 8, wherein, when the AI model determines that the selected nodes are not sufficiently similar, the instructions further cause the apparatus to:
select a second node from the source database schema graph and a second node from the destination database schema graph;
use the AI model to compare the graphical context data for the second source database schema graph node to graphical context data for the second destination database schema graph node; and
label a mapping between the second source database schema graph node and the second destination database schema graph node where the AI model determines that the selected nodes are sufficiently similar.

### Claim 13 (depends on 1)

The apparatus of claim 1, wherein the instructions further cause the apparatus to translate the source database schema from a first language to a second language using the AI model.

### Claim 14

A computer-implemented system for mapping a source database schema to a destination database schema, comprising:
a feature identifier configured to identify attributes of the source database schema and destination database schema;
a graph engine configured to convert the identified attributes of the source database schema and destination database schema into respective graph representations; and
a graph analyzer configured to:
compare the graph representations to identify nodes in the destination database schema that are analogous to corresponding nodes in the source database schema; and
label as a match a mapping between selected source database schema graph nodes and corresponding destination database schema graph nodes where the graph analyzer determines that the nodes are sufficiently similar.

### Claim 15 (depends on 14)

The computer-implemented system of claim 14, wherein the feature identifier is configured to identify the attributes of the source database schema and destination database schema, tokenize the attributes, and generate one or more feature vectors corresponding to the attributes.

### Claim 16 (depends on 14)

The computer-implemented system of claim 14, further comprising a trained artificial intelligence (AI) model comprising the graph engine and the graph analyzer, wherein the AI model is configured to:
determine the relationship between selected source database schema graph nodes and corresponding destination database schema graph nodes; and
label as a match the mapping between selected source database schema graph nodes and corresponding destination database schema graph nodes where the AI model determines that the nodes are sufficiently similar.

### Claim 17 (depends on 14)

The computer-implemented system of claim 14, wherein the graph engine is further configured to generate context data for each node in the respective graph representation of the source database schema and the destination database schema, and wherein the graph analyzer is configured to compare the context data of the nodes.

### Claim 18 (depends on 14)

The computer-implemented system of claim 14, wherein the graph engine is further configured to generate context data for each edge between the nodes in the respective representation of the source database schema and the destination database schema, and wherein the graph analyzer is configured to compare the context data of the edges.
