Skip to content
Ethan Gruber edited this page Jun 5, 2017 · 7 revisions

The getRDF web service is located at /harvester/admin/getRDF.

The service iterates through one or more OAI-PMH sets (including paginations via resumptionToken) to generate RDF/XML which conforms to the DPLA data model. It does not perform the next phase of the ingestion process.

It accepts four request parameters:

  1. sets : required URL-encoded OAI-PMH set URL(s), separated by '|'
  2. repository : required must match the @mainagencycode in the finding aid
  3. target : required the target designates the target platform(s) for eventual aggregation. Accepted values are 'primo', 'dpla', or 'aw'. Any other value (or null) will designate CHOs for aggregation in both Primo and DPLA. The target is captured as a literal in doap:audience in the ore:Aggregation.
  4. rights : optional Accepts a key for a standardized rights statement that is converted into a Rightsstatements.org or Creative Commons URI upon publication.
  5. rightsText : optional A free-text rights statement may be encoded and passed with this parameter
  6. type : optional A DCMI Type (just the string) that is converted to a full URI on publication. E.g., InteractiveResource.
  7. format : optional A mime-type, e.g., image/jpeg
  8. genre : optional Getty AAT URI for a genre, mapped to all CHOs as edm:hasType
  9. language : optional three-letter language code
  10. ark : optional Must conform to the format, 'ark:/80444/xv43658', for example. If the ARK is not provided, then all CHOs which contain any ARK reference will be aggregated.
  11. mode : optional If the mode is set to 'test', then the first 10 matching CHOs will be transformed, and iteration through resumptionTokens will not be performed. This is useful for testing the OAI-to-RDF XSLT transformation process without waiting for pagination through large data sets.

More Information

This workflow is controlled by xpl/controllers/getRDF.xpl. See also Data Model

Clone this wiki locally