Property Graph Model

本文介绍了Blueprints为属性图数据模型提供的一系列接口,并详细解释了属性图的基本组成元素,包括顶点、边和它们之间的关系。通过这些组件定义了一个属性图的数据结构。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Blueprints provides a set of interfaces for the property graph data model. An example instance is diagrammed above. In order to make a data management system “Blueprints-enabled,” the Blueprints interfaces must be implemented. However, note that there are various Graph interfaces, each with different types of functionality. For example, if an application only needs a Graph, then aTransactionalGraph implementation is not required of the underlying graph.

The following diagram identifies the names of the different components of aGraph. In general, these are the basic components of a property graph.

  • Graph: An object that contains vertices and edges.
    • Element: An object that can have any number of key/value pairs associated with it (i.e. properties)
      • Vertex: An object that has incoming and outgoing edges.
      • Edge: An object that has a tail and head vertex.

A property graph has these elements:

  1. a set of vertices
    • each vertex has a unique identifier.
    • each vertex has a set of outgoing edges.
    • each vertex has a set of incoming edges.
    • each vertex has a collection of properties defined by a map from key to value.
  2. a set of edges
    • each edge has a unique identifier.
    • each edge has an outgoing tail vertex.
    • each edge has an incoming head vertex.
    • each edge has a label that denotes the type of relationship between its two vertices.

    • each edge has a collection of properties defined by a map from key to value.
    Ref: https://github.com/tinkerpop/blueprints/wiki/Property-Graph-Model

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值