Modelling/Content uploads: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Modelling navigation}}
{{Modelling navigation}}
==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===
 
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
 
➡️ [[Modelling/Content uploads/Resource types|Guide to resource types]]
➡️ [[Modelling/Content uploads/Resource types|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:
Look at the following example, an upload of content from a museum, to see how we model the number and type of contributions:


{{Q|**Q22194}}**
'''{{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 30: 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===
{| class="wikitable"
|-
! Required !! Property !! Example value !! Notes
|-
| REQUIRED || {{P|P5}} || {{Q|Q22186}}|| Define that this is a batch upload.
|-
| 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 || <!-- 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 ||<!-- 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 ||<!-- file source --> {{P|P58}} || {{Q|Q21929}}|| Where the files or other data come from, like a particular museum, university, public agency...
|-
| || <!-- described att wikimedia page --> {{P|P11}} || ''wmse:Projekt:Fri musik på Wikipedia 2019/Global Metrics#Statens musikverk''|| Link to a Wikimedia page where the project is described, using an [https://en.wikipedia.org/wiki/Help:Interwiki_linking interwiki prefix].
|-
| || <!-- part of --> {{P|P17}} || {{Q|Q38}} || Typically, the project to which this upload belongs.
|-
| ||<!-- commonscat --> {{P|P37}} || ''Media contributed by the Museum of Gothenburg: 2021-10''|| The category containing the files that are in the focus of the upload.
|-
| ||<!-- phabricator --> {{P|P47}} || ''T2212112'' || ID of corresponding task in [https://phabricator.wikimedia.org/ Wikimedia's Phabricator]
|-
| ||<!--main subject -->{{P|P15}} ||  {{Q|Q22119}} || Relevant [[Modelling/Index_term|Index terms]] describing the theme of the upload.
|}
==SPARQL==
All content uploads:
<SPARQL tryit="1">
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]". }
}
</SPARQL>
[[Category:Documentation|C]]
[[Category:Documentation|C]]