Creating and editing libraries in Wikidata
Posted on Mon 19 February 2018 in Linked Open Data
Updated 2018-03-04: Added quantifiable properties per Philipp Zumstein
I originally created this guide to support the Wikimedia edit-a-thon at OLA Superconference 2018 that Stacy Allison-Cassin, Monica Fazekas, and I led (see also our Meetup page in Wikipedia). It seemed like teaching librarians how to describe libraries in Wikidata might be a good idea, as the subject would be intimately familiar, and there were only 85 Canadian libraries listed in Wikidata at the time according to this query.
In the course of my explorations, I found that libraries are described in many different ways in Wikidata, and decided to put forward a prescriptive approach that would help newcomers from going down too many ratholes. I'm hoping this will be helpful to the library community in general.
Start at https://wikidata.org/ and search for your library by name in the top-right search box.
If you don't find a match in the results, you must create a new Wikidata item to represent the library: see Adding a library to Wikidata.
If you find a match in the results, jump ahead to Editing a library in Wikidata.
Adding a library to Wikidata
If the library does not exist, you need to create a new Wikidata item.
- Select Create a new item from the left-hand menu.
- Enter the name of the library in the Label field; for example, "J.N. Desmarais Library". There can be multiple items with the same label in Wikidata; descriptions disambiguate the labels.
- Enter a brief description of the library in the Description field; for example, "main library for Laurentian University". Descriptions should:
- Be between two to twelve words
- Be in lower case (except for proper nouns)
- Should not begin with an article (a, an, the)
- Enter any other labels by which the library might be known in the Aliases field; for example, "Jean Noel Desmarais Library", "Laurentian University Library".
- Click CREATE to create the item.
Once you create the item, you can add labels, descriptions, and aliases in other languages by clicking Edit. Click Publish once you have made the necessary changes.
Editing a library in Wikidata
Add statements about the library. Click the + add statement link and a new row will be added to the item, with autocomplete for the property and value.
Property | Value |
---|---|
instance of | public library, academic library, college library, research library, library |
country | Canada |
official website | URL for the general website for the library--not the catalogue |
inception | Date the library was founded |
Adding a reference
When you add a statement, you should provide a reference for the claim. Click + add reference for the statement, and fill in the following properties:
Property | Value |
---|---|
stated in | Link to the Wikidata item for the journal, newspaper, or other media source. |
title | Title of the article |
reference URL | If the article is online, provide the complete URL |
publication date | Date the article was published |
retrieved | Date that you retrieved the article |
Hint: If you plan to use the same reference to support multiple statements, this gets laborious quickly. Enable Preferences ➡ Gadgets ➡ DuplicateReferences so that you can copy an existing reference in an item and insert it into other statements.
More library properties
Now that you know how to add a reference for a statement, you can continue adding properties to enrich the description of the library.
Location properties
Property | Value |
---|---|
coordinate location | You can enter coordinates in a variety of latitude/longitude forms.
If you do not know the coordinates of the library, try finding it in OpenStreetMap:
You can also try finding the coordinates via Google Maps through https://www.maps.ie/coordinates.html |
located at street address | Full street address, including postal code |
located in the administrative territorial entity | City or town |
phone number | Format: +1-416-555-5555 |
Format: mailto:example.user@example.com |
Quantifiable properties
Update 2018-03-04: Thanks to Philipp Zumstein for suggesting these properties!
Property | Value |
---|---|
collection or exhibition size | # of items in the collection |
visitors per year | # of people that come through the gates |
Linking properties
Property | Value |
---|---|
catalog | Link to the Wikidata item (instance of "online public access catalog") that describes the library catalogue |
image | Link to an image in Wikimedia Commons |
named after | Link to the Wikidata item for the library's namesake (if applicable) |
parent organization | If this library is one branch of a library network, link it to the Wikidata item for the parent system |
member of | Link the library to any organizations of which it is a member |
Identifier properties
Property | Value |
---|---|
International Standard Identifier for Libraries | The ISIL code for Canadian libraries is "CA-" followed by the LAC library symbol; for example, "CA-OSUL" |
Libraries.org ID | Numeric identifier found in the https://libraries.org directory; for example, 1144 |
VIAF ID | The library might be included as a Corporate Name |
Twitter username | If the library has a Twitter account... |
If the library has a Facebook account... | |
If the library has a Pinterest account... | |
Cage Match tag team ID | If your library is really into wrestling… Wait, what? |
Adding a catalogue
Some instances of library items in Wikidata use "described at URL" with a qualifier of "instance of: catalog" to link to their catalogues. However, this prevents the catalogue itself from being fully described, and prevents multiple libraries from linking to the same catalogue. Instead, create a new item for the catalogue, and link to it from your library item.
Create a new item with the label, description, and aliases for the library's catalogue.
Property | Value |
---|---|
instance of | online public access catalog |
official website | URL for the catalogue |
software engine | Identifies the software on which the catalogue runs |
operator | Link to the Wikidata item for the library |