Wikidata content negotiation

瘦欲@ 提交于 2020-01-22 00:49:38

问题


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

gives me triples also about Q6452016 entity:

http://www.wikidata.org/entity/Q6452016

I would expect either triples about P2044 or document metadata.

Thanks in advance.


回答1:


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).

In Wikidata, you can use one of these options documented here. See also RDF Dump Format about the Wikidata data model.

Perhaps http://www.wikidata.org/entity/P2044.ttl?flavor=dump is what you need. By default, flavor is full.


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.



来源:https://stackoverflow.com/questions/48359335/wikidata-content-negotiation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!