Semantic Elements
In contrast with the structural elements, the semantic elements provide the information content and include the label, weight, and property elements. How these semantic elements are supported is where the main differences between the various graph models arise.
Semantic elements are typically in some sense “attached” to the main structure. Properties can be regarded as attributes of a structuring element—a node or an edge. Not all graph models, however, support properties on edges.
They may be implemented as an associated data structure, for example, a dictionary. This is the case for the property graph model.
In the RDF graph model, however, properties may only be attached to nodes and are implemented as edge/node spurs on ...
Get Exploring Graphs with Elixir now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.