A subset of a knowledge graph
entitiesEntities in subgraph
relationshipsRelationships in subgraph
new()Create a new SubGraph
SubGraph$new(entities = list(), relationships = list())entitiesEntities
relationshipsRelationships
to_list()Convert to list
SubGraph$to_list()
clone()The objects of this class are cloneable with this method.
SubGraph$clone(deep = FALSE)deepWhether to make a deep clone.