Freebase类型有层次结构表示吗? [英] Is there a hierarchical representation of the Freebase types?

查看:139
本文介绍了Freebase类型有层次结构表示吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

例如,如果某个主题(例如:德克萨斯州)的类型为/location/citytown,则我还看到在同一主题上附加了"/location/location"类型.另外,这里的主题是城市或城镇的名称,默认情况下,它也是一般的位置,对吗?那么,如果一个主题的类型为/location/citytown,那么可以得出结论,那么默认情况下,它也将/location/location也作为与同一主题相关联的类型?

For example, if some topic (Ex: Texas) is of type /location/citytown, I also see that there is a type "/location/location" attached to the same topic. In addition, here as the topic is the name of a city or town, it is also by default a general location, right? So, would that conclude if a topic has a type /location/citytown, then it would by default have /location/location also as a type associated with the same topic?

总而言之,Freebase是否以一种让我们理解如果某物是/location/citytown,那么它也是/location/location,以此类推的方式来表示类型的层次结构呢?

In summary, does Freebase have a hierarchical representation of the types in a way that lets us understand that if something is a /location/citytown, then it is also a /location/location, and so on for other cases too?

推荐答案

虽然没有分层表示形式,但是类型具有/freebase/type_hints/included_types属性,该属性指定 Freebase Web客户端 会在断言类型时自动包括在内.您可以在网络客户端中看到这些列出,或使用

There isn't a hierarchical representation as such, but types have a /freebase/type_hints/included_types property which specifies the types which the Freebase web client will automatically include when a type is asserted. You can see these listed in the web client or fetch them with an MQL query.

这里要注意的重要点是这些仅是提示:/location/citytown必须是/location/location的事实并没有强制执行,并且只有Web客户端会自动添加包含的类型-如果要创建的话主题,您必须自己添加包含的类型.

Important points to note here are that these are hints only: nothing enforces the fact that a /location/citytown must be a /location/location, and that it is only the web client which automatically adds the included types - if you are creating topics by any other means, you'll have to add the included types yourself.

这篇关于Freebase类型有层次结构表示吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆