Modelling/Projects: Difference between revisions
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
The modelling described here is based on how {{Q|Q9}} structures their projects. An example of such a project is {{Q|Q14}}. Note the WMSE-specific properties {{P|P9}} and {{P|10}}. | The modelling described here is based on how {{Q|Q9}} structures their projects. An example of such a project is {{Q|Q14}}. Note the WMSE-specific properties {{P|P9}} and {{P|10}}. | ||
===Projects and their parts=== | |||
Current practice for reasoning around {{Q|Q2}} and their parts, given using {{P|P35}}: | |||
A {{Q|Q2}} is a type of {{Q|Q8}}. Thus, any items that are given as their parts, should also be some type of {{Q|Q8}}. This '''excludes''' other related things like documents published in the scope of the project. | |||
A typical example will be a {{Q|Q48}}, {{Q|Q37}} or {{Q|Q41}} organized within the project. | |||
See for example: | |||
➡️ {{Q|Q21932}} has three events as its parts: {{Q|Q21931}}, {{Q|Q21928}}, {{Q|Q21924}}. | |||
===Properties used=== | ===Properties used=== | ||
Line 48: | Line 59: | ||
| ''Wikidata för auktoritetskontroll 2020'' (sv) | | ''Wikidata för auktoritetskontroll 2020'' (sv) | ||
| The official name of the project and its language. This is to distinguish the official names from the labels, which can be translated to any language at any point. | | The official name of the project and its language. This is to distinguish the official names from the labels, which can be translated to any language at any point. | ||
|- | |||
| REQUIRED | |||
| {{Q|P14}} | |||
| {{Q|Q9}} | |||
| Who organized the project. Could be a formal organization, like a Wikimedia chapter, a self-organized group or an individual. | |||
|- | |- | ||
| | | | ||
Line 63: | Line 79: | ||
| | | | ||
| URL of a non-Wikimedia website where the project is described. | | URL of a non-Wikimedia website where the project is described. | ||
|- | |- | ||
| | | | ||
Line 87: | Line 98: | ||
| {{P|35}} | | {{P|35}} | ||
| {{Q|Q21974}} | | {{Q|Q21974}} | ||
| Only items that are {{Q|Q8}} (or subclasses thereof) should be used as values here. | | '''Only '''items that are {{Q|Q8}} (or subclasses thereof) should be used as values here. | ||
|- | |- | ||
|style="text-align: center; background-color: #FDF0FF;" colspan="4" |Additional properties for '''Wikimedia Sverige''' projects | |style="text-align: center; background-color: #FDF0FF;" colspan="4" |Additional properties for '''Wikimedia Sverige''' projects |
Latest revision as of 06:20, 31 January 2024
Modeling a project
This page describes how a project (Q2) can be modelled on this Wikibase instance.
A project could be:
- a formal one officially implemented by an organization (a Wikimedia chapter, a GLAM, or other)
- an informal one implemented by a self-organized group (such as participants in a Wikiproject), or an individual (a volunteer Wikimedian)
The modelling described here is based on how Wikimedia Sverige (Q9) structures their projects. An example of such a project is Wikidata for authority control (Q14). Note the WMSE-specific properties WMSE project ID (P9) and sorted under programmatic area (P10).
Projects and their parts
Current practice for reasoning around project (Q2) and their parts, given using has part(s) (P35):
A project (Q2) is a type of activity (Q8). Thus, any items that are given as their parts, should also be some type of activity (Q8). This excludes other related things like documents published in the scope of the project.
A typical example will be a presentation (Q48), workshop (Q37) or edit-a-thon (Q41) organized within the project.
See for example: ➡️ Gothenburg museums – 2021 images year 2021 (Q21932) has three events as its parts: Q21931, Q21928, Q21924.
Properties used
Required | Property | Example value | Notes |
---|---|---|---|
General project properties | |||
REQUIRED | instance of (P5) | project (Q2) | |
IF EXISTS | same as on Wikidata (P1) | Q98809073 | If the project has a Wikidata item, it can be linked here. |
manager / leader (P32) | André Costa (Q30) | project manager; person responsible for the project | |
REQUIRED if no same as on Wikidata (P1) | start time (P6) | 2020-02-01 | When the project starts – a full date or a year/year-month. |
end time (P7) | 2021-09-01 | When the project ends – a full date or a year/year-month. | |
REQUIRED if no same as on Wikidata (P1) | title (P8) | Wikidata för auktoritetskontroll 2020 (sv) | The official name of the project and its language. This is to distinguish the official names from the labels, which can be translated to any language at any point. |
REQUIRED | organizer (P14) | Wikimedia Sverige (Q9) | Who organized the project. Could be a formal organization, like a Wikimedia chapter, a self-organized group or an individual. |
main subject (P15) | museum collection (Q18) | Keywords to identify the focus areas of the project. | |
described at Wikimedia-page (P11) | wmse:Projekt:Stöd för innehållspartnerskap 2021 | Link to a Wikimedia page where the project is described, using an interwiki prefix. | |
described at URL (P12) | URL of a non-Wikimedia website where the project is described. | ||
follows (P24) | Strategic Inclusion of Library Data in Wikidata 2018 (Q34) | A project can be part of series, e.g. an annual project that a Wikimedia chapter does every year. | |
followed by (P25) | Strategic Inclusion of Library Data in Wikidata 2019 (Q33) | ||
final report (P54) | Wikidata för genealogi 2021 ‒ final report (Q22177) | The item of the final report of this project. | |
has part(s) (P35) | LD4 Conference 2021 ‒ presentation by WMSE (Q21974) | Only items that are activity (Q8) (or subclasses thereof) should be used as values here. | |
Additional properties for Wikimedia Sverige projects | |||
REQUIRED | WMSE project ID (P9) | 123456 | Internal code used by Wikimedia Sverige to uniquely identify their projects. |
REQUIRED | sorted under programmatic area (P10) | WMSE-Access (Q7) | At Wikimedia Sverige, each project belongs to one of the four thematic areas (WMSE-Access (Q7), WMSE-Enabling (Q4), WMSE-Community (Q5), WMSE-Use (Q6)). |
SPARQL
Query to find all projects and more information about them:
PREFIX wd: <https://metabase.wikibase.cloud/entity/>
PREFIX wdt: <https://metabase.wikibase.cloud/prop/direct/>
SELECT ?item ?itemLabel ?start ?end (GROUP_CONCAT(DISTINCT ?mainsubjectLabel; SEPARATOR = ", ") AS ?topics) (GROUP_CONCAT(DISTINCT ?organizerLabel; SEPARATOR = ", ") AS ?organizers)
WHERE
{
?item wdt:P5 wd:Q2 .
OPTIONAL { ?item wdt:P6 ?start.}
OPTIONAL { ?item wdt:P7 ?end.}
OPTIONAL { ?item wdt:P15 ?mainsubject.}
OPTIONAL { ?item wdt:P14 ?organizer.}
SERVICE wikibase:label {
bd:serviceParam wikibase:language "sv".
?item rdfs:label ?itemLabel.
?mainsubject rdfs:label ?mainsubjectLabel.
?organizer rdfs:label ?organizerLabel
}
}
GROUP BY ?item ?itemLabel ?start ?end
ORDER BY ?itemLabel
See also
- Generic project entity schema and Cradle
- Wikimedia Sverige project entity schema and Cradle