Search code examples
rdfwikidatacontent-negotiation

Wikidata content negotiation


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.


Solution

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