Content deleted Content added
Fix binding variable, Gremlin ref, PGDM |
Refs |
||
Line 10:
==The property graph data model==
A property graph closely resembles a conceptual data model expressed in an Entity Relationship model or in a UML class diagram. Entities or concepts are modelled as nodes, and relationships as edges, in a graph. Nodes and edges, collectively known as elements, have attributes. Those attributes may be data values, or labels (tags). Values of properties cannot be elements of graphs, nor can they be whole graphs: these restrictions intentionally force a clean separation between the topology of a graph, and the attributes carrying data values in the context of a graph topology. Each property graph may have a set of labels and a set of properties that are associated with the graph as a whole. Current graph database products and projects often support a limited edition of the model described here. For example, Apache Tinkerpop<ref
The property graph data model therefore deliberately prevents nesting of graphs, or treating nodes in one graph as edges in another. Additional aspects of the ERM or UML models (like generalization or subtyping, or entity or relationship cardinalities) may be captured by schemas or types that describe possible instances of the general data model.
|