Thursday, October 27, 2016

800 Alexanders from the Ashmolean added to PELLA

The Heberden Coin Room of the Ashmolean Museum, University of Oxford is the newest member of the Nomisma consortium of data contributors. Thanks to the cataloguing of Simon Glenn, we were able to create a concordance between 800 coins of Alexander the Great and URIs published in PELLA. I received a CSV dump of these coins yesterday, and wrote a simple PHP script to convert Price numbers into PELLA URIs and generate Nomisma-compliant RDF, which was just published into Nomisma's SPARQL endpoint.

A number of these coins from the Ashmolean were linked to IGCH URIs on, and so findspots are available in both PELLA directly and also in the maps of associated numismatic concept pages. For example, Price 4 now shows a point for IGCH 1670, a hoard found in Egypt. Likewise, the Nomisma ID for tetradrachm (the denomination of Price 4) also shows this findspot in the geographic distribution of mints and finds for that denomination.

Many thanks to those involved at the Ashmolean Museum for their contribution in furthering the study of Greek numismatics.

Tuesday, October 25, 2016

RIC 9 published to OCRE

RIC volume 9 has been published to Online Coinage of the Roman Empire. This represents about 1,700 types and 3,200 subtypes. In total, there are now more than 43,000 Roman Imperial coin types in OCRE, spread over half a millennium from Augustus to Zeno. This was a huge undertaking with many collaborators from the ANS and DAI, as well as contributors of data from more than a dozen American and European cultural heritage institutions. Without generous support from the National Endowment for the Humanities, we may never have completed this project, which will officially come to a close in December. Since publishing the types to OCRE yesterday, I have begun the process of harvesting relevant coins from partner institutions. The British Museum alone has contributed an additional 11,600 RIC 9 coins to OCRE, and the total number of physical specimens linked into the project stands around 93,000. We hope to surpass 100,000 when the ANS and Fitzwilliam Museum coins are added soon.

While some more work remains in tying up loose ends regarding meeting every specification of the NEH grant (with respect to correcting reference numbers in our curatorial database and completing photographic coverage of our Imperial coinage), we are nearing the final phase of the project, which will draw to a close by the end of the year. Nevertheless, the project will continue to evolve in a variety of ways. We anticipate aggregating content from more partners, especially from the archaeological community. There are more than 200,000 Roman Imperial coins in the Portable Antiquities Scheme, but so far barely over 300 have been linked to OCRE URIs. I am continuing to build more sophisticated analysis and visualization interfaces. These advancements have been implemented directly in, but I anticipate porting these code updates into OCRE and various other Numishare-based coin type projects. We also plan to unveil two new features by the end of this year: an intuitive coin type identification interface that non-specialists (collectors or archaeologists working in the field) might use to identity coins, and a faceted search function for architecture depicted on Roman coinage (which extends into Republican coins in CRRO).

While the NEH funding was instrumental in the development of OCRE specifically, the open source code and the workflows we developed for this project have had an impact on our ability to publish similar online type corpora. In 2015, we saw the release of Coinage of the Roman Republic Online and PELLA. Since the multilingual and visualization functionality are inherent to Numishare, our other projects benefit from the funding the NEH invested directly into OCRE. One of these, obviously, is the Egyptian National Library collection of Islamic coinage, which is available in both English and Arabic.

Thursday, October 20, 2016

3,500 Fitzwilliam Museum (Cambridge) coins harvested into Nomisma

Using a combination of the University of Cambridge Fitzwilliam Museum's API to query for Roman Republican and Alexander the Great coins and PHP-based screen-scraping of reference numbers and measurement data, I was able to harvest more than 3,500 coins from the Fitzwilliam the other day. The script, which I have published to Github, took a few hours to write and another hour or so to fully execute.

The script queries the API and iterates through each page of the JSON response. Since coin type reference numbers are not stored or indexed into their ElasticSearch application, the script must request each HTML page from their public-facing database. With some XPath to parse the HTML and regex to look for RRC or Price numbers, matching numbers are checked against CRRO and PELLA to confirm the validity of the reference.

The metadata for each record are stored in an array, which is serialized into Nomisma-compliant RDF and a CSV concordance list when the process completes.

I hope to tweak the script and re-apply to Cambridge's Roman imperial coins. This will be a tremendous enhancement to OCRE, as we look to crossing over the 100,000 coin threshold in that project alone.

Tuesday, October 18, 2016

Distribution Visualization Tools in

I have spent the last month working on and off on a new set of research tools in's interface. As users of individual ANS type corpus projects (like OCRE) will know, we have exposed simple weight and diameter analyses and the distribution of typological categories (like denomination, mint, authority, etc.) as graphs through a visualization interface. These interfaces query only those coin types or physical specimens connected with the type corpus as a whole. Plainly, this means that the interfaces in OCRE only query coin types from RIC or display the average weights of coins that have explicitly been connected to URIs published by OCRE. Partners with find or excavation databases that contain uncertain coins are excluded from these queries, even if the portrait or mint can be positively identified, but the wear of the legend is too great to allow for a certain RIC attribution.

I have begun to implement distribution visualization interfaces directly in Nomisma that query its SPARQL endpoint. At present, the distribution analyses are based on coin types. For example, you can generate a chart that shows the distribution of denominations issued by Augustus. You can place further filters on this query, for example, to show the distribution of denominations issued by Augustus at the mint of Rome. The interface allows you to gather multiple datasets for comparison, e.g., to include the distribution of denominations for Nero and Hadrian. These queries factor in all coin types, regardless of the scope of the type series, enabling you to query across all coins of the Roman Republic and Empire simultaneously.

Distribution of denominations of Augustus, Nero, and Hadrian from the mint of Rome

Some work remains in enhancing the complexity and scope of these queries. It is important to introduce start and end date filters so that it would be easier to evaluate changes in distribution over time. Furthermore, the categories for visualization (authority, issuer, mint, region, denomination, material, object type) need to be expanded to include portraits and depicted deities. This adds a layer of complexity in the query--these objects are referenced in the obverse and reverse of the coin type, not directly in the coin type data object itself. Presently, deities are an underutilized query parameter across all our projects. We use British Museum URIs, but have not integrated SKOS PrefLabels or any other properties about these URIs into the Nomisma SPARQL endpoint that would allow us to build a human-readable interface. Adding supplementary, non-numismatic datasets is on the agenda for Nomisma development.

The distribution analysis interface is available on the pages for individual Nomisma IDs (if these IDs have associated coin types) and on a separate interface. The distribution interface renders the chart by passing URL parameters to itself, so the page URL can be copied and pasted, and the charts can be shared with others. The charts on the Nomisma ID page are generated directly with ajax calls (so it is easier to view changes in the graph when modifying underlying queries), but you can click a button load the chart in the distribution page. There is an option to download the data as CSV in both interfaces.

Next: Metrical Analysis

Once I implement portraits, deities, and date filters, I will get to work on interfaces that will analyze weights and diameters. This interface will open the door to integrating physical coins that have been connected to typologies implicitly through OCRE, CRRO, and PELLA URIs or explicitly, enabling us to compare all coins of an emperor even when the specific coin type attribution cannot be ascertained.

These interfaces will not only show the average weights of typological categories, but changes in weight over time (e.g., to view the change in weight of the denarius over 400 years). I'll also implement standard deviation visualizations to cluster coins together of nearly identical weights, making it easier to spot outliers that might be fragmentary coins or even forgeries.