Persistent Uniform Resource Locator

From Wikipedia, the free encyclopedia
Jump to: navigation, search

A persistent uniform resource locator (PURL) is a Uniform Resource Locator (URL) (i.e. location-based Uniform Resource Identifier or URI) that is used to redirect to the location of the requested Web resource. PURLs redirect HTTP clients using HTTP status codes. PURLs are used to curate the URL resolution process, thus solving the problem of transitory URIs in location-based URI schemes like HTTP. Technically the string resolution on PURL is like SEF URL resolution.

Contents

 [hide

[edit] History

The PURL concept was developed at OCLC in 1995 and implemented using a forked pre-1.0 release of Apache HTTP Server.[1] The software was modernized and extended in 2007 by Zepheira under contract to OCLC and the official website moved to [1] (the 'Z' came from the Zepheira name and was used to differentiate the PURL Open-source software site from the PURL resolver operated by OCLC).

PURL version numbers may be considered confusing. OCLC released versions 1 and 2 of the Apache-based source tree, initially in 1999 under the OCLC Research Public License 1.0 License and later under the OCLC Research Public License 2.0 License (http://opensource.org/licenses/oclc2). Zepheira released PURLz 1.0 in 2007 under the Apache License, Version 2.0.

The newest implementation of PURLs, PURLz 2.0, is currently in Beta testing and is also released under the Apache License, Version 2.0.

The oldest PURL HTTP resolver has been operated by OCLC since 1995 and can be reached as purl.oclc.org as well as purl.org, purl.net, and purl.com.

Other notable PURL resolvers include the US Government Printing Office (http://purl.fdlp.gov), which is operated for the Federal Depository Library Program and has been in operation since 1997.

Current versions of the PURL software and production instances are supported by 3 Round Stones.

[edit] Principles of operation

The PURL concept allows for generalized URL curation of HTTP URIs on the World Wide Web. PURLs allow third party control over both URL resolution and resource metadata provision.

A URL is simply an address of a resource on the World Wide Web. A Persistent URL is an address on the World Wide Web that causes a redirection to another Web resource. If a Web resource changes location (and hence URL), a PURL pointing to it can be updated. A user of a PURL always uses the same Web address, even though the resource in question may have moved. PURLs may be used by publishers to manage their own information space or by Web users to manage theirs; a PURL service is independent of the publisher of information. PURL services thus allow the management of hyperlink integrity. Hyperlink integrity is a design trade-off of the World Wide Web, but may be partially restored by allowing resource users or third parties to influence where and how a URL resolves.

A simple PURL works by responding to an HTTP GET request by returning a response of type 302 (equivalent to the HTTP status code 302, meaning "Found"). The response contains an HTTP "Location" header, the value of which is a URL that the client should subsequently retrieve via a new HTTP GET request.

PURLs implement one form of persistent identifier for virtual resources. Other persistent identifier schemes include Digital Object Identifiers (DOIs), Life Sciences Identifiers (LSIDs) and INFO URIs. All persistent identification schemes provide unique identifiers for (possibly changing) virtual resources, but not all schemes provide curation opportunities. Curation of virtual resources has been defined as, "the active involvement of information professionals in the management, including the preservation, of digital data for future use."[2]

PURLs have been criticized for their need to resolve a URL, thus tying a PURL to a network location. Network locations have several vulnerabilities, such as Domain Name System registrations and host dependencies. A failure to resolve a PURL could lead to an ambiguous state: It would not be clear whether the PURL failed to resolve because a network failure prevented it or because it did not exist.[3]

PURLs are themselves valid URLs, so their components must map to the URL specification. The scheme part tells a computer program, such as a Web browser, which protocol to use when resolving the address. The scheme used for PURLs is generally HTTP. The host part tells which PURL server to connect to. The next part, the PURL domain, is analogous to a resource path in a URL. The domain is a hierarchical information space that separates PURLs and allows for PURLs to have different maintainers. One or more designated maintainers may administer each PURL domain. Finally, the PURL name is the name of the PURL itself. The domain and name together constitute the PURL's "id".

[edit] Types of PURLs

The most common types of PURLs are named to coincide with the HTTP response code that they return. Not all HTTP response codes have equivalent PURL types. Some HTTP response codes (e.g. 401, Unauthorized) have clear meanings in the context of an HTTP conversation but do not apply to the process of HTTP redirection. Three additional types of PURLs (“chain”, “partial” and “clone”) are given mnemonic names related to their functions.

PURL Types
Type PURL Meaning HTTP Meaning
301 Moved permanently to a target URL Moved permanently
302 Simple redirection to a target URL Found
Chain Redirect to another PURL within the same server Found
Partial Redirect to a target URL with trailing path information appended Found
303 See other URL See Other
307 Temporary redirect to a target URL Temporary Redirect
404 Temporarily gone Not Found
410 Permanently gone Gone
Clone Copy the attributes of an existing PURL N/A

Most PURLs are so-called "simple PURLs", which provide a redirection to the desired resource. The HTTP status code, and hence of the PURL type, of a simple PURL is 302. The intent of a 302 PURL is to inform the Web client and end user that the PURL should always be used to address the requested resource, not the final URI resolved. This is to allow continued resolution of the resource if the PURL changes. Some operators prefer to use PURLs of type 301 (indicating that the final URI should be addressed in future requests).

A PURL of type "chain" allows a PURL to redirect to another PURL in a manner identical to a 301 or 302 redirection, with the difference that a PURL server will handle the redirection internally for greater efficiency. This efficiency is useful when many redirections are possible; since some Web browsers will stop following redirections once a set limit is encountered (in an attempt to avoid loops).

A PURL of type "303" is used to direct a Web client to a resource that provides additional information regarding the resource they requested, without returning the resource itself. This subtlety is useful when the HTTP URI requested is used as an identifier for a physical or conceptual object that cannot be represented as an information resource. PURLs of type 303 are used most often to redirect to metadata in a serialization format of the Resource Description Framework and have relevance for Semantic Web and Linked Data content. This use of the 303 HTTP status code is conforment with the http-range-14 finding of the Technical Architecture Group of the World Wide Web Consortium.

A PURL of type "307" informs a user that the resource temporarily resides at a different URL from the norm. PURLs of types 404 and 410 note that the requested resource could not be found and suggests some information for why that was so. Support for the HTTP 307 (Temporary Redirect), 404 (Not Found) and 410 (Gone) response codes are provided for completeness.

PURLs of types "404" and "410" are provided to assist administrators in marking PURLs that require repair. PURLs of these types allow for more efficient indications of resource identification failure when target resources have moved and a suitable replacement has not been identified.

PURLs of type "clone" are used solely during PURL administration as a convenient method of copying an existing PURL record into a new PURL.

[edit] Redirection of URL Fragments

The PURL service includes a concept known as partial redirection. If a request does not match a PURL exactly, the requested URL is checked to determine if some contiguous front portion of the PURL string matches a registered PURL. If so, a redirection occurs with the remainder of the requested URL appended to the target URL. For example, consider a PURL with a URL of http//purl.org/some/path/ with a target URL of http://example.com/another/path/. An attempt to perform an HTTP GET operation on the URL http//purl.org/some/path/and/some/more/data would result in a partial redirection to http://example.com/another/path/and/some/more/data. The concept of partial redirection allows hierarchies of Web-based resources to be addressed via PURLs without each resource requiring its own PURL. One PURL is sufficient to serve as a top-level node for a hierarchy on a single target server. The new PURL service uses the type "partial" to denote a PURL that performs partial redirection.

Partial redirections at the level of a URL path do not violate common interpretations of the HTTP 1.1 specification. However, the handling of URL fragments across redirections has not been standardized and a consensus has not yet emerged. Fragment identifiers indicate a pointer to more specific information within a resource and are designated as following a # separator in URIs.[4]

Partial redirection in the presence of a fragment identifier is problematic because two conflicting interpretations are possible.[5] If a fragment is attached to a PURL of type "partial", should a PURL service assume that the fragment has meaning on the target URL or should it discard it in the presumption that a resource with a changed location may have also changed content, thus invalidating fragments defined earlier? Bos suggested that fragments should be retained and passed through to target URLs during HTTP redirections resulting in 300 (Multiple Choice), 301 (Moved Permanently), 302 (Found) or 303 (See Other) responses unless a designated target URL already includes a fragment identifier. If a fragment identifier is already present in a target URL, any fragment in the original URL should be abandoned. Unfortunately, Bos’ suggestion failed to navigate the IETF standards track and expired without further work. Dubost et al. resurrected Bos’ suggestions in a W3C Note (not a standard, but guidance in the absence of a standard).[6] Makers of Web clients such as browsers have "generally" [ibid.] failed to follow Bos’ guidance.

Starting with PURLz 1.0 series, the PURL service implements partial redirections inclusive of fragment identifiers by writing fragments onto target URLs in an attempt to comply with[7] and avoid problematic and inconsistent behavior by browser vendors.

[edit] Future Directions

PURLz 2.0, currently Beta testing, makes major changes to the PURL concept and implementation. Most notably in terms of implementation, the software runs on a Semantic Web framework with information stored in an RDF database. The implementation team intends for the software to provide all the functions of a Web server, excluding the serving of content. Active PURLs, which act similar to a stored procedure in relational databases, are being experimented with to allow a PURL server to actively participate in the creation of metadata describing a Web resource.[8]

[edit] See also

[edit] Notes and references

  1. ^ "Introduction to Persistent Uniform Resource Locators". BusinessWeek (OCLC). 1996. http://purl.oclc.org/docs/inet96.html. Retrieved 2008-02-23. 
  2. ^ Yakel, E. (2007). Digital Curation. 23. OCLC Systems & Services. doi:10.1108/10650750710831466. http://www.ingentaconnect.com/content/mcb/164/2007/00000023/00000004/art00003. Retrieved 2011-01-05. 
  3. ^ Martin, Sean (2006-06-30). "LSID URN/URI Notes". World Wide Web Consortium ESW Wiki. http://esw.w3.org/topic/HCLSIG_BioRDF_Subgroup/LSID_URN_URI. Retrieved 2011-01-05. 
  4. ^ 1.2.3 "Uniform Resource Identifier (URI): Generic Syntax, RFC 3986 (STD 66)". IETF Networking Working Group. 2005-01. http://tools.ietf.org/html/rfc3986#section- 1.2.3. Retrieved 2008-03-01. 
  5. ^ "Handling of Fragment Identifiers in Redirected URLs, Expired Internet Draft". IETF Networking Working Group. 1999-06-30. http://www.w3.org/Protocols/HTTP/Fragment/draft-bos-http-redirect-00.txt. Retrieved 2008-03-01. 
  6. ^ 20010206#uri "Common User Agent Problems, W3C Note". World Wide Web Consortium. 2001-02-06. http://www.w3.org/TR/2001/NOTE-cuap- 20010206#uri. Retrieved 2008-03-01. 
  7. ^ 20010206#uri "Common User Agent Problems, W3C Note". World Wide Web Consortium. 2001-02-06. http://www.w3.org/TR/2001/NOTE-cuap- 20010206#uri. Retrieved 2008-03-01. 
  8. ^ Hyland-Wood, David (2008-07-01). Metadata Foundations for the Life Cycle Management of Software Systems. School of Information Technology and Electrical Engineering, The University of Queensland. http://espace.library.uq.edu.au/view/UQ:159852. Retrieved 2011-01-05. 

[edit] External links

Personal tools
Namespaces
Variants
Actions
Navigation
Interaction
Languages