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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access