Skip to content

Latest commit

 

History

History
49 lines (37 loc) · 1.89 KB

README.md

File metadata and controls

49 lines (37 loc) · 1.89 KB

Signe Newspaper Data 2 Libris XL

Setup

Important: install ODBC Driver 18 for SQL Server! See: https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server?view=sql-server-ver15.

(The use of --system-site-packages when creating the virtualenv below is needed if you want/have to install pyodbc using your distro's package manager.)

$ python3 -m venv --system-site-packages .venv
$ source .venv/bin/activate
$ pip install -r requirements.txt
$ cp signe.ini.in signe.ini # edit for correct credentials!

Extract & Transform

$ python -m signedata signe.ini

Load

The supplied $BUILDDIR now contains jsonl files with records that XL can load.

About The Mappings

This data maps to Libris base data (mainly id.kb.se terms). Some of these have been set up specifically to support this Signe data, namely frequencies and a-regions.

(If these are specific to Signe only, we have a bigger coordination problem.)

Temporality

This data uses a qualification model of time, meaning that we use specific qualified relations to capture relations restricted to a certain date range.

This has a precursor in the existing use of provisionActivity and structured values, as well as following the rationale in the accepted BF 2.1 Proposal: pubFrequency/PubFrequency for recording complex frequency information.

Furthermore, as these qualifications relate to the instances of the serial that were issued during a given period, we use the specific firstIssue and lastIssue properties throughout to clearly reflect that.

Particularly, this can be used, e.g. in an application consuming this data, as an indication that the qualified data applies to any issue (any entity linking to a serial using isIssueOf) which has a date (of publication) that falls within the qualified date range.