|
|
|
|
Research : Activities : SRW/U
SRW/UThe SRW (Search & Retrieve Web Service) initiative is part of an international collaborative effort to develop a standard web-based text-searching interface. It draws heavily on the abstract models and functionality of Z39.50, but removes much of the complexity. SRW is built using common web development tools (WSDL, SOAP, HTTP and XML) and development of SRW interfaces to data repositories is significantly easier than for Z39.50. In addition, such arcane record formats as MARC and GRS-1 have been replaced with XML. SRU (Search & Retrieve URL Service) is a URL-based alternative to SRW. Messages are sent via HTTP using the GET method and the components of the SRW SOAP request are mapped to simple HTTP parameters. The response to an SRU request is identical to the response to an SRW request, with the SOAP wrapper removed. SRW/U is being deployed as the search API for the DSpace initiative. It is being considered as the standard search API by a number of communities, including the meta-searching and geospatial searching communities. GoalOCLC Research's role in this project is to develop:
All of the implementation goals were reached by 2008. Ongoing Work
BackgroundClassic Z39.50 has not been widely used by the Web community because it:
On the other hand, it allows for:
The SRW projectSRW uses:
In contrast to the eighteen native and extended services supported under classic Z39.50, SRW supports only one service:
SRW is semantically equivalent to classic Z39.50, which:
SRW is superior to Z39.50 in that its common query language supports the explain service, which was never practical in classic Z39.50. SRU, tooSRU, or Search & Retrieve URL Service, can be thought of as SRW without the SOAP wrapper. SRU adds a ResponseSchema parameter and is intended for thin clients, where the browser is the application. The market for SRU currently is underdeveloped, and it may be a while before the library community adopts it. It could show up in other communities first, and may be seen as a competitor with XML Query. Project MethodologyThe SRW/U project will accomplish its goals by:
The testbed will provide clients with:
It will also:
The Open Source SRW/U Client and Server constitute reference implementations of SRW and SRU. TimingThe SRW/U standards development is following the model used by the OAI community. The current release is 1.1, and the standards group is working toward a 2.0 release of the SRU standard. A testbed is also available. Linked DataOur SRW/U server has been extended to support Linked Data. The essential requirements of Linked Data are:
This can be seen with our VIAF prototype. The URI for the Thom Hickey record is http://viaf.org/viaf/72734757. Clicking on that link gets your browser redirected to http://viaf.org/viaf/72734757/. (That redirection is a hint to Linked Data clients that the second URI will support Content Negotiation for RDF.) Requesting that URI from a client with its Accept header set to "application/rdf+xml" will result in an RDF version of the VIAF record being returned. That record can also be retrieved directly with this URI: http://viaf.org/viaf/72734757/rdf.xml (Note! Your browser may not be prepared to handle application/rdf+xml data and may just offer you the opportunity to download the data rather than display it.) For additional information, two webinars on the topic of Linked Data are available as part of the OCLC Research TAI CHI series, as is a presentation made at Access 2010. A general overview of Linked Data is available on Wikipedia. Atom Publishing Protocol (APP)The Atom Publishing Protocol supports the creation and editing of records in collections. We have implemented support for APP in our SRW/U server and are using it to edit records in a collection of Name Authority records related to VIAF. The project built on this editing process is not yet public, but the code that supports it has been committed to the software repository. RSS/Atom FeedsOne of the expectations of the Linked Data community is that Linked Data records should be freely available for bulk downloads. While not all OCLC data that is available as Linked Data is available for bulk download, we feel that support for bulk downloads should be supported. This work is only in the beginning planning phase. Resources
Software and LicenseSRW/U The SRW/U Open Source project offers software that implements both the SRW Web Service and the SRU REST model interface to databases. Included are interfaces that support DSpace and Lucene repository. A simple demonstration interface is provided for access to records simply sitting in a filesystem. The SRW/SRU server code and documentation are now hosted on GoogleTMCode, at http://code.google.com/p/oclcsrw/. The software may be used without charge in accord with the terms of the Apache License, Version 2.0. Background information about SRW/U
Powered By SRW/UApplications running interfaces on top of our SRW server may display the "Powered By SRW/U" icon: This icon can be added to your pages by copying the HTML fragment below:
The SRW server depends on its underlying database technology. In one instance, SRW is built on top of OCLC Research's Open Source Gwen Search Engine and Pears Database Engine. SRW is also distributed as part of DSpace and uses DSpace's underlying Lucene and PostgreSQL databases. Project LeadLast update: 12 November 2010. |