# US 2025/0156640 A1 · Knowledge graph entities from text

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

- Number: US 2025/0156640 A1
- Document ID: US20250156640A1
- Status: Published application
- Kind: A1
- Application number: 19/028,157
- Filed: 2025-01-17
- Published: 2025-05-15
- Earliest claimed: 2022-05-06
- Assignees: Sap SE
- Applicants: Sap SE
- Inventors: Hans-Martin Ramsl
- Web page: https://patentgrep.com/patent/US20250156640A1

## CPC

- G06F 40/295: Named entity recognition
- G06F 40/253: Grammatical analysis; Style critique
- G06F 40/30: Semantic analysis
- G06N 3/042: Knowledge-based neural networks; Logical representations of neural networks
- G06N 3/045: Combinations of networks
- G06N 3/0475: Generative networks
- G06N 3/08: Learning methods
- G06N 5/022: Knowledge engineering; Knowledge acquisition
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Example methods and systems are directed to generating knowledge graph entities from text. Natural language text is received as input and processed using named entity recognition (NER), part of speech (POS) recognition, and business object recognition (BOR). The outputs of the NER, POS, and BOR processes are combined to generate knowledge entity triples comprising two entities and a relationship between them. Keywords are extracted from the text using NER to generate a set of entities. A node in a knowledge graph is created for at least some of the entities. A POS tagger identifies verbs in the text, generating a set of verbs. Relational verbs (e.g., “talk to” or “communicated with”) are detected and used to create edges in the knowledge graph. The knowledge graph may be converted back to natural language text using a trained machine learning model.

## Claims

### Claim 1

A system comprising:
a memory that stores instructions; and
one or more processors configured by the instructions to perform operations comprising:
identifying a set of entities from text, at least one entity of the set of entities being an object recognized by a keyword that indicates a type of the object followed by a number that indicates a particular object of the type;
identifying, from the text, a set of relations between pairs of entities of the set of entities;
creating a knowledge graph based on the set of entities and the set of relations;
causing presentation of a user interface on a display device;
receiving, via the user interface, a topic;
searching the knowledge graph for nodes that match the topic; and
causing display of at least one of the nodes that match the topic, a first node connected to the at least one of the nodes, and a second node connected to the at least one of the nodes.

### Claim 2 (depends on 1)

The system of claim 1, wherein the identifying of the set of entities from the text comprises determining a part of speech for words or phrases of the text.

### Claim 3 (depends on 1)

The system of claim 1, further comprising converting to vectors words and phrases of the text that are determined to be verbs.

### Claim 4 (depends on 1)

The system of claim 1, wherein the identifying of the set of entities from the text comprises applying named entity recognition (NER) to the text.

### Claim 5 (depends on 1)

The system of claim 1, wherein the identifying of the set of entities from the text comprises applying object recognition to the text.

### Claim 6 (depends on 1)

The system of claim 1, wherein the operations further comprise:
comparing the knowledge graph and a second knowledge graph to determine a degree of similarity between the text and a second text.

### Claim 7 (depends on 1)

The system of claim 1, wherein the operations further comprise:
using a trained machine learning model, generating an approximation of the text from the knowledge graph.

### Claim 8

A method comprising:
identifying, by one or more processors, a set of entities from text, at least one entity of the set of entities being an object recognized by a keyword that indicates a type of the object followed by a number that indicates a particular object of the type;
identifying, by the one or more processors and from the text, a set of relations between pairs of entities of the set of entities;
creating, by the one or more processors, a knowledge graph based on the set of entities, and the set of relations;
causing presentation of a user interface on a display device;
receiving, via the user interface, a topic;
searching the knowledge graph for nodes that match the topic; and
causing display of at least one of the nodes that match the topic, a first node connected to the at least one of the nodes, and a second node connected to the at least one of the nodes.

### Claim 9 (depends on 8)

The method of claim 8, wherein the identifying of the set of entities from the text comprises determining a part of speech for words or phrases of the text.

### Claim 10 (depends on 9)

The method of claim 9, further comprising converting to vectors words and phrases of the text that are determined to be verbs.

### Claim 11 (depends on 8)

The method of claim 8, wherein the identifying of the set of entities from the text comprises applying named entity recognition (NER) to the text.

### Claim 12 (depends on 8)

The method of claim 8, wherein the identifying of the set of entities from the text comprises applying object recognition to the text.

### Claim 13 (depends on 8)

The method of claim 8, further comprising:
comparing the knowledge graph and a second knowledge graph to determine a degree of similarity between the text and a second text.

### Claim 14 (depends on 8)

The method of claim 8, further comprising:
using a trained machine learning model, generating an approximation of the text from the knowledge graph.

### Claim 15

A non-transitory computer-readable medium that stores instructions that, when executed by one or more processors, cause the one or more processors to perform operations comprising:
identifying a set of entities from text, at least one entity of the set of entities being an object recognized by a keyword that indicates a type of the object followed by a number that indicates a particular object of the type;
identifying, from the text, a set of relations between pairs of entities of the set of entities;
creating a knowledge graph based on the set of entities and the set of relations;
causing presentation of a user interface on a display device;
receiving, via the user interface, a topic;
searching the knowledge graph for nodes that match the topic; and
causing display of at least one of the nodes that match the topic, a first node connected to the at least one of the nodes, and a second node connected to the at least one of the nodes.

### Claim 16 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the identifying of the set of entities from the text comprises determining a part of speech for words or phrases of the text.

### Claim 17 (depends on 16)

The non-transitory computer-readable medium of claim 16, further comprising converting to vectors words and phrases of the text that are determined to be verbs.

### Claim 18 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the identifying of the set of entities from the text comprises applying named entity recognition (NER) to the text.

### Claim 19 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the identifying of the set of entities from the text comprises applying object recognition to the text.

### Claim 20 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the operations further comprise:
comparing the knowledge graph and a second knowledge graph to determine a degree of similarity between the text and a second text.
