Modelling/Events and activities

From MetaBase
Jump to navigation Jump to search


Modelling an event

Examples of types of activities and events: workshop (Q37), lecture (Q65), conference (Q42).

Some particular event considerations

Conferences

EXAMPLE: GLAM Wiki 2023 (Q22660)

conference (Q42), consisting of many different kinds of sessions and participants, are a special type of event. See a separate modeling page for them.

Campaigns

campaign (Q22217) is a common type of activity organized by Wikimedians. For example WikiGap 2021 (Q22430) or Wiki Loves Monuments 2023 in Italy (Q22600). A campaign takes place within a particular, often longer, time frame, and can include parts such as edit-a-thon (Q41), seminar (Q61) or competition (Q22295). Those parts are linked using has part(s) (P35), and in reverse, part of (P17).

Sometimes a campaign will have several such parts, such as WikiGap 2021 in Sweden (Q22508), where several edit-a-thons are included under has part(s) (P35); sometimes only one.

For example Wiki Loves Monuments 2019 in Sweden (Q22623), which has one part under it, Wiki Loves Monuments 2019 in Sweden ‒ contest (Q22384). So realistically, we can think of them as one and the same.

But it is possible to imagine a national Wiki Loves Monuments campaign that also encompasses edit-a-thons, seminars, etc.

For this reason it is preferable to always model campaigns and their constituent parts this way, even when there's only one constituent part. This makes it easier to query the data and remember one data model to use.

Online/offline events

It is valuable to indicate whether an event took place physically or was online (or hybrid). That's why the item should have two instance of (P5), one for the type of the event (conference (Q42), edit-a-thon (Q41)...) and one for how it was conducted (see list of possibilities in table below).

Properties used

Required Property Example value Notes
IF EXISTS same as on Wikidata (P1) Q123
REQUIRED instance of (P5) (describing the type of event) workshop (Q37) Should be a subclass of event (Q40). See all available.
REQUIRED instance of (P5) (describing how the event is held) hybrid event (Q79) Should be one of:
REQUIRED point in time (P23) 2022-04-31 When the event took place
REQUIRED organizer (P14) Wikimedia Sverige (Q9) Organization or person responsible for organizing the event
REQUIRED FOR PHYSICAL EVENTS if no same as on Wikidata (P1) location (P27) Stockholm (Q78) Should not be more granular than town level
REQUIRED language used (P52) English (Q32) The language in which the event was held
REQUIRED for presentation (Q48) and its subclasses speaker (P33) Josefine Hellroth Larsson (Q85) Applicable to lecture (Q65) and similar; the person (passively) delivering the content.
REQUIRED for workshop (Q37) manager / leader (P32) Josefine Hellroth Larsson (Q85) Applicable to workshop (Q37) and similar; the person (actively) leading / facilitating the activity.
main subject (P15) public art (Q39)
part of (P17) GLAM Wiki 2023 (Q22660) If the event is part of a larger one, eg. a conference.
has part(s) (P35) Open Refine Wikimedia Commons training session (Q22697) If the event includes sub-events with their own items.
image (P26) Wikimedia Sveriges årsmöte, 2022-04-23, 05.jpg Filename of a relevant illustration on Wikimedia Commons
video (P31) Wikimedia Sveriges årsmöte 2022.webm Filename of the video recording of the event on Wikimedia Commons
YouTube video ID (P59) oPib9P3f4b0 ID of the video recording on Youtube
described at Wikimedia-page (P11) sv:Wikipedia:Skrivstuga/Kvinnor,_arkitektur_och_design Link to a Wikimedia page where the project is described, using an interwiki prefix.
described at URL (P12) https://www.kbr.be/en/agenda/linked-data-and-international-standards-for-cultural-heritage/ URL of website (not a Wikimedia wiki) with a description of the event
Commons category (P37) Wikimedia Sverige - årsmöte 2023 Name of category containing media files showing the event itself
uses (P43) Q21967 Something that the event uses, e.g. a slide deck
Phabricator task (P47) T12345 ID of corresponding task in Wikimedia's Phabricator
relevant notes at URL (P51) https://se.wikimedia.org/wiki/M%C3%B6tesprotokoll/%C3%85rsm%C3%B6tesprotokoll_2023-04-22 URL of notes relevant to the event, such as minutes from a board meeting. The qualifier applies to part (P50) can be used to specify the nature of the notes, eg. minutes (Q57)
duration (P61) 45 min. How long the event took
Event outcomes
number of participants (P28) 13
Wikimedia platform(s) affected (P13) Swedish Wikipedia (Q26) Applicable to edit-a-thon (Q41) and other types of events where editing on the Wikimedia platforms takes place. Different from main subject (P15) when the platform is not the focus of the event (like in the case of a lecture about Wikipedia itself) but rather a tool to run the activity.
Outreach Dashboard (P48) WikiProject_Sweden/Kopplingssprint_21_augusti_2022 ID of the relevant entry on the Wikimedia Outreach Dashboard

SPARQL

All events, their dates and locations:

PREFIX wb: <https://metabase.wikibase.cloud/entity/>
PREFIX wbt: <https://metabase.wikibase.cloud/prop/direct/>
SELECT DISTINCT ?item ?itemLabel ?where ?whereLabel ?when 
WHERE
{
?item wbt:P5/wbt:P4* wb:Q40 .
OPTIONAL {?item wbt:P23 ?when}
OPTIONAL {?item wbt:P27 ?where}
SERVICE wikibase:label { bd:serviceParam wikibase:language "sv,en". }
}

Try it!


See also