# US 2022/0283996 A1 · Measuring data quality in a structured database through sql

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

- Number: US 2022/0283996 A1
- Document ID: US20220283996A1
- Status: Published application
- Kind: A1
- Application number: 17/189,946
- Filed: 2021-03-02
- Published: 2022-09-08
- Earliest claimed: 2021-03-02
- Assignees: Saudi Arabian Oil Company
- Applicants: Saudi Arabian Oil Company
- Inventors: Paul Lecaillon; Rami Majed Aljawad; Ning Li; Mohammed Jebreel Hakami
- Web page: https://patentgrep.com/patent/US20220283996A1

## CPC

- G06F 11/0751: {Error or fault detection not based on redundancy (power supply failures G06F1/30; network fault management H04L41/06)}
- G06F 16/215: Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
- G06F 11/3072: {where the reporting involves data filtering, e.g. pattern matching, time or event triggered, adaptive or policy-based reporting}
- G06F 11/327: {Alarm or error message display}
- G06F 11/3428: {Benchmarking}
- G06F 16/24564: {Applying rules; Deductive queries}
- G06F 16/287: {Visualization; Browsing}
- G06F 2201/80: Database-specific techniques
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Some implementations of the present disclosure provide a method that include: accessing a plurality of tables that store (i) metadata that characterize a hierarch of exploration data assets, (ii) metadata that characterize a set of data quality rules, (iii) metadata that characterize defects identifiable as data records in the hierarchy of exploration data assets that fail to comply with the set of data quality rules; querying the hierarch of exploration data assets according to one or more data quality rules from the set of data quality rules; identifying instances of data records that fail to meet the one or more data quality rules; based on analyzing the instances of data records, calculating one or more data quality metrics for the hierarchy of exploration data assets; and monitoring the hierarchy of exploration data assets based on the calculated one or more data quality metrics.

## Claims

### Claim 1

A computer-implemented method, comprising:
accessing a plurality of tables that store (i) metadata that characterize a hierarch of exploration data assets, (ii) metadata that characterize a set of data quality rules, (iii) metadata that characterize defects identifiable as data records in the hierarchy of exploration data assets that fail to comply with the set of data quality rules;
querying the hierarch of exploration data assets according to one or more data quality rules from the set of data quality rules;
identifying instances of data records that fail to meet the one or more data quality rules;
based on analyzing the instances of data records, calculating one or more data quality metrics for the hierarchy of exploration data assets; and
monitoring the hierarchy of exploration data assets based on the calculated one or more data quality metrics.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein querying the hierarch of exploration data assets comprises:
running one or more structured query language (SQL) statements to enforce the one or more data quality rule based on the metadata of the set of data quality rules and the metadata of the hierarch of exploration data assets.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, further comprising:
storing, according to the metadata that characterizes the defects, information capable of identifying the instances of the data records that fail to meet the one or more data quality rules.

### Claim 4 (depends on 3)

The computer-implemented method of claim 3, further comprising
based on the stored information, calculating one or more data quality metrics for the hierarchy of exploration data assets; and
monitoring the hierarchy of exploration data assets based on the calculated one or more data quality metrics.

### Claim 5 (depends on 2)

The computer-implemented method of claim 2, further comprising:
launching a batch job that includes the one or more structured query language (SQL) statements such that monitor the hierarchy of exploration data assets can be monitored.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, wherein the plurality of tables further stores metadata of the batch job that characterizes the batch job.

### Claim 7 (depends on 6)

The computer-implemented method of claim 6, further comprising:
logging information about the batch job each time the batch job runs such that a progress of the data quality metrics over time can be monitored.

### Claim 8

A computer system comprising one or more processors configured to perform operations of:
accessing a plurality of tables that store (i) metadata that characterize a hierarch of exploration data assets, (ii) metadata that characterize a set of data quality rules, (iii) metadata that characterize defects identifiable as data records in the hierarchy of exploration data assets that fail to comply with the set of data quality rules;
querying the hierarch of exploration data assets according to one or more data quality rules from the set of data quality rules;
identifying instances of data records that fail to meet the one or more data quality rules;
based on analyzing the instances of data records, calculating one or more data quality metrics for the hierarchy of exploration data assets; and
monitoring the hierarchy of exploration data assets based on the calculated one or more data quality metrics.

### Claim 9 (depends on 8)

The computer system of claim 8, wherein querying the hierarch of exploration data assets comprises:
running one or more structured query language (SQL) statements to enforce the one or more data quality rule based on the metadata of the set of data quality rules and the metadata of the hierarch of exploration data assets.

### Claim 10 (depends on 9)

The computer system of claim 9, wherein the operations further comprise:
storing, according to the metadata that characterizes the defects, information capable of identifying the instances of the data records that fail to meet the one or more data quality rules.

### Claim 11 (depends on 10)

The computer system of claim 10, wherein the operations further comprise:
based on the stored information, calculating one or more data quality metrics for the hierarchy of exploration data assets; and
monitoring the hierarchy of exploration data assets based on the calculated one or more data quality metrics.

### Claim 12 (depends on 9)

The computer system of claim 9, wherein the operations further comprise:
launching a batch job that includes the one or more structured query language (SQL) statements such that monitor the hierarchy of exploration data assets can be monitored.

### Claim 13 (depends on 12)

The computer system of claim 12, wherein the plurality of tables further stores metadata of the batch job that characterizes the batch job.

### Claim 14 (depends on 13)

The computer system of claim 13, wherein the operations further comprise:
logging information about the batch job each time the batch job runs such that a progress of the data quality metrics over time can be monitored.

### Claim 15

A non-transitory computer-readable medium comprising software instructions that, when executed by a computer processor, cause the computer processor to perform operations of:
accessing a plurality of tables that store (i) metadata that characterize a hierarch of exploration data assets, (ii) metadata that characterize a set of data quality rules, (iii) metadata that characterize defects identifiable as data records in the hierarchy of exploration data assets that fail to comply with the set of data quality rules;
querying the hierarch of exploration data assets according to one or more data quality rules from the set of data quality rules;
identifying instances of data records that fail to meet the one or more data quality rules;
based on analyzing the instances of data records, calculating one or more data quality metrics for the hierarchy of exploration data assets; and
monitoring the hierarchy of exploration data assets based on the calculated one or more data quality metrics.

### Claim 16 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein querying the hierarch of exploration data assets comprises:
running one or more structured query language (SQL) statements to enforce the one or more data quality rule based on the metadata of the set of data quality rules and the metadata of the hierarch of exploration data assets.

### Claim 17 (depends on 16)

The non-transitory computer-readable medium of claim 16, wherein the operations further comprise:
storing, according to the metadata that characterizes the defects, information capable of identifying the instances of the data records that fail to meet the one or more data quality rules;
based on the stored information, calculating one or more data quality metrics for the hierarchy of exploration data assets; and
monitoring the hierarchy of exploration data assets based on the calculated one or more data quality metrics.

### Claim 18 (depends on 16)

The non-transitory computer-readable medium of claim 16, wherein the operations further comprise:
launching a batch job that includes the one or more structured query language (SQL) statements such that monitor the hierarchy of exploration data assets can be monitored.

### Claim 19 (depends on 18)

The non-transitory computer-readable medium of claim 18, wherein the plurality of tables further stores metadata of the batch job that characterizes the batch job.

### Claim 20 (depends on 19)

The non-transitory computer-readable medium of claim 19, wherein the operations further comprise:
logging information about the batch job each time the batch job runs such that a progress of the data quality metrics over time can be monitored.
