# US 2024/0256560 A1 · Data management system for managing inferences

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

- Number: US 2024/0256560 A1
- Document ID: US20240256560A1
- Status: Published application
- Kind: A1
- Application number: 18/103,870
- Filed: 2023-01-31
- Published: 2024-08-01
- Earliest claimed: 2023-01-31
- Assignees: Sap SE
- Applicants: Sap SE
- Inventors: CHRISTIAN BENSBERG
- Web page: https://patentgrep.com/patent/US20240256560A1

## CPC

- G06F 16/252: {between a Database Management System and a front-end application}
- G06F 16/9024: {Graphs; Linked lists (G06F16/9027 takes precedence)}
- G06N 5/04: Inference or reasoning models
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Various embodiments for a data management system for managing inferences are described herein. An embodiment operates by identifying a set of core data stored in a named graph and inferences generated based on the core data. A plurality of logged updates to the core data are detected. A query to execute against the named graph is received, and a signal to update the named graph is detected. At least a subset of the inferences are deleted, and the core data is modified based on the plurality of logged updates. A new plurality of inferences are generated based on the updated data. The query is executed against the named graph with the updated data and the new plurality of inferences, and a result from executing the query is returned.

## Claims

### Claim 1

A computer-implemented method for a data management system, comprising:
identifying a set of core data stored in a named graph, wherein the core data comprises a triple including a predicate;
identifying a plurality of inferences generated based on the core data, wherein the plurality of inferences identify relationships derived from the set of core data and not included in the core data;
detecting a plurality of logged updates to the core data, wherein one or more of the logged updates affects one or more of the plurality of inferences, and wherein one or more entries of core data corresponding the one or more of the plurality of logged updates are skipped during an execution of an initial query performed prior to generating updated data;
receiving a query to execute against the named graph;
detecting a signal to update the named graph;
deleting at least a subset of the plurality of inferences responsive to detecting the signal to update the named graph;
generating the updated data comprising the set of core data modified based on the plurality of logged updates;
generating, after the deleting, a new plurality of inferences based on the updated data;
executing the query against the named graph with the updated data and the new plurality of inferences; and
returning a result from the executing the query.

### Claim 2 (depends on 1)

The method of claim 1, wherein the set of core data comprises data stored in a knowledge graph.

### Claim 3 (depends on 2)

The method of claim 2, wherein the knowledge graph comprises data stored as a triple comprising a subject, object, and predicate defining a relationship between the subject and the object.

### Claim 4 (depends on 1)

The method of claim 1, wherein the named graph includes an inference flag indicating which entries in the named graph comprise one of the plurality of inferences.

### Claim 5 (depends on 4)

The method of claim 4, wherein the deleting comprises:
identifying the plurality of inferences based on the inference flag; and
deleting the entries for which the inference flag is set.

### Claim 6 (depends on 1)

The method of claim 1, wherein the named graph includes an action column indicating which entries in the named graph include logged updates.

### Claim 7 (depends on 6)

The method of claim 6, wherein the action column indicates whether an add or delete update is to be performed on a respective column of core data.

### Claim 8 (depends on 7)

The method of claim 7, further comprising:
receiving an initial query prior to the receiving the signal; and
executing the initial query against the named graph comprising the set of core data, wherein one or more entries of core data including a logged update are skipped during the executing of the initial query.

### Claim 9

A system comprising at least one processor, the at least one processor configured to perform operations comprising:
identifying a set of core data stored in a named graph, wherein the core data comprises a triple including a predicate;
identifying a plurality of inferences generated based on the core data, wherein the plurality of inferences identify relationships derived from the set of core data and not included in the core data;
detecting a plurality of logged updates to the core data, wherein one or more of the logged updates affects one or more of the plurality of inferences, and wherein one or more entries of core data corresponding the one or more of the plurality of logged updates are skipped during an execution of an initial query performed prior to generating updated data;
receiving a query to execute against the named graph;
detecting a signal to update the named graph;
deleting at least a subset of the plurality of inferences responsive to detecting the signal to update the named graph;
generating updated data comprising the set of core data modified based on the plurality of logged updates;
generating, after the deleting, a new plurality of inferences based on the updated data;
executing the query against the named graph with the updated data and the new plurality of inferences; and
returning a result from the executing the query.

### Claim 10 (depends on 9)

The system of claim 9, wherein the set of core data comprises data stored in a knowledge graph.

### Claim 11 (depends on 10)

The system of claim 10, wherein the knowledge graph comprises data stored as a triple comprising a subject, object, and predicate defining a relationship between the subject and the object.

### Claim 12 (depends on 9)

The system of claim 9, wherein the named graph includes an inference flag indicating which entries in the named graph comprise one of the plurality of inferences.

### Claim 13 (depends on 12)

The system of claim 12, wherein the deleting comprises:
identifying the plurality of inferences based on the inference flag; and
deleting the entries for which the inference flag is set.

### Claim 14 (depends on 9)

The system of claim 9, wherein the named graph includes an action column indicating which entries in the named graph include logged updates.

### Claim 15 (depends on 14)

The system of claim 14, wherein the action column indicates whether an add or delete update is to be performed on a respective column of core data.

### Claim 16 (depends on 15)

The system of claim 15, the operations further comprising:
receiving an initial query prior to the receiving the signal; and
executing the initial query against the named graph comprising the set of core data, wherein one or more entries of core data including a logged update are skipped during the executing of the initial query.

### Claim 17

A non-transitory computer-readable medium having instructions stored thereon that, when executed by at least one computing device, cause the at least one computing device to perform operations comprising:
identifying a set of core data stored in a named graph, wherein the core data comprises a triple including a predicate;
identifying a plurality of inferences generated based on the core data, wherein the plurality of inferences identify relationships derived from the set of core data and not included in the core data;
detecting a plurality of logged updates to the core data, wherein one or more of the logged updates affects one or more of the plurality of inferences, and wherein one or more entries of core data corresponding the one or more of the plurality of logged updates are skipped during an execution of an initial query performed prior to generating updated data;
receiving a query to execute against the named graph;
detecting a signal to update the named graph;
deleting at least a subset of the plurality of inferences responsive to detecting the signal to update the named graph;
generating updated data comprising the set of core data modified based on the plurality of logged updates;
generating, after the deleting, a new plurality of inferences based on the updated data;
executing the query against the named graph with the updated data and the new plurality of inferences; and
returning a result from the executing the query.

### Claim 18 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein the set of core data comprises data stored in a knowledge graph, wherein the knowledge graph comprises data stored as a triple comprising a subject, object, and predicate defining a relationship between the subject and the object.

### Claim 19

(canceled)

### Claim 20 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein the named graph includes an inference flag indicating which entries in the named graph comprise one of the plurality of inferences.

### Claim 21 (depends on 1)

The method of claim 1, wherein the detecting the signal comprises:
determining that the signal comprises one of a threshold number of transactions have been logged prior to generating the updated data.
