US 12,260,344 B2
Dynamic in-memory construction of a knowledge graph
Leonidas Georgopoulos, Zurich (CH); Peter Willem Jan Staar, Wädenswil (CH); Christoph Auer, Zurich (CH); Michele Dolfi, Zurich (CH); and Konstantinos Bekas, Horgen (CH)
Assigned to International Business Machines Corporation, Armonk, NY (US)
Filed by International Business Machines Corporation, Armonk, NY (US)
Filed on Jul. 20, 2020, as Appl. No. 16/933,101.
Prior Publication US 2022/0019907 A1, Jan. 20, 2022
Int. Cl. G06N 5/022 (2023.01); G06F 16/901 (2019.01); G06F 40/10 (2020.01)
CPC G06N 5/022 (2013.01) [G06F 16/9024 (2019.01); G06F 40/10 (2020.01)] 20 Claims
OG exemplary drawing
 
1. A method for a dynamic in-memory construction of a knowledge graph structure, the knowledge graph structure comprising a plurality of nodes and edges linking selected nodes to each other, the method comprising:
receiving a record comprising a plurality of strings, wherein the plurality of strings relates to a command combined with a set of strings;
determining, in a storage system, content records relating to nodes relating to each of the strings, wherein an abstraction layer translates the content records and a knowledge base to a sequence of integer values;
assigning node identifiers for respective determined content records;
appending the node identifiers to a dynamic in-memory knowledge graph structure;
modifying an edge between selected ones of the node identifiers based on the command combined with the set of strings, wherein the command comprises “create” or “delete” the edge between the plurality of nodes;
building, simultaneously, multiple different representations of the dynamic in-memory knowledge graph structure on-the-fly, wherein the content records are stored separate to the knowledge graph structure and wherein the node identifiers pointing to the content records are changed, moved, and adapted to construct a different knowledge graph using a same knowledge base; and
formatting the dynamic in-memory knowledge graph structure in a manner necessary for a specific application or problem to be solved.