Modules / Module 3

Module 03

Linked data

Publishing your data so that other projects can connect to it, with each claim's source attached.

Outline. The worked example and its code are being prepared; this page gives the question, the steps and their limits.

The research question

Starting point

I've built a dataset of two hundred prints. How do I publish it so that someone else's project can use it, and mine can use theirs?

Datasets usually refer to people, places and works by name, and every project spells names differently. Module 1 solved this within one project with a concordance. Linked data solves it between projects: each thing gets a shared identifier, so datasets connect even when their spellings differ.

The computational operation

Linked data replaces a name with an identifier: a web address that stands for the person, place or work.

Data is then written as three-part statements (triples): subject, property, object. For example: this print, was designed by, that person. Statements from many sources join up wherever they use the same identifier.

The Japanese material

International authority files cover Japanese material unevenly. Major designers have entries; block cutters, printers, minor publishers and most individual works do not.

Japanese infrastructures fill part of the gap: the ARC databases, Japan Search, and the National Diet Library's authority file. Each follows its own data model, so matching across them is always partial. Report what did not match as well as what did.

What we will do

Give the things in your dataset identifiers. Match them against existing authority files, and count what does not match. Write the relationships as statements. Then attach to each claim where it came from and who disputes it. Finally, decide where any new entries belong.

Step 1 — Give your things identifiers

Give each print, person and place in your dataset a stable web address. A useful identifier never changes, and someone intends to keep it working. Both are commitments about the future, so choose a web domain you will still control in ten years.

Step 2 — Match your names against Japanese authorities

Two Japanese institutions publish their data as linked data that you can query directly. Japan Search combines the holdings of many Japanese museums, libraries and archives (source to add: number of contributing databases). Web NDL Authorities publishes the National Diet Library's authority file of names.

The computational operation

Both answer queries in SPARQL, a query language for linked data. A SPARQL query describes a pattern of statements with gaps, and the database returns every combination of values that fills them.

An empty result can mean two things: the item is absent, or your pattern does not match how the data is structured. Check the second before concluding the first.

The authority file shows what the library treats as one person, and every written form of the name it has recorded.

How to read this

The variant forms are the most useful field. An authority record exists because a name has several written forms, and it records which forms the library has decided belong to one person: module 1's concordance, built by a national library.

Look also for links to international identifiers such as Wikidata. A record with both a Japanese and an international identifier connects across borders; a record with one stays within its own system.

Choice point

Which authority do you match against? Each covers a different part of the field.

Web NDL Authorities
Built for Japanese material, with variant forms and readings. Strong on people who published, thinner on block cutters.
Japan Search
Reaches museums, libraries, archives and universities at once. It standardises some values on the way in (see step 4).
ARC, Ritsumeikan
Built by print researchers: records publisher marks, seals and states. Less often linked outside Japan.
Wikidata
The widest reach, openly editable, and linked from most other datasets. Thin beyond the major names, with rules on what may be added (below).
VIAF, ULAN
Library and museum authorities with editorial review. Narrower, and built around Western conventions of authorship.

Match against more than one, and record each result separately, including the misses. The match rate measures how well an authority covers your material, and is often a key finding.

Before adding to Wikidata

A Wikidata item must meet at least one of three conditions (Wikidata: Notability): it links to a Wikimedia page, such as a Wikipedia article; it describes a clearly identifiable entity documented in serious, public sources; or other items need it to make their statements useful.

Major designers meet the first condition. A block cutter, a printer, a minor publisher or a single print usually needs the second or third. In practice, an external identifier such as an ARC record, an NDL authority or a published catalogue meets the second. Items without one are often proposed for deletion.

The rules are under discussion (source to add); check the current policy. For data outside the rules, Wikibase lets you run the same software as your own instance: no notability rule, but also no community and fewer incoming links.

Worked case: the notability rule

Apply the three conditions to the 103 Hokusai drawings for an unpublished encyclopaedia, acquired by the British Museum in 2020 (see module 2).

The set passes easily: it has an exhibition, a catalogue and a Wikipedia article.

Each drawing passes on the second condition, because the Museum's catalogue and a published book document it (Clark 2021). The same 103 sheets in a regional collection without a monograph might fail.

The block cutter has no entry to make: the book was never published, so no block cutter worked on it.

Notability measures how much has already been written about something. That follows the geography of scholarship as much as importance.

Step 3 — Write the statements

Express your data as statements, choosing a vocabulary: a published set of properties such as creator or dateCreated.

The Japanese material

A print has four makers: designer, block cutter, printer and publisher. A single creator field holds one of them, usually the designer, which repeats the cataloguing convention examined in module 2. Vocabularies that record roles, such as CIDOC-CRM, take more work and can record all four.

Choice point

Which vocabulary? Each decides what you can say.

schema.org
Used by Japan Search and read by search engines (schema.org). Made for describing things on the web, with one value per field.
CIDOC-CRM
Made by and for museums (CIDOC CRM). Organised around events: a production, with participants in distinct roles, at a time and place. More statements per claim, and it can record what happened.
CIDOC-CRM with CRMinf
An extension for argument (CRMinf): belief, inference, premise, and who holds which view on what grounds. It treats an assertion as something with an author (step 4).
IIIF plus your own fields
Enough where the images are central and the argument lives in prose. Others cannot query your own fields.

Step 4 — Publish each claim with its source

Most of what a dataset holds are claims with sources, and some are disputed. This step attaches to each claim who made it, on what basis, and who disagrees.

Start with what an aggregator does before you see its data. Japan Search standardises time, place and person on the way in, gives them identifiers, and links them to international hubs (source to add: Japan Search documentation). That makes the data searchable, and it is a large interpretive step taken on your behalf.

The Japanese material

Standardising time for early modern Japan means converting era names and reign years to one calendar. Standardising persons means deciding that two written forms of a name are one person. Modules 1 and 2 treat both as decisions; here they arrive already made.

Both the standardised value and the value the contributing institution supplied are usually in the data. Query both, so you can see where standardisation changed something.

How to read this

Common vocabularies make it easy to state a date and hard to state where it came from. Saying "this date comes from one printed catalogue, rests on an inference, and has been contested in print" takes deliberate modelling in every common schema. CIDOC-CRM can record it, with more statements per claim; schema.org has no clear place for it.

Published without its source, a claim looks like an observation to everyone downstream. That is how a date resting on one mid-century catalogue appears, unqualified, in a dozen records.

Worked case: what a record should carry

The British Museum drawings again. Their maker field changed from Katsushika Issai in a 2019 auction catalogue to Hokusai on acquisition in 2020, and their dating has since widened from 1829 to the 1820s–1840s (module 2).

A schema.org record keeps almost none of this: creator takes one value, with no date and no author. The seventy years in which the drawings were absent from any record has no field at all.

Where this has been worked out

ResearchSpace, built at the British Museum and released as open source, treats a research assertion as an object in its own right: made by someone, on a stated basis, which others can strengthen or weaken (ResearchSpace).

A running instance holds material close to this module. Late Hokusai brings together the artist's late work from the British Museum, the Metropolitan Museum and the Freer|Sackler, including the 103 drawings: module 2's comparison across institutions, built as linked data. It is a published version, fixed at its build date, which is also how this practice book publishes.

Its data model records the grounds of each assertion: direct observation, adopting someone else's belief, or inference from premises that are themselves recorded. The vocabulary is CIDOC-CRM with CRMinf. Reasoning is modelled as strengthening or weakening a hypothesis, which matches how an art-historical argument runs.

Read its model before designing your own source fields. Adopt the platform only if the argument is central to your project, since it means running a system as well as publishing a file.

Question

Open a drawing in Late Hokusai and note its address. Does that address return data to a program, or only a page to a person?

Show the answer

Test it; it takes two minutes and decides whether the address can be used as linked data.

Request the address asking for data (RDF) instead of a web page. Any tool that lets you set the Accept header will do. Compare the result with what the browser shows.

Some interfaces build the page in the browser, so a program following the link receives an empty page. Then the data exists, but its addresses cannot be used as linked data. Record what you find, with the date.

Question

Your dataset contains a date you believe is wrong. Do you publish it?

Show the answer

Yes, with its source and your objection attached. Then a later reader can follow the disagreement and decide.

Step 5 — Contribute what is missing

Steps 1 to 4 read and connect existing data. This step adds to a resource other people depend on. An entry you create circulates under your name, and others will copy it and cite it as a source.

The computational operation

Creating an item makes a new identifier that works immediately; community review comes afterwards.

The identifier keeps working, but its content can change: items are merged, split, revised and deleted. A merge leaves a redirect to an item that may differ from the one you cited. Record the date you linked.

The Japanese material

The entries you will want to add are those the field covers least: block cutters, printers, minor publishers, the poets in a kyōka anthology, single sheets. They are also the most likely to be challenged, because their evidence is often in Japanese-language scholarship and specialist databases. Attaching an ARC or NDL identifier is the most effective support.

Choice point

Where does a new entry go?

Wikidata
Free, linked and reused at once. Subject to the notability rule, editable by anyone, and outside your control once saved. For entities that meet the rule and that you want other projects to find.
Your own Wikibase
Your rules and your vocabulary, with no community and fewer incoming links, and a system to maintain. For material other resources will not accept, if you can keep it running.
A specialist authority
Proposing an entry to ARC, NDL or a subject register is slower, and the result has review behind it. For entities in a field that already has a keeper.
Your own published dataset
The quickest option and often the right one. A documented concordance with a DOI is a citable contribution that others can match against freely.
Before you create an entry

Search thoroughly. The entity may exist under another romanisation, or in Japanese script only. A duplicate splits the links that should meet.

Give a source for every statement. Items without external identifiers or cited sources are proposed for deletion.

Mark what is uncertain. Wikidata has ranks and qualifiers for this. Use them for a contested date.

Record what you did: which items you created, when, and from which sources, in your project's documentation.

Expect edits. If someone changes your entry wrongly, answer with sources on the discussion page.

Question

You have found a block cutter named in a colophon, absent from every authority file. Should you create a Wikidata item?

Show the answer

It depends on what the item would do. If it will carry statements about works that are themselves described (this person cut these blocks for that book), it meets the third condition and is useful.

If it is one name from one colophon, publish it in your own dataset with the colophon cited. It stays available for matching, carries its evidence, and waits for more.

What this cannot tell you

Use your own materials

  1. Create identifiers under a domain you own.
  2. Match against at least two authorities, one Japanese and one international, and record both results, including the misses.
  3. For every date and attribution, add a field saying who stated it and where. Even as free text in a spreadsheet, this is the most valuable column in the file.
  4. Publish the data, your concordance from module 1, and a note on what the collection leaves out.
  5. Before designing your own source fields, read how CRMinf models belief and inference.
What you should now be able to do

Sources

All sources are collected on the references page.

Status

Outline. The worked example and its code are being prepared; this page gives the question, the steps and their limits.