Showing posts with label cts. Show all posts
Showing posts with label cts. Show all posts

Sunday, April 13, 2014

Testing the HMT project’s technical underpinnings

In February, we noted the release of new draft specifications for the CTS URN notation that we use to cite texts, and the CTS protocol that we use to retrieve texts in the Homer Multitext project. Since the publication of the draft specifications, we have released updates of a suite of test data and of software using the test data to assess the compliance of a given CTS service with the current version of the protocol.

Together with version 1.6 of this software, the ctsvalidator servlet, we are today releasing version 0.9.0 of our implementation of the CTS protocol, sparqlcts. The new version of sparqlcts passes 100% of the ctsvalidator tests.

To recapitulate what we have released in 2014 in our work on CTS:
  • Formal specifications for the Canonical Text Services protocol, and CTS URNs. The specifications include Relax NG schemas for a CTS Text Inventory (the catalogue of a CTS library), and Relax NG schemas for validating the responses to CTS requests.
  • A test data set, documented in a valid CTS Text Inventory, and available in three formats:
    • valid and well-formed XML
    • tabular data in simple delimited text files
    • RDF triples in .ttl format
  • A set of 68 tests applying CTS requests to the test data set. The tests are defined in an XML file listing the request and parameters to be submitted to a running CTS installation. For each test, a corresponding XML file gives the expected responses to the request.
  • The CTS Validator, a web-app that runs the tests against any online CTS service hosting the corpus of test-data.
  • An implementation of the Canonical Text Services, sparqlcts, a Java web-app drawing its data from a SPARQL endpoint.  When the SPARQL end point is hosting the corpus of test data, sparqlcts passes 68 out of 68 of our defined tests.
This of course does not mean that sparqlcts is necessarily flawless (there may be problems that ctsvalidator does not test for), but it is an important milestone. One of the most profound implications of digital scholarship is that when we can automate the testing of digital work, we should invert the humanist’s traditional order of composition and assessment: specify the automated test first, then work until you pass the test. This applies to the software we use, too. When we next update our online services, we can be confident that our text service has successfully passed 100% of a challenging series of tests.

Links

Christopher Blackwell and Neel Smith, project architects

Saturday, February 8, 2014

Technically speaking ...

For over a decade, the Homer Multitext project has been exploring how to represent a multitext in digital form.  For some of our essential work, we have been able to adopt well understood practices (such as how to use XML markup to structure a diplomatic edition of a text).  In other aspects of our work, we are faced with issues that have not been explored in prior work on digital scholarship, and have had to define new standards.

We have devoted special attention to the fundamental question of how to cite texts in a form that is independent of any specific technology and sufficiently rigorously defined for computers to use.  We have defined the syntax and semantics for a notation for citing texts that is based on the Internet Engineering Taskforce's Uniform Resource Name (URN) notation.  We call this notation the Canonical Text Service URN, or CTS URN.

We have also defined a protocol for a networked service that understands the CTS URN notation, and can retrieve passages of texts.  Unsurprisingly, we call this the Canonical Text Service protocol, or CTS protocol.

We have worked hard to ensure that the technical design of our notation and service fully satisfies the needs of the Homer Multitext project, but is not limited to or in any way specific to the HMT project's corpus of texts.  Both of us have applied the CTS notation and CTS service protocol to a range of other projects, not limited to Greek or Latin texts.  As our work on these two technical projects has matured, we have found more and more interest in it from scholars working with canonically citable texts.

This week, we were able to complete revisions for a new version of the specification for both the CTS URN notation and CTS protocol.  It was especially gratifying that we were able to complete this work during a visit to Leiden University, where we were graciously hosted by Ineke Sluiter and her colleagues, a new group of collaborators on HMT who first participated in the summer 2013 seminar at the Center for Hellenic Studies.

The specifications:



Christopher Blackwell and Neel Smith, HMT project architects

Saturday, September 3, 2011

Updates to Homeric Papyri

We have updated the Homer Multitext’s library of homeric papyri with editions of fifteen new documents. These include the Hawara Papyrus in a new edition by Amy Koenig of Harvard University. This text contains 547 lines of the Iliad, from Books 1 and 2.

The remaining fourteen documents are the results of editorial work by Alexander Loney and Bart Huelsenbeck of Duke University, and Lia Campbell, Andrew Corley, David Creasy, Kylie Elliott, Talley Lattimore, Brett Stonecipher, and Blake Williams, undergraduate students of Greek at Furman University.

In all, the Homeric Papyri Digital Library now contains 30 edited texts, containing 3,142 lines of Homeric poetry. These lines include 2,706 unique citations.

The Homeric Papyri library is exposed via the Canonical Text Services protocol (CTS). Its website offers two different human-readable presentations of each document, as well as direct access to the raw TEI XML.

Work on these papyri continues, and we are looking forward to increasing the holdings of this open-access digital library in the near future. We are grateful for the support of the Center for Hellenic Studies of Harvard University.


Friday, January 22, 2010

Homeric Papyri Service Online

Homer and the Papyri, was first created by Professor Dana Sutton of the University of California, Irvine, to be a database of fragments of the Homeric Iliad and Odyssey that survive on papyrus from Graeco-Roman Egypt.


The Center for Hellenic Studies inherited this valuable data, and the project is now under the editorship of Casey Dué and Mary Ebbott, as part of the ongoing Homer Multitext project.


We are pleased to announce the first publication of a new service for scholars and readers interested in Homeric papyri: The Homeric Papyri Canonical Text Service. This is an application hosted on Google AppEngine. While the service is intended primarily to allow other online applications to discover and retrieve texts and passages of text, it does provide a human-readable interface to these papyri.


The texts as delivered by this service include full editorial markup, in TEI-P5-compliant XML. The human-readable form (visible by default) intentionally hides any text that is not physically present on the papyrus. Future versions of the user-interface to this service may give the option to show or hide editorially supplied text at the user’s discretion.


For more information on the Canonical Text Services Protocol (“CTS”), see the project’s Sourceforge site.


— Christopher W. Blackwell