Freebase 结构

Freebase的数据存储格式叫Graph,nodes定义为/type/object,边被定义为/type/link.

Freebase文档中Topic的概念:topic就是entity,topic对应于图中的节点,但并不是所有的节点都是topic,还有Compound Value Types(组成似的的值类型,例如1997年温哥华的人口)

Freebase中的Topic有type,而且是一个topic对应多个type,而一个type又类似于一个模板或属性集合(文档中把type比作一个relational table)

type的集合叫做domain,每个domain都被分配了id,如:/business, /music等的第一级目录,而type的标识是第二级目录,如:/music.album,同样地,propert是第三级目标,如:/automotive/engine/horsepower

官方发summary:

  • A type is a conceptual container of related properties commonly needed to describe a certain aspect of a topic.
  • A topic can be assigned one or more types (the default type being /common/topic)
  • As properties are grouped into types, types are grouped into domains.
  • Domains, types, and properties are given IDs in a namespace/key hierarchy.
  • Common well-known topics are given IDs in the /en namespace, which are human-readable English strings.
  • Topics are uniquely identified within Freebase by GUIDs.
  • Properties are multi-value by default, and multi-value properties and single-value properties can be queried in the same way.

 

转载于:https://www.cnblogs.com/cloudssdut/p/freebase.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值