Commons:Wikidata

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Wikidata logo
Wikidata logo

Wikidata is a Wikimedia project to create an open and collaborative database. It is for data what Wikimedia Commons is for media files: it centralizes access and management of structured data, such as interwiki references and statistical information. Wikidata contains data in all languages for which there are Wikimedia projects. It is also deployed on Wikimedia Commons (since September 2013).

For more information, see Short introduction to Wikidata.

Wikimedia Commons on Wikidata[edit]

Information about Commons is stored in Wikidata in two forms: as sitelinks, and as statements on items.

Sitelinks[edit]

Sitelinks identify a 1-to-1 mapping between Wiki-pages and items on Wikidata. They are added and edited in the right side (large screen) or lower part (narrow screen) of the Wikidata page for an item.

Only Commons galleries and Commons categories should be sitelinked from Wikidata items.

Statements[edit]

Information about Commons can be stored on Wikidata using statements. Statements can be read by templates and programs which access Wikidata. Statements can be added and edited in the left side of the Wikidata page for an item. Some statement examples are presented below:

Statements pointing to Commons pages[edit]

Title ID Data type Description
Commons category P373 String name of the Commons category page containing files related to this article-like or category-like item
Commons gallery P935 String name of the Commons gallery page containing files related to this article-like or category-like item
Commons Creator page P1472 String name of the Commons creator template containing information related to this article-like item for a person
Commons institution template P1612 String name of the Commons institution template containing information related to this article-like item for an organisation
Commons maps category P3722 String name of the Wikimedia Commons category specifically for maps or plans of this item

Statements pointing to media on Commons[edit]

Title ID Data type Description
image P18 Commons media file an image depicting the subject (person, species, etc.); more specific properties should be used when more description is required, e.g. signature (P109), logo image (P154), locator map image (P242) and detail map (P1621)
video P10 Commons media file relevant video
audio P51 Commons media file a relevant sound
pronunciation audio P443 Commons media file audio media file on Wikimedia Commons with pronunciation
recording of the subject's voice P990 Commons media file audio file representing the voice of a person or character
scan file P996 Commons media file file on Wikimedia Commons related to the content of the source/book/report
geoshape P3896 Geographic shape geographic data from Wikimedia Commons
3D model P4896 Commons media file representation of any three-dimensional surface of an object

For a full list of properties with data type "commonsMedia" see list of properties on Wikidata, and sort by data type. Or see wikidata: Special:ListProperties?datatype=commonsMedia.

Properties relating article-like and category-like items[edit]

Title ID Data type Description
topic's main category P910 Item identifier for the category-like item that contains links to the category on Commons and the category on each Wikipedia which is considered the main category for the concept
category's main topic P301 Item identifier for the article-like item that contains links to the article on each Wikipedia which is considered the main article for the category. The identified item will also contain the link(s) to any related gallery page(s) on Commons.

Wikidata on Commons[edit]

Links[edit]