如何使用游离碱API来获取数据的人? [英] How to get person data using Freebase API?
问题描述
在阅读中游离碱维基30分钟,仍无法弄清楚如何从他们的API extact人的数据。我个人唯一标识符(/ M / 01vwllw),并要提取有关的人(地址,出生日期等)的所有相关信息。
任何暗示将AP preciated。谢谢
After 30 mins of reading Freebase Wiki, still can't figure out how to extact person data from their API. I have person unique identifier ("/m/01vwllw") and want to extract all infos about that person (address, birthdate, etc). Any hint will be appreciated. Thanks
推荐答案
的https://www.googleapis.com/freebase/v1/mqlread?query={%22type%22:%22/people/person%22%2C%22id%22:%22/m/01vwllw%22%2C%22name%22:null%2C%22date_of_birth%22:null}
https://www.googleapis.com/freebase/v1/mqlread?query={%22type%22:%22/people/person%22%2C%22id%22:%22/m/01vwllw%22%2C%22name%22:null%2C%22date_of_birth%22:null}
扩展为适合您要知道额外的事实。
Extend as appropriate for the additional facts that you want to know.
查询一个更可读的版本是:
A more readable version of the query is:
{"id":"/m/01vw11w",
"type":"/people/person",
"name":null,
"date_of_birth":null
}
这篇关于如何使用游离碱API来获取数据的人?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!