我正在运行一个关于Skateboarder Steve Caballero的简单查询
https://www.freebase.com/m/0qmzf
其中包含https://www.freebase.com/business/sponsored_recipient/sponsorship?schema=
类型的属性在freebase中,我可以看到该属性包含以下内容:
MQL是这样的:
[{
"id": "/m/0qmzf",
"name": null,
"/business/sponsored_recipient/sponsorship": []
}]
Bu它返回:
{
"result": [{
"id": "/m/0qmzf",
"/business/sponsored_recipient/sponsorship": [
null,
null,
null,
null
],
"name": "Steve Caballero"
}]
}
任何人都可以帮我弄清楚为什么列表的空值?感谢
答案 0 :(得分:2)
赞助商是一种中介类型(也称为复合价值类型(CVT)),这意味着除了赞助商和赞助商收件人之外,它还有多个值(特别是From& To日期)
您可以在此处查看架构:https://www.freebase.com/business/sponsorship?schema=
CVT节点没有名称(因此是空值),但你真正想要的是进一步跳跃。您可以做这样的事情,以获得赞助商和赞助商开始和结束日期的赞助滑板手列表:
[{
"type": "/people/person",
"name": null,
"profession": "Skateboarder",
"/business/sponsored_recipient/sponsorship": [{
"sponsored_by": null,
"from": null,
"to": null
}]
}]