维基数据内容协商 [英] Wikidata content negotiation
问题描述
我想知道为什么 Wikidata 内容协商会导致文件中有多个实体.比如浏览器中的P2044
I was wondering why Wikidata content negotiation results with more than one entities in the file. For instance P2044 in the browser
http://www.wikidata.org/entity/P2044.nt
还给我关于 Q6452016 实体的三元组:
gives me triples also about Q6452016 entity:
http://www.wikidata.org/entity/Q6452016
我希望关于 P2044 或文档元数据的三倍.
I would expect either triples about P2044 or document metadata.
提前致谢.
推荐答案
对于在 RDF 输出中生成的内容有很多选择(并且没有 标准 关于在 DESCRIBE
查询结果中返回的内容).
There are many options of what to produce in an RDF output (as well as there is no standard on what to return in a DESCRIBE
query result).
在维基数据中,您可以使用 这些 选项记录在 此处.另请参阅RDF 转储格式,了解维基数据数据模型.
In Wikidata, you can use one of these options documented here. See also RDF Dump Format about the Wikidata data model.
也许 http://www.wikidata.org/entity/P2044.ttl?flavor=dump 正是您所需要的.默认情况下,flavor
是 full
.
Perhaps http://www.wikidata.org/entity/P2044.ttl?flavor=dump is what you need. By default, flavor
is full
.
至于wd:Q6452016
,它是wd:P2044
的主题项目"(wdt:P1629
),i.e.一个非常密切相关的实体.人们甚至建议使用主题项目的标签作为缺少属性标签的后备.
As for wd:Q6452016
, it is a "subject item" (wdt:P1629
) for wd:P2044
, i. e. a very closely related entity. People even propose to use labels of subject items as fallbacks for missing labels of properties.
这篇关于维基数据内容协商的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!