Page contents:
SRU interface
The SRU interface
There is a Copac SRU server. This has been implemented with the Index Data YAZ Proxy which provides for both SRU via HTTP GET and SRU via HTTP SOAP.
The Copac SRU interface is accessible at:
http://copac.ac.uk:3000/copac
If you try it please let us know how you get on with it.
Searching uses Dublin Core Metadata Terms and CQL
As an example, the following SRU URL does a search for "railway"
and requests 1 record:
http://copac.ac.uk:3000/copac?operation=searchRetrieve&version=1.1&query=dc.title%3d%22railway%22&maximumRecords=1&recordSchema=mods
To know how to format the query look at the CQL documentation on the SRU website.
Record schemas
The default Copac record format is the MODS XML format. Other record formats are available through the Web, Z39.50, and OpenURL interfaces.
<mods xsi:schemaLocation="http://www.loc.gov/mods/v3
http://www.loc.gov/standards/mods/v3/mods-3-2.xsd
http://copac.ac.uk/schemas/mods-copac/v1
http://copac.ac.uk/schemas/mods-copac/v1/mods-copac-v1.xsd
http://copac.ac.uk/schemas/holdings/v1
http://copac.ac.uk/schemas/holdings/v1/holdings-v1.xsd">
<recordInfo>
<recordIdentifier
source="copac">26001134826</recordIdentifier>
<recordContentSource>Copac</recordContentSource>
<recordCreationDate>20070422</recordCreationDate>
</recordInfo>
<typeOfResource>text</typeOfResource>
<originInfo>
<dateIssued
encoding="marc">2007</dateIssued>
</originInfo>
<originInfo>
<place>
<placeTerm type="text">Basel,
Switzerland :</placeTerm>
</place>
<publisher>Bank for International
Settlements,</publisher>
<dateIssued>2007.</dateIssued>
</originInfo>
<titleInfo>
<title>The tail wags the
dog</title>
<subTitle>time-varying information shares in the Bund
market</subTitle>
</titleInfo>
<note type="statement of
responsibility">by Christian Upper and Thomas Werner.</note>
<name type="personal">
<namePart>Upper, Christian.</namePart>
<role>
<roleTerm
type="text">creator</roleTerm>
</role>
</name>
<name
type="personal">
<namePart>Werner, Thomas.</namePart>
</name>
<name type="corporate">
<namePart>Bank for International
Settlements.</namePart>
<namePart>Monetary and Economic
Dept.</namePart>
</name>
<relatedItem
type="series">
<title>BIS working papers ;
no. 224</title>
</relatedItem>
<language>
<languageTerm
type="text">English</languageTerm>
</language>
<note>"Monetary and
Economic Department"</note>
<note>Includes bibliographical
references.</note>
<note>Online version available.</note>
<physicalDescription>
<extent>v, 37 p. ; 30
cm.</extent>
</physicalDescription>
<genre
authority="marcgt">Bibliography</genre>
<classification
authority="ddc" edition="22">332.6323</classification>
<location>
<url>http://www.bis.org/publ/work224.pdf</url>
</location>
<extension>
<h:localHolds>
<h:org type="CURL"
displayName="London School of
Economics">LSE</h:org>
<h:objId>111099364</h:objId>
<h:holds>
<h:item>
<h:loc displayName="Intergovernmental
Organisations - Normal Loan">IGO_NORM</h:loc>
<h:shelfmark>BIS
(38/224)</h:shelfmark>
</h:item>
</h:holds>
<h:localNote>
</h:localNote>
</h:localHolds>
<h:localHolds>
<h:org
type="CURL"
displayName="Aberdeen">Abn</h:org>
<h:objId>26001134826</h:objId>
<h:holds>
<h:item>
<h:loc displayName="Queen Mother Library
[Floor 1 General] (Standard Loan)">QML B1</h:loc>
<h:shelfmark>p332.6323
Upp</h:shelfmark>
</h:item>
</h:holds>
<h:localNote>
</h:localNote>
</h:localHolds>
</extension>
</mods>
Supported attributes
The search supports the following Dublin Core Metadata Terms and CQL. Requests are converted to Bib-1 attributes. The conversion may not always be exact. Not all combinations may be supported.
| Index | Equivalent BIB-1 Use attribute |
|---|---|
| cql.serverChoice | 1016 |
| rec.id | 12 |
| dc.title | 4 |
| dc.subject | 21 |
| dc.creator | 1003 |
| dc.author | 1003 |
| dc.editor | 1020 |
| dc.publisher | 1018 |
| dc.description | 62 |
| dc.date | 30 |
| dc.resourceType | 1031 |
| dc.format | 1034 |
| dc.resourceIdentifier | 12 |
| dc.source | 1019 |
| dc.language | 54 |
| CQL | Equivalent BIB-1 Relation attribute |
|---|---|
| < | 1 |
| le | 2 |
| eq | 3 |
| exact | 3 |
| ge | 4 |
| > | 5 |
| <> | 6 |
| all | 3 |
| any | 3 |
| CQL | Equivalent BIB-1 Structure attribute |
|---|---|
| exact | 108 (string) |
| all | 2 |
| any | 2 |
| * | 1 (phrase) |
| CQL | Equivalent BIB-1 truncation attribute |
|---|---|
| right | 1 |
| none | 100 |
| Index | Equivalent BIB-1 Use attribute |
|---|---|
| bath.keyTitle | 33 |
| bath.possessingInstitution | 1044 |
| bath.name | 1002 |
| bath.personalName | 1 |
| bath.corporateName | 2 |
| bath.conferenceName | 3 |
| bath.uniformTitle | 6 |
| bath.isbn | 7 |
| bath.issn | 8 |
| bath.geographicName | 58 |
| bath.notes | 63 |
| bath.topicalSubject | 1079 |
| bath.genreForm | 1075 |
