# US 2018/0025061 A1 · Bootstrapping the data lake and glossaries with 'dataset joins' metadata from existing application patterns

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

- Number: US 2018/0025061 A1
- Document ID: US20180025061A1
- Status: Published application
- Kind: A1
- Application number: 15/719,903
- Filed: 2017-09-29
- Published: 2018-01-25
- Earliest claimed: 2015-03-26
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Patrick Dantressangle; Simon Laws; Adrian C. F. Lee; Peter Wooldridge
- Web page: https://patentgrep.com/patent/US20180025061A1

## CPC

- G06F 16/2465: {Query processing support for facilitating data mining operations in structured databases}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method to search for at least one relationship pattern in a plurality of runtime artifacts is provided. The method may include detecting at least one data manipulation statement in the plurality of runtime artifacts. The method may also include extracting at least one relationship clause from the detected at least one data manipulation statement. The method may further include parsing the extracted at least one relationship clause. The method may include generating at least one normalized syntax tree based on the parsed at least one relationship clause. The method may also include performing a classification and a snippet discovery on the generated at least one normalized syntax tree.

## Claims

### Claim 1

A method to search for at least one relationship pattern in a plurality of runtime artifacts, the method comprising:
detecting at least one data manipulation statement in the plurality of runtime artifacts;
extracting at least one relationship clause from the detected at least one data manipulation statement;
parsing the extracted at least one relationship clause; and
generating at least one normalized syntax tree based on the parsed at least one relationship clause.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
performing a classification and a snippet discovery on the generated at least one normalized syntax tree;
clustering a plurality of common relationship clauses according to a plurality of linkages that link a plurality of data sources together; and
storing the plurality of common relationship clauses and the plurality of linkages.

### Claim 3 (depends on 2)

The method of claim 2, wherein the plurality of common relationship clauses and the plurality of linkages are stored according to at least one of a class, a cluster or a syntax tree.

### Claim 4 (depends on 2)

The method of claim 2, further comprising:
proposing a list comprising the clustered common relationship clauses to a user for validation; and
providing a search capability to retrieve at least one probable relationship between at least one of a plurality of data elements, a plurality of business terms, and a plurality of data elements and business terms, wherein the retrieved at least one probable relationship includes a sorted list of a most common predicate used.

### Claim 5 (depends on 1)

The method of claim 1, wherein the plurality of runtime artifacts is associated with a data source comprising at least one of an ETL, a database view, a database SQL procedure, a batch file, a plurality of reporting tool metadata, a metadata server, a program, and a script.

### Claim 6 (depends on 2)

The method of claim 2, wherein performing a classification comprises classifying a plurality of common relationship clauses according to at least one of a uni-directional classification, a bi-directional classification, and a mapping classification.

### Claim 7 (depends on 2)

The method of claim 2, wherein the clustering the plurality of common relationship clauses is performed using a plurality of analytic algorithms.

### Claim 8

A computer system to search for at least one relationship pattern in a plurality of runtime artifacts, the computer system comprising:
one or more processors, one or more computer-readable memories, one or more computer-readable tangible storage devices, and program instructions stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, wherein the computer system is capable of performing a method comprising:
detecting at least one data manipulation statement in the plurality of runtime artifacts;
extracting at least one relationship clause from the detected at least one data manipulation statement;
parsing the extracted at least one relationship clause; and
generating at least one normalized syntax tree based on the parsed at least one relationship clause.

### Claim 9 (depends on 8)

The computer system of claim 8, further comprising:
performing a classification and a snippet discovery on the generated at least one normalized syntax tree;
clustering a plurality of common relationship clauses according to a plurality of linkages that link a plurality of data sources together; and
storing the plurality of common relationship clauses and the plurality of linkages.

### Claim 10 (depends on 9)

The computer system of claim 9, wherein the plurality of common relationship clauses and the plurality of linkages are stored according to at least one of a class, a cluster or a syntax tree.

### Claim 11 (depends on 9)

The computer system of claim 9, further comprising:
proposing a list comprising the clustered common relationship clauses to a user for validation; and
providing a search capability to retrieve at least one probable relationship between at least one of a plurality of data elements, a plurality of business terms, and a plurality of data elements and business terms, wherein the retrieved at least one probable relationship includes a sorted list of a most common predicate used.

### Claim 12 (depends on 8)

The computer system of claim 8, wherein the plurality of runtime artifacts is associated with a data source comprising at least one of an ETL, a database view, a database SQL procedure, a batch file, a plurality of reporting tool metadata, a metadata server, a program, and a script.

### Claim 13 (depends on 9)

The computer system of claim 9, wherein performing a classification comprises classifying a plurality of common relationship clauses according to at least one of a uni-directional classification, a bi-directional classification, and a mapping classification.

### Claim 14 (depends on 9)

The computer system of claim 9, wherein the clustering the plurality of common relationship clauses is performed using a plurality of analytic algorithms.

### Claim 15

A computer program product, to search for at least one relationship pattern in a plurality of runtime artifacts, the computer program product comprising:
one or more computer-readable storage devices and program instructions stored on at least one of the one or more tangible storage devices, the program instructions executable by a processor, the program instructions comprising:
program instructions to detect at least one data manipulation statement in the plurality of runtime artifacts;
program instructions to extract at least one relationship clause from the detected at least one data manipulation statement;
program instructions to parse the extracted at least one relationship clause; and
program instructions to generate at least one normalized syntax tree based on the parsed at least one relationship clause.

### Claim 16 (depends on 15)

The computer program product of claim 15, further comprising:
program instructions to perform a classification and a snippet discovery on the generated at least one normalized syntax tree;
program instructions to cluster a plurality of common relationship clauses according to a plurality of linkages that link a plurality of data sources together; and
program instructions to store the plurality of common relationship clauses and the plurality of linkages.

### Claim 17 (depends on 16)

The computer program product of claim 16, wherein the plurality of common relationship clauses and the plurality of linkages are stored according to at least one of a class, a cluster or a syntax tree.

### Claim 18 (depends on 16)

The computer program product of claim 16, further comprising:
program instructions to propose a list comprising the clustered common relationship clauses to a user for validation; and
program instructions to provide a search capability to retrieve at least one probable relationship between at least one of a plurality of data elements, a plurality of business terms, and a plurality of data elements and business terms, wherein the retrieved at least one probable relationship includes a sorted list of a most common predicate used.

### Claim 19 (depends on 15)

The computer program product of claim 15, wherein the plurality of runtime artifacts is associated with a data source comprising at least one of an ETL, a database view, a database SQL procedure, a batch file, a plurality of reporting tool metadata, a metadata server, a program, and a script.

### Claim 20 (depends on 16)

The computer program product of claim 16, wherein performing a classification comprises classifying a plurality of common relationship clauses according to at least one of a uni-directional classification, a bi-directional classification, and a mapping classification.
