Commons:Structured data

From Wikimedia Commons, the free media repository
(Redirected from Commons:SDC)
Jump to navigation Jump to search

Shortcut: COM:SDC

Other languages:
Bahasa Indonesia • ‎Deutsch • ‎English • ‎Türkçe • ‎dansk • ‎español • ‎euskara • ‎français • ‎galego • ‎italiano • ‎magyar • ‎norsk bokmål • ‎polski • ‎português do Brasil • ‎čeština • ‎беларуская (тарашкевіца)‎ • ‎русский • ‎српски / srpski • ‎українська • ‎العربية • ‎বাংলা • ‎中文 • ‎日本語

About structured data

Structured data on Wikimedia Commons is multilingual information about a media file that can be understood by humans, with enough consistency that it can also be uniformly processed by machines. Files on Wikimedia Commons can be described with multilingual concepts from Wikidata, Wikimedia's knowledge base.

Animation showing principle behind multilingual structured data.gif

Software development in 2017-19 was funded by the Alfred P. Sloan Foundation.

The basics

Each media file page on Wikimedia Commons has a 'File information' and 'Structured data' tab.

File information and Structured data tabs for Structured Data on Commons.png

Add multilingual captions to files

A simple example. Dietmar Rabich / Wikimedia Commons / “Würfelzucker -- 2018 -- 3564” / CC BY-SA 4.0

We look at a simple example of a featured image on Wikimedia Commons: Würfelzucker (2018), CC BY-SA 4.0, by Dietmar Rabich.

Under the File information tab, you can add file captions in many languages: short, factual descriptions about the file, without hyperlinks or wikitext. These file captions make the file easier to find in search, in a structured, multilingual way for both humans and software programs alike.
More information: see Commons:File captions.

Screenshot of captions of a photograph of sugar cubes 01.png

What is depicted (shown) in a file?

Under the Structured data tab, you can indicate what is portrayed ("depicted") in the file. In this case: twelve white sugar cubes. The screenshot below is animated, demonstrating how the descriptive elements are multilingual. You can see structured data in a different language by switching your interface language setting.
More information: see Commons:Depicts.

Animation showing multilingual structured data Depicts statement.gif

Other statements about a file

Also under the Structured data tab, you can add other bits of descriptive information about the file. This example describes the file's license, creator and quality assessment. All these data elements are properties and items re-used from Wikidata.
More information: see Commons:Statements.

Screenshot of various structured data statements of a photograph of sugar cubes.png

Get in touch

How you can help

Tools to add structured data to files

ISA Structured Data logo.png

ISA is an award-winning tool to help beginners to add Depicts statements and multilingual captions to files. Anyone can create and organize small campaigns and competitions with ISA. Read more.

AC/DC ("Add to Commons, Descriptive Claims") is a Wikimedia Commons gadget to help with batch editing. It supports Depicts and other statements, including qualifiers. You can activate AC/DC in your user preferences. Read more.

SDC is a user script similar to Cat-a-lot that allows to add a limited number of structured data statements to files in a category. Read more.

Info for developers

Development of Structured Data on Commons is tracked on Phabricator.

Structured Data on Wikimedia Commons is powered by the Wikibase software. Data can be accessed via API; see https://www.mediawiki.org/wiki/Wikibase/API for documentation.

Frequently Asked Questions

What kind of structured data should I add? How should I describe a certain file in structured data?

For inspiration and examples, please check the Modeling pages. Feel free to ask questions there and contribute to the documentation yourself. The data model of Structured Data on Commons is a work in progress and is designed by the Wikimedia Commons community.

How can I find files that already have structured data?

You can use the Wikimedia Commons search function to find files with structured data. A few examples:

How can I add structured data to many files at once?

You can use the tools mentioned on this page; see above.

Other questions?

Check the Frequently Asked Questions page.