CPC G06F 16/2358 (2019.01) [G06F 16/215 (2019.01); G06F 16/2246 (2019.01); G06F 16/288 (2019.01)] | 20 Claims |
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.
|