在Freebase MQL中获取/common/topic/description [英] Obtain /common/topic/description in Freebase MQL

查看:113
本文介绍了在Freebase MQL中获取/common/topic/description的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

美好的一天,

如何在Freebase中获得主题文本描述?例如,我问有关切尔诺贝利灾难的MQL查询:

how can I obtain the topic text description in Freebase? For example, I ask MQL query about Chernobyl disaster:

[{
  "type": "/common/topic",
  "description": null,
  "mid": "/m/07q37w"
}]

,但获取空描述.同时,我可以在Freebase页面上看到非空的描述: http://www.freebase.com/m/07q37w

but obtain null description. At the same time I can see non-null description at Freebase page: http://www.freebase.com/m/07q37w

推荐答案

/common/topic/description是无法通过MQL访问的伪属性.您可以按如下方式使用Topic API:

/common/topic/description is a pseudo-property which is not accessible through MQL. You can use the Topic API as follows:

https://www.googleapis .com/freebase/v1/topic/m/07q37w?filter =/common/topic/description

这篇关于在Freebase MQL中获取/common/topic/description的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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