Modelling/Content uploads: Difference between revisions
No edit summary |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
Look at the following example, an upload of content from a museum, to see how we model the number and type of contributions: | Look at the following example, an upload of content from a museum, to see how we model the number and type of contributions: | ||
{{Q| | '''{{Q|Q22194}}''' | ||
* {{P|P53}} — how many content pages were created or improved. The details are described with qualifiers: | * {{P|P53}} — how many content pages were created or improved. The details are described with qualifiers: | ||
** {{P|P56}} — which namespace was affected… | ** {{P|P56}} — which namespace was affected… | ||
** {{P|P13}} — in which Wikimedia project… | ** {{P|P13}} — in which Wikimedia project… | ||
** {{P|P57}} — with what [[Modelling/Content uploads/Resource types|type of resources]]. | ** {{P|P57}} — with what [[Modelling/Content uploads/Resource types|type of resources]]. | ||
The reason why we use both {{P|P56}} and {{P|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. | The reason why we use both {{P|P56}} and {{P|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 | ===Multiple Wikimedia platforms affected=== | ||
It is possible for a content upload to target multiple Wikimedia projects. | It is possible for a content upload to target multiple Wikimedia projects. | ||
Line 27: | Line 24: | ||
In this case, the property {{P|P53}} will have two statements, one for Wikidata and one for Wikimedia Commons. | In this case, the property {{P|P53}} will have two statements, one for Wikidata and one for Wikimedia Commons. | ||
'''Example:''' {{Q|Q22300}} | |||
===Properties used=== | ===Properties used=== | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 34: | Line 34: | ||
| REQUIRED || {{P|P5}} || {{Q|Q22186}}|| Define that this is a batch upload. | | REQUIRED || {{P|P5}} || {{Q|Q22186}}|| Define that this is a batch upload. | ||
|- | |- | ||
| REQUIRED || <!-- affected platforms --> | | REQUIRED || <!-- affected platforms --> {{P|P13}} || {{Q|Q84}} || The Wikimedia projects that were edited. | ||
|- | |- | ||
| REQUIRED || <!-- number of pages --> {{P|P53}} ||543|| How many content pages were edited totally. See the section '''Number and type of contributions''' for details. | | REQUIRED || <!-- number of pages --> {{P|P53}} ||543|| How many content pages were edited totally. See the section '''Number and type of contributions''' for details. | ||
|- | |- | ||
| REQUIRED || <!-- res type -- | | REQUIRED || <!-- res type --> {{P|P57}} || {{Q|Q22190}} || ➡️ [[Modelling/Content_uploads/Resource_types|Type of resources]] uploaded or edited. | ||
|- | |- | ||
| REQUIRED ||<!-- start time --> {{P|P6}} || ''2020-06''|| When the upload started. You can be more or less precise depending on the data you have. | | REQUIRED ||<!-- start time --> {{P|P6}} || ''2020-06''|| When the upload started. You can be more or less precise depending on the data you have. | ||
Line 44: | Line 44: | ||
| REQUIRED ||<!-- end time --> {{P|P7}} || ''2020-08''|| When the upload ended. | | REQUIRED ||<!-- end time --> {{P|P7}} || ''2020-08''|| When the upload ended. | ||
|- | |- | ||
| REQUIRED if no specific start/end dates || <! -- point in time --> {{P|P23}} || ''2018'' || If no specific start and end dates can be defined, try to at least specify a general time period | | REQUIRED if no specific start/end dates || <!-- point in time --> {{P|P23}} || ''2018'' || If no specific start and end dates can be defined, try to at least specify a general time period | ||
|- | |- | ||
| REQUIRED ||<!-- file source --> {{P|P58}} || {{Q|Q21929}}|| Where the files or other data come from, like a particular museum, university, public agency... | | REQUIRED ||<!-- file source --> {{P|P58}} || {{Q|Q21929}}|| Where the files or other data come from, like a particular museum, university, public agency... |
Latest revision as of 11:27, 23 January 2024
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
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)
- number of affected content pages (P53) — how many content pages were created or improved. The details are described with qualifiers:
- namespace (P56) — which namespace was affected…
- Wikimedia platform(s) affected (P13) — in which Wikimedia project…
- resource type (P57) — with what type of resources.
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]". }
}