OAI data queries


Open Archives Initiative (OAI) Queries

 

The Rice University’s Digital Scholarship Archive (scholarship.rice.edu) supports open harvesting of repository data. You can view metadata via OAI using the Open Archives Initiative - Repository Explorer  tool or by entering a specific query directly into your web browser’s url address window. Some common queries are provided below.

 

Notes:

 

 

 

Identify

Identifies the OAI provider:

https://scholarship.rice.edu/oai/request?verb=Identify

 

List sets

Lists all the collections available from scholarship.rice.edu server:

https://scholarship.rice.edu/oai/request?verb=ListSets

 

List metadata formats

Lists all the metadata formats. The format "oai_dc" is required of all OAI providers.

https://scholarship.rice.edu/oai/request?verb=ListMetadataFormats

 

List identifiers

Gives the header information only for all records:

https://scholarship.rice.edu/oai/request?verb=ListIdentifiers&metadataPrefix=oai_dc

 

List records

List the records from one collection (change the set name at the end to get another set):

http://scholarship.rice.edu/oai/request?verb=ListRecords&metadataPrefix=oai_dc&set=col_1911_13110

 

For the next 100 records (change the number at the end to get additional sets of records in 100 count groups): -- NOT WORKING?

http://scholarship.rice.edu/oai/request?verb=ListRecords&resumptionToken=0001-01-01T00:00:00Z/9999-12-31T23:59:59Z/hdl_1911_13110/oai_dc/100

 

Get record

Get a particular record's metadata (e.g., item #35964):

http://scholarship.rice.edu/oai/request?verb=GetRecord&identifier=oai:scholarship.rice.edu:1911/35964&metadataPrefix=oai_dc

 

To retrieve List Records within a specified date range

https://scholarship.rice.edu/oai/request?verb=ListRecords&metadataPrefix=oai_dc&set=col_1911_13110&from=2014-01-01&until=2014-12-31

 

Notes:

 

Sources:

  1. OAI-PMH Data Provider 2.0 (Internals) - DSpace 3.x Documentation - DuraSpace Wiki (http)
  2. Open Archives Initiative - Protocol for Metadata Harvesting - v.2.0: Section 2.7.1 Selective Harvesting and Datestamps (http)

 

Local/custom OAI format(s)

 

 

More Information

Need more information about OAI? See http://www.openarchives.org, particularly http://www.openarchives.org/OAI/2.0/openarchivesprotocol.htm#ProtocolMessages for information about queries.