![Page 1: OCLC Online Computer Library Center SRW & OAI Ralph LeVan OCLC Research](https://reader036.vdocument.in/reader036/viewer/2022082700/5514e84a550346935c8b5998/html5/thumbnails/1.jpg)
OCLC Online Computer Library Center
SRW & OAIRalph LeVan
OCLC Research
![Page 2: OCLC Online Computer Library Center SRW & OAI Ralph LeVan OCLC Research](https://reader036.vdocument.in/reader036/viewer/2022082700/5514e84a550346935c8b5998/html5/thumbnails/2.jpg)
OAI Search RequirementsOAI Search Requirements
Find a specific record
Restrict the database by date
Restrict the database by Set ID
![Page 3: OCLC Online Computer Library Center SRW & OAI Ralph LeVan OCLC Research](https://reader036.vdocument.in/reader036/viewer/2022082700/5514e84a550346935c8b5998/html5/thumbnails/3.jpg)
OAI Retrieval RequirementsOAI Retrieval Requirements
<oai:header xmlns="http://www.w3.org/TR/xhtml1/strict" xmlns:oai="http://www.openarchives.org/OAI/2.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<oai:identifier>ocm56385578</oai:identifier>
<oai:datestamp>2004-09-29</oai:datestamp>
</oai:header>
![Page 4: OCLC Online Computer Library Center SRW & OAI Ralph LeVan OCLC Research](https://reader036.vdocument.in/reader036/viewer/2022082700/5514e84a550346935c8b5998/html5/thumbnails/4.jpg)
SRW/U-OAI ProfileSRW/U-OAI ProfileOAI context set for search
OAI Header schema for retrieval
![Page 5: OCLC Online Computer Library Center SRW & OAI Ralph LeVan OCLC Research](https://reader036.vdocument.in/reader036/viewer/2022082700/5514e84a550346935c8b5998/html5/thumbnails/5.jpg)
OAI Context SetOAI Context Setoai.identifier: contains arbitrary text used with the exact relation
oai.datestamp: contains dates of the form yyyy-mm-dd used with the numeric relations
oai.setId: contains arbitrary text used with the exact relation
![Page 6: OCLC Online Computer Library Center SRW & OAI Ralph LeVan OCLC Research](https://reader036.vdocument.in/reader036/viewer/2022082700/5514e84a550346935c8b5998/html5/thumbnails/6.jpg)
Example RequestExample Requesthttp://localhost:8080/SRW/search/ORPublications
? query=oai.datestamp > ”2004-01-01”& version=1.1&operation=searchRetrieve& recordSchema=http%3A%2F%2Fwww.openarchives.org%2FOAI%2F2.0%2F%23header&maximumRecords=1&startRecord=1
![Page 7: OCLC Online Computer Library Center SRW & OAI Ralph LeVan OCLC Research](https://reader036.vdocument.in/reader036/viewer/2022082700/5514e84a550346935c8b5998/html5/thumbnails/7.jpg)
Example ResponseExample Response<numberOfRecords>693</numberOfRecords>
<records> <record>
<recordSchema>http://www.openarchives.org/OAI/2.0/#header</recordSchema>
<recordPacking>xml</recordPacking>
<recordData>
<oai:header xmlns="http://www.w3.org/TR/xhtml1/strict" xmlns:oai="http://www.openarchives.org/OAI/2.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<oai:identifier>ocm56578713</oai:identifier>
<oai:datestamp>2004-09-29</oai:datestamp>
</oai:header>
</recordData>
<recordPosition>1</recordPosition> </record> </records>
<nextRecordPosition>11</nextRecordPosition>