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).

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 sameAs 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 if no sameAs on Wikidata (P1) location (P27) Stockholm (Q78) Should not be more granular than town level
main subject (P15) public art (Q39)
speaker (P33) Josefine Hellroth Larsson (Q85) Applicable to lecture (Q65) and similar; the person (passively) delivering the content.
manager / leader (P32) Josefine Hellroth Larsson (Q85) Applicable to workshop (Q37) and similar; the person (actively) leading / facilitating the activity.
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
described at Wikimedia-page (P11) sv:Wikipedia:Skrivstuga/Kvinnor,_arkitektur_och_design
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
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
P....... (P.......) ....... ........
P....... (P.......) ....... ........
P....... (P.......) ....... ........
P....... (P.......) ....... ........
P....... (P.......) ....... ........
P....... (P.......) ....... ........
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.
P....... (P.......) ....... ........
P....... (P.......) ....... ........
P....... (P.......) ....... ........
Outreach Dashboard URL (P48) ... ........

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