Modelling/Content uploads

From MetaBase
Revision as of 11:27, 23 January 2024 by Alicia Fagerving (WMSE) (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Modeling content uploads

Content uploads are specific activities aimed at enriching the Wikimedia projects with material shared with content partners, such as GLAMs. They take place in a specific time frame, have a certain subject matter and target one or more Wikimedia projects.

Number and type of contributions

➡️ Guide to resource types

Look at the following example, an upload of content from a museum, to see how we model the number and type of contributions:

2021 images in 2021 ‒ upload from the Röhsska Museum (Q22194)

The reason why we use both namespace (P56) and resource type (P57) is that the File namespace on Wikimedia Commons can host different types of files: audio recordings, photos, videos, etc. Sometimes it’s useful to know the breakdown, not only how many files were uploaded, but also what kinds.

Multiple Wikimedia platforms affected

It is possible for a content upload to target multiple Wikimedia projects.

For example: You create Wikidata items for a set of museum objects and upload their photos to Wikimedia Commons.

In this case, the property number of affected content pages (P53) will have two statements, one for Wikidata and one for Wikimedia Commons.

Example: WiR upload, Swedish Performing Arts Agency (Q22300)

Properties used

Required Property Example value Notes
REQUIRED instance of (P5) batch upload (Q22186) Define that this is a batch upload.
REQUIRED Wikimedia platform(s) affected (P13) Wikimedia Commons (Q84) The Wikimedia projects that were edited.
REQUIRED number of affected content pages (P53) 543 How many content pages were edited totally. See the section Number and type of contributions for details.
REQUIRED resource type (P57) image (Q22190) ➡️ Type of resources uploaded or edited.
REQUIRED start time (P6) 2020-06 When the upload started. You can be more or less precise depending on the data you have.
REQUIRED end time (P7) 2020-08 When the upload ended.
REQUIRED if no specific start/end dates point in time (P23) 2018 If no specific start and end dates can be defined, try to at least specify a general time period
REQUIRED source of uploaded material (P58) Röhsska Museum (Q21929) Where the files or other data come from, like a particular museum, university, public agency...
described at Wikimedia-page (P11) wmse:Projekt:Fri musik på Wikipedia 2019/Global Metrics#Statens musikverk Link to a Wikimedia page where the project is described, using an interwiki prefix.
part of (P17) GLAM 2022 (Q38) Typically, the project to which this upload belongs.
Commons category (P37) Media contributed by the Museum of Gothenburg: 2021-10 The category containing the files that are in the focus of the upload.
Phabricator task (P47) T2212112 ID of corresponding task in Wikimedia's Phabricator
main subject (P15) archaeology (Q22119) Relevant Index terms describing the theme of the upload.

SPARQL

All content uploads:

PREFIX wb: <https://metabase.wikibase.cloud/entity/>
PREFIX wbt: <https://metabase.wikibase.cloud/prop/direct/>

SELECT ?item ?itemLabel
WHERE
{
?item wbt:P5 wb:Q22186 .
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,sv,[AUTO_LANGUAGE]". }
}

Try it!