Monday, August 31, 2020

First pass at mapping Nomisma.org to Linked Art JSON-LD

I have made some updates to both Numishare and Nomisma.org's back-ends to facilitate improved and more consistent content negotiation. I have applied a Content-Language header to the response for coin/type pages in Numishare, based on whether the language passed via request parameter (?lang) or content negotiation by the browser settings (Accept-Language) is present within the Numishare translations. 

More importantly, though, is that the Link header has been added into the requests for coin/type URIs in Numishare (as well as the browse page, because a user can request the Atom XML or untransformed Solr XML via content negotiation). The Link headers have also been applied to the URI for any concept or concept scheme in Nomisma.org. 

This follows examples established W3C Content Negotiation by Profile draft.

A `curl -I` of a URI includes a a Link to itself as a text/html resource with rel="canonical", but it will also include a list of other comma separated  rel="alternate" resources found at the same URI, but with an array of acceptable content types (different serializations of RDF, the NUDS/XML document, KML, and/or GeoJSON) and, in some cases, an additional profile URI. 

 

Requesting headers for http://nomisma.org/id/rome

For most serializations of RDF that are available (RDF/XML, Turtle, and JSON-LD), the profile URI is set to http://nomisma.org/ontology#, to reflect the Nomisma data model for coins, types, and SKOS concepts. Another JSON-LD serialization is available in the Linked Art profile, https://linked.art/ns/v1/linked-art.json. It is now possible to request this profile for a Nomisma concept through content negotiation, e.g.:

curl -H "Accept: application/ld+json;profile=\"https://linked.art/ns/v1/linked-art.json\""
    http://nomisma.org/id/rome


Content negotiation was already possible in Numishare, but now the Link headers indicate to a script or robot that additional content types and profiles are available for consumption.

The Nomisma.org Linked Art JSON-LD follows the spec for People and Organizations (including dynasties) and Places. For other types of concepts in Nomisma, they are defined generally as crm:E55_Type, but are not distinguished further by material, denomination, object type, etc. We will implement these classifications as they are documented in the Linked Art specification. Here's a representation of Seleucus I according to this model: https://gist.github.com/ewg118/8ccab36087a42b71ef15ece7b160f09a. This includes the preferred label in English, the English definition, matching URIs, and memberships in the Seleucid Empire and Seleucid Dynasty. A further conneg request of the latter two URIs include further context about those organizations, including the formation and dissolution dates.

In theory, a parser capable of reading Linked Art JSON-LD for a Human Made Object (for example, a coin in our collection) can crawl from the object data into any associated Nomisma.org concept. A parser can request the HEAD for a Nomisma URI, read that a serialization for the Linked Art profile exists, request the data via content negotiation for the content type and profile, and then harvest or display additional contextual information about the entities related to the object.

I got these serializations up and running in about a day, and my next tasks will be to copy and paste these new functions into Kerameikos.org's back-end and xEAC, so that it will be possible to serialize EAC-CPF archival authorities into Linked Art JSON-LD for broader reuse in Linked Open Data systems.

Wednesday, August 12, 2020

About 3,000 BnF coins linked to Coin Hoards

I recently received an update from Julien Olivier at the Bibliothèque nationale de France of coins linked to Inventory of Greek Coin Hoards URIs from the Coin Hoards project. About 3,000 of more than 10,000 Greek coins now link to hoard URIs, about a third of which are Hellenistic coins that were already published through Hellenistic Royal Coinages. A further 2,000 or so were not connected to coin type URIs, and are therefore newly integrated into the Nomisma.org numismatic Linked Open Data ecosystem. In total, these 3,000 coins link to 95 hoards.

One of the hoards the BnF's collection covers most prominently is the Auriol Hoard (IGCH 2352), a large Archaic hoard found near Marseilles, France in 1867. It consists mainly of coins from the Greek colony of Massilia itself. This particular hoard draws 651 specimens from several collections, about 500 of which are held by the BnF.


This particular hoard is briefly mentioned in a section in Sidney Noe's 1920 Coin Hoards, which was digitized and published in the ANS Digital Library as part of the NEH-Mellon Foundation Open Humanities Book Program. The link to digital archival or bibliographic resources is under the specimen list.

Coincidentally, a proof-of-concept ID for the Auriol Hoard (http://nomisma.org/id/auriol_hoard) had been created in Nomisma.org very early in the project's history (by 2011), even though it also existed in Nomisma.org as an IGCH URI. This morning, I deprecated this ID and forwarded it to its Coin Hoards URI (by inserting a dcterms:isReplacedBy URI into the RDF that will generate an HTTP 303 See Other redirect in Nomisma's software architecture).

Tuesday, August 11, 2020

MK Berlin fully linked to Antigonid Coins Online, plus updates

Karsten Dahmen at the Münzkabinett Berlin has fully cataloged all of their coins of Demetrius Poliorcetes with the newly-published URIs from Antigonid Coins Online, which is based on Edward T. Newell's 1927 corpus. There are 119 in total from Berlin, accompanying more than 400 coins from 10 other museums. One of the most diversely represented types is Demetrius 22, which is linked to eight specimens in five museums, including three coins from Berlin.



In addition to the expansion of Berlin's coverage, some other minor fixes have occurred within the underlying data: some updates to type descriptions or other minor errors in transcription.

Monday, August 3, 2020

First steps made in the normalization of the ANS Islamic department

Following some recent upgrades to our data consistency in MANTIS in the linking of many Greek names to Nomisma URIs, I have run a first-pass cleanup of entities that appear in the authority fields in the ANS' internal curatorial FileMaker Pro database. As part of the Egyptian National Library project, a large number of Islamic rulers, dynasties, and corporate bodies were created to cover the range of entities in the ENL's collection. This work was largely undertaken by Jere Bacharach.

Recently, I attempted to run the ANS's list of names that appear in the Authority facet in MANTIS against the Nomisma.org OpenRefine reconciliation API. I have successfully matched more than 300 labels within our database to Nomisma URIs. In some cases, a single entity was represented by more than one string in our database, and so we have made some noticeable improvements in consistency. We have also filtered out any value from FileMaker that is obviously not useful. For example, several hundred three-digit number codes had been inputted. Current curatorial staff is not even aware of what these codes correspond to, and so there's really no point in publishing these values into MANTIS.

1930.168.89, an Ilkhanid coin


1930.168.89 in Arabic


Nearly all of the Nomisma URIs for people link to dynasties or corporate entities, which have been indexed into MANTIS in a "State" facet. We plan to review the relationships between these entities, as dynasties and corporate bodies have been conflated in Nomisma, and we should split these into two separate classes of concept. For example, the "Abbasids" (http://nomisma.org/id/abbasids) carry a definition that corresponds more to a corporate entity, e.g., the Abbasid Caliphate (https://en.wikipedia.org/wiki/Abbasid_Caliphate). An Abbasid Dynasty entity should also be created in Nomisma to connect rulers together by means of familial relationships, but individual governors operate under the authority of the Caliphate without being relatives in the Dynasty. An additional benefit of these entities being connected to Nomisma URIs is that translations for all of them are available in Arabic, among other languages.

The cleanup is done in an independent PHP script that processes CSV exported from FileMaker into NUDS XML for publication into Numishare. An intermediate lookup table is implemented by matching a value the relevant field in FileMaker to a key in a Google spreadsheet in order to extract a Nomisma URI in another column, if available. About 300 of 2,500 total lines have been matched to URIs. But this will be a jumping off point for doing more comprehensive cleanup and Nomisma ID creation later, as we migrate into CollectiveAccess.

Monday, July 27, 2020

126 BnF coins integrated into Antigonid Coins Online

One hundred twenty-six coins from the Bibliothèque nationale de France, recently cataloged by Julien Olivier, have been incorporated into the newly-released Antigonid Coins Online (AGCO), which so far includes the coinage of Demetrius Poliorcetes. Roughly a dozen of these coins were already accessible through AGCO upon its launch since a handful of the coins of Demetrius are cross-linked with posthumous issues in the name of Alexander the Great in PELLA (related specimens are displayed in Numishare when they link directly to a type URI or implied to be the same via skos:exactMatch).

A BnF example of Demetrius 51


There are now 433 total specimens connected to the 182 types of Demetrius Poliorcetes. Two-thirds of the types are connected to at least one physical specimens, and about 40% (77 types) of the corpus links to at least one photographed coin. This number will grow, as the majority of the ANS' coins of Demetrius have not been photographed yet.

Wednesday, July 22, 2020

ANS launches the first phase of Antigonid Coins Online



After soft-launching last week to give our partners (in the NUMiD consortium, particularly!) a chance to begin cataloging coinage, we are formally announcing the release of Antigonid Coins Online. The first phase of this project includes 182 types of Demetrius Poliorcetes from Edward T. Newell's The Coinages of Demetrius Poliorcetes (1927). We will, in time, introduce typologies for the remaining kings of this Successor dynasty.

At this juncture, it includes more than 300 coins from 11 collections, from both large and small museums. Currently, the handful of coins from the British Museum and Bibliotheque nationale de France are connected to typologies from PELLA that are the same coin type. Karsten Dahmen began cataloging Berlin's coins of Demetrius almost immediately, and a few German university museums soon followed. I updated my script for harvesting Newell references from Harvard Art Museums as well as added another dozen from MFA Boston into the master spreadsheet, which I also reprocessed from a script I had written early. The first coin of Demetrius harvested into Nomisma was actually from the Fralin Museum at the University of Virginia, since I still maintain that project. A further 200 or so were cataloged by Lauren Tomanelli, before she departed the ANS to pursue her archaeology PhD at the University of Arizona, and Peter van Alfen, who referred to the trays for those coins not yet photographed.

Demetrius 159

Additionally, Lauren drew 26 new monograms that are unique (thus far) to the coinage of Demetrius Poliorcetes, while also inserting URIs to monograms from PELLA and PCO into the types, when it is apparent they symbols are semantically identical. These coins now appear in the Hellenistic Royal Coinages union typology, and are available for comparative queries of measurements, geographic distribution, etc. The HRC project was funded by the National Endowment for the Humanities. Antigonid Coins Online was not part of the original set of deliverables for HRC, but as in many of our grant-funded projects, we always exceed expectations.

Tuesday, July 14, 2020

Initial Binders of Richard Schaefer's Roman Republican Die Study Now Online

Richard Schaefer has undertaken the most comprehensive die study of Roman Republican coinage, a process that has taken many years, and has culminated in 14 binders of pasted coin photographs and annotations, in addition to loose clippings stored a series of boxes.

Lucia Carbone and Liv Mariah Yarrow have supervised the digitization of these resources as part of the Roman Republican Die Project (RRDP). This entails not only scanning the images of the binders and clippings, but also the creation of spreadsheets for each RRC type, including a listing of each obverse and reverse die, and a number of occurrences for each die. Eventually these statistical data will be published and made accessible through Coinage of the Roman Republic Online (CRRO). In this initial phase of the project, we are aiming to publish the binders and the clippings, assembled as TEI files of facsimile images, published the the ANS archival platform, Archer and linked to CRRO.

Interface for Schaefer's RRDP Binder 1


This method of publication is similar to the Newell notebooks of coin hoards that we digitized and annotated for Hellenistic Royal Coinages in that the images are published through our IIIF server and the TEI file is serialized into a IIIF JSON-LD manifest for display in Mirador. The difference is that the page images in the RRDP are not (yet) annotated, but the pages still correspond to one or more RRC URIs published in CRRO. In order to link individual pages URIs in a manner that can be expressed in our implementation of OpenAnnotation RDF, I made some code updates to support the use of the @facs TEI attribute that points each term to a facsimile @xml:id:



<textClass>
  <classCode scheme="http://vocab.getty.edu/aat/">300264354</classCode>
  <keywords scheme="nmo:TypeSeriesItem">
    <term ref="http://numismatics.org/crro/id/rrc-97.1b" 
      facs="#schaefer_097-1b_b05_p001-0">RRC 97/1b</term>
    <term ref="http://numismatics.org/crro/id/rrc-354.1" 
      facs="#schaefer_354-1_b05_p002">RRC 354/1</term>
    <term ref="http://numismatics.org/crro/id/rrc-354.1" 
      facs="#schaefer_354-1_b05_p003-0">RRC 354/1</term>
  </keywords>
</textClass>


The coin types appear in the index terms underneath the page turner, similar to the Newell notebooks. I made some additional code updates to EADitor (the framework on which Archer is built) to read term URIs in order to index them into the search engine more effectively, creating new Hoard and Coin Type facet lists in the browse page.

Archer browse page with new Coin Type facet (includes HRC types from Newell notebooks)

So far we have published Schaefer's 14 binders to Archer, but the clippings images (organized in batches of 100 RRC numbers) will be published by the end of this month or in early August. That will conclude the first phase of publication, enabling the seamless interoperability between these archival documents and RRC types published in CRRO. Like other typology projects published in Numishare, CRRO's configuration has been updated to interact with Archer's SPARQL endpoint, making these resources available directly in CRRO's user interface.

Binder 1, as it appears in RRC 302/1




The next phase will entail minting URIs for each distinct obverse and reverse die in a new standalone Numishare project, and making some code updates to support the publication of dies and linking to types.