Wikidata for librarians

Dan Scott, Laurentian University / coffeecode.net

CAML 2017 preconference

Details

Slides: stuff.coffeecode.net/2017/wikidata_workshop

Notes: stuff.coffeecode.net/2017/wikidata_workshop/notes.html

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License

Objectives

Understand Wikidata's data model

Understand Wikidata's role

Embrace editing

Create notable entities

Share your finely honed skills

Overview

Log in

Same user name and password across all Wikimedia projects

Sandbox

Use the Wikidata Sandbox page for practice editing

Also recommended: Wikidata:Tours

Licensing

Creative Commons Public Domain Dedication (CC0) license

Public domain, or as close as possible

Impact

Linked open data: great in theory…

Proof of concept: Laurentian University catalogue

By Charlie Kritschmar (WMDE) - Own work, CC0, Link

Data model

Entities: people, places, things (including concepts)

Statements: properties with values

Notability criteria: one of

Notable, via publicly available references

Links to a Wiki* page

Fulfills a structural need

Labels, aliases, and descriptions

Q####: machine-readable name and URL

Humans get one label and description per entity per language

Multiple aliases per entity

LabelDescriptionAliases
BonoLead singer for U2Paul David Hewson

Missing labels

Display falls back to Q###

No references needed for edits to label/description/aliases

Grandparent class of guitar (Q6607)

Maybe "stringed instrument: A musical instrument that generates tones by one or more strings stretched between two points"

Subclasses and instances

Subclasses: refined classifications

Instances: concrete members of a subclass

Music genres

SQID allows browsing of subclass / instance relationships

Music genre (Q188451)

1,250 instances, 16 subclasses

A musician's statements

Buffy Sainte-Marie (Q467027)

instance of

genre (multiple values)

image (Wikimedia only)

date of birth (date constraint)

spouse (qualified)

Add a qualifier

Buffy Sainte-Marie (Q467027): missing a date for Governor General’s Performing Arts Award

Referenced in a 2010 Toronto Star article

Let's fix that!

Reference pieces

Stated in

Reference URL

Title

Publication date

Retrieved

Adding references in bulk

Enable Preferences -> Gadgets -> DuplicateReferences

  1. Add the reference once
  2. Reload the page
  3. Open a reference
  4. Click copy
  5. Click insert reference

Authority control

Check out Buffy Sainte-Marie's Identifiers:

Well-known: VIAF, ISNI, LC Authorities

Music: AllMusic, Discogs, MusicBrainz, Songkick

Social media: Twitter, Facebook, MySpace

… and many more to build out the network

Authority control: Wikipedia

Check out Buffy Sainte-Marie's Wikipedia page

See Authority control in External links

Edit the page to see the {{Authority control}} macro

Musician entities

genre (P136) captures the music genre(s) (Q188451) for the band, individual, or event (SQID)

occupation (P106) = musician (Q639669) or one of its subclasses (SQID)

instrument (P1303) = musical instrument (Q34379) or one of its subclasses (SQID)

Band entities

instance of = band (Q215380)

Band members are represented via has part (P527), and you can qualify each statement with start time (P580) and end time (P582) to reflect when members joined or left the band

inception (P571) is the when the band began

Music festival classes

Credit due to Eurovision Song Contest!

Festival class: Northern Lights Festival Boréal

Instance of both:

Music festival instances

Instance of a specific music festival

Series instances: Northern Lights Festival Boréal 2016

edition number (P393) indicates the festival edition

Link between editions with follows (P155) and followed by (P156)

participant (P710) statements link to performers

Querying Wikidata with SPARQL

Intro to SPARQL and the Wikidata Query Service

Details

Slides: stuff.coffeecode.net/2017/wikidata_workshop

Notes: stuff.coffeecode.net/2017/wikidata_workshop/notes.html

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License