US 12,086,128 B2
Mechanisms for serializing triples of a database store
Matthew Fuchs, Los Gatos, CA (US); Antonio Garrote, San Francisco, CA (US); Kelly Henvy, Salem, OR (US); and Pawel Psztyc, San Francisco, CA (US)
Assigned to Salesforce, Inc., San Francisco, CA (US)
Filed by Salesforce, Inc., San Francisco, CA (US)
Filed on Jul. 8, 2022, as Appl. No. 17/811,500.
Prior Publication US 2024/0012802 A1, Jan. 11, 2024
Int. Cl. G06F 16/23 (2019.01); G06F 16/215 (2019.01); G06F 16/22 (2019.01); G06F 16/28 (2019.01)
CPC G06F 16/2358 (2019.01) [G06F 16/215 (2019.01); G06F 16/2246 (2019.01); G06F 16/288 (2019.01)] 20 Claims
OG exemplary drawing
 
1. A method of serializing triples being accessed from a database, the method comprising:
maintaining, by a computer system, the database that stores data as a plurality of triples, wherein a given one of the plurality of triples includes a first data entity that is connected to a second data entity via an edge, and wherein ones of the plurality of triples are connected to form a plurality of graphs;
storing, by the computer system, metadata that defines types of edges between data entities of the plurality of triples, wherein a given one of the types of edges indicates one of a plurality of different procedures for serializing a target data entity that is connected to the given type of edge;
receiving, by the computer system, a request to access a data entity stored in the database, wherein the data entity is associated with a plurality of descendant data entities connected to the data entity via a set of edges; and
generating, by the computer system, an output having the data entity and one or more of the plurality of descendant data entities, wherein the generating includes serializing the one or more descendant data entities based on particular types of the set of edges, wherein the particular types indicate which ones of the plurality of different procedures to implement to serialize the one or more descendent data entities.