feat(en:Boeing):Rewrite awkward phrasing.
[BK-2020-09.git] / en.wikipedia.org / Persistent_uniform_resource_locator / article.txt
CommitLineData
c69ee435
SBS
1{{redirect|PURL|other meanings of "purl"|Purl (disambiguation)}}
2
3A '''persistent uniform resource locator''' ('''PURL''') is a [[uniform resource locator]] (URL) (i.e., location-based [[uniform resource identifier]] or URI) that is used to [[URL redirection|redirect]] to the location of the requested [[web resource]]. PURLs redirect [[HTTP]] clients using [[List of HTTP status codes|HTTP status codes]].
4
5Originally, PURLs were recognizable for being hosted at [http://purl.org purl.org] or other hostnames containing <code>purl</code>. Early on many of those other hosts used descendants of the original OCLC PURL system software. Eventually, however, the ''PURL concept'' came to be generic and was used to designate any redirection service (named ''PURL resolver'') that:<ref>Services as [[Lex (URN)|URN LEX]], [[European Legislation Identifier|ELI]] and [[Digital object identifier|DOI]], [[Permalink]] and others, they use directly or indirectly the PURL concept.</ref>
6* has a "root URL" as the ''resolver'' reference (e.g. <code><nowiki>http://myPurlResolver.example</nowiki></code>);
7* provides means, to its user-community, to include new ''names'' in the root URL (e.g. <code><nowiki>http://myPurlResolver.example/name22</nowiki></code>);
8* provides means to associate each ''name'' with its URL (to be redirected), and to update this redirection-URL;
9* ensure the persistence (e.g. by contract) of the root URL and the ''PURL resolver'' services.
10
11PURLs are used to curate the URL resolution process, thus solving the problem of transitory URIs in location-based [[URI scheme]]s like HTTP. Technically the ''string resolution'' on PURL is like ''[[SEF URL]] resolution''.
12The remainder of this article is about the OCLC's PURL system, proposed and implemented by [[OCLC]] (the Online Computer Library Center).
13
14==History==
15The PURL concept was developed by Stuart Weibel and Erik Jul at [[OCLC]] in 1995.<ref>{{cite journal |last1=Weibel |first1=Stuart |last2=Jul |first2=Erik |title=PURLs to improve access to the Internet |journal=OCLC Newsletter |date=1995 |issue=November/December |page=19 |url=https://library.oclc.org/digital/collection/p267701coll28/id/1839 |access-date=17 December 2021}}</ref> The PURL system was implemented using a forked pre-1.0 release of [[Apache HTTP Server]]. The software was modernized and extended in 2007 by [[Zepheira]] under contract to OCLC and the official website moved to http://purlz.org (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).
16
17PURL 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 http://opensource.org/licenses/oclc2]). Zepheira released PURLz 1.0 in 2007 under the [http://opensource.org/licenses/apache2.0 Apache License, Version 2.0]. PURLz 2.0 was released in [[Software release life cycle#Beta|Beta testing]] in 2010 but the release was never finalized. The [[Callimachus Project]] implemented PURLs as of its 1.0 release in 2012.
18
19The oldest PURL [[HTTP]] resolver was operated by [[OCLC]] from 1995 to September 2016 and was reached as <code>[http://purl.oclc.org/ purl.oclc.org]</code> as well as <code>[http://purl.org/ purl.org]</code>, <code>[http://purl.net/ purl.net]</code>, and <code>[http://purl.com/ purl.com]</code>.
20
21Other notable PURL resolvers include the US Government Printing Office ([http://purl.fdlp.gov http://purl.fdlp.gov]), which is operated for the [[Federal Depository Library Program]] and has been in operation since 1997.
22
23The PURL concept is used in the [https://w3id.org/ w3id.org], that may replace the old PURL-services and PURL-technologies.
24
25On 27 September 2016 OCLC announced a cooperation with [[Internet Archive]] resulting in the transfer of the resolver service and its administration interface to Internet Archive.<ref name="oclc_20160927_oclcpurlia">{{cite press release|title=OCLC and Internet Archive work together to ensure future sustainability of Persistent URLs |url=http://www.oclc.org/news/releases/2016/201623dublin.en.html |date=27 September 2016 |publisher=OCLC |location=Dublin, Ohio |access-date=10 April 2023 |archive-url=https://web.archive.org/web/20230202162123/https://cdm15003.contentdm.oclc.org/digital/collection/p15003coll6/id/649 |archive-date=2 February 2023 |url-status=live |quote=OCLC and Internet Archive today announced the results of a year-long cooperative effort to ensure the future sustainability of purl.org. The organizations have worked together to build a new sustainable service hosted by Internet Archive that will manage persistent URLs and sub-domain redirections for purl.org, purl.com, purl.info and purl.net}}</ref> The service is supported on newly created software, separate from all previous implementations. The transfer re-enabled the ability to manage PURL definitions that had been disabled in the OCLC-hosted service for several months. The service hosted on Internet Archive servers supports access via <code>[http://purl.org/ purl.org]</code>, <code>[http://purl.net/ purl.net]</code>, <code>[http://purl.info/ purl.info]</code>, and <code>[http://purl.com/ purl.com]</code>. OCLC now redirects DNS requests for <code>[http://purl.oclc.org/ purl.oclc.org]</code> to <code>[http://purl.org/ purl.org]</code>.
26
27==Principles of operation==
28The 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.
29
30A 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.
31
32A 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.
33
34PURLs implement one form of persistent identifier for virtual resources. Other persistent identifier schemes include [[Digital object identifier|Digital Object Identifiers]] (DOIs), [[LSID|Life Sciences Identifiers]] (LSIDs) and [[Info:|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."<ref>{{Cite journal |first=E.|last=Yakel|title=Digital Curation |journal=OCLC Systems & Services |year=2007|volume=23|issue=4 |pages=335–340 |doi=10.1108/10650750710831466|s2cid=33219560 }}</ref>
35
36PURLs 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.<ref>{{Cite web |first=Sean|last=Martin|url=http://esw.w3.org/topic/HCLSIG_BioRDF_Subgroup/LSID_URN_URI |title=LSID URN/URI Notes |date=2006-06-30 |access-date=2011-01-05 |publisher=[[World Wide Web Consortium]] ESW Wiki}}</ref>
37
38PURLs 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".
39
40=== Comparing with permalink ===
41Both [[permalink]] and ''PURL'' are used as permanent/persistent URL and redirect to the location of the requested [[web resource]]. Roughly speaking, they are the same. Their differences are about [[domain name]] and [[Time#List_of_units|time scale]]:
42* A '''permalink''' usually does not change the URL's domain, and is designed to persist over ''years''.
43* A '''PURL''' domain name is independently changeable, and is designed to persist over ''decades''.
44
45==Types==
46The 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 and not all PURL servers implement all 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.
47{| class="wikitable"
48|+ PURL types
49! Type
50! PURL meaning
51! HTTP meaning
52|-
53| 200
54| Content created or aggregated
55| OK
56|-
57| 301
58| Moved permanently to a target URL
59| Moved permanently
60|-
61| 302
62| Simple redirection to a target URL
63| Found
64|-
65| Chain
66| Redirect to another PURL within the same server
67| Found
68|-
69| Partial
70| Redirect to a target URL with trailing path information appended
71| Found
72|-
73| 303
74| See other URL
75| See Other
76|-
77| 307
78| Temporary redirect to a target URL
79| Temporary Redirect
80|-
81| 404
82| Temporarily gone
83| Not Found
84|-
85| 410
86| Permanently gone
87| Gone
88|-
89| Clone
90| Copy the attributes of an existing PURL
91| N/A
92|}
93
94Most 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 (computer science)#End user|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).
95
96A 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).
97
98A PURL of type "200" is an "Active PURL", in which the PURL actively participates in the creation or aggregation of the metadata returned. An Active PURL includes some arbitrary computation to produce its output. Active PURLs have been implemented in PURLz 2.0 and The [[Callimachus Project]]. They may be used to gather runtime status reports, perform distributed queries or any other type of data collection where a persistent identifier is desired. Active PURLs act similar to a [[stored procedure]] in relational databases.<ref>{{Cite journal |first=David|last=Hyland-Wood|url=http://espace.library.uq.edu.au/view/UQ:159852 |title=Metadata Foundations for the Life Cycle Management of Software Systems |date=2008-07-01 |access-date=2011-01-05 |publisher=School of Information Technology and Electrical Engineering, [[University of Queensland|The University of Queensland]]}}</ref>
99
100A 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]] (RDF) and have relevance for [[Semantic Web]] and [[linked data]] content. This use of the 303 HTTP status code is conformant with the [http://www.w3.org/2001/tag/group/track/issues/14 http-range-14] finding of the [http://www.w3.org/2001/tag/ Technical Architecture Group] of the [[World Wide Web Consortium]].
101
102A 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.
103
104PURLs 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.
105
106PURLs of type "clone" are used solely during PURL administration as a convenient method of copying an existing PURL record into a new PURL.
107
108==Redirection of URL fragments ==
109The 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 <nowiki>http//purl.org/some/path/</nowiki> with a target URL of <nowiki>http://example.com/another/path/</nowiki>. An attempt to perform an HTTP GET operation on the URL <nowiki>http//purl.org/some/path/and/some/more/data</nowiki> would result in a partial redirection to <nowiki>http://example.com/another/path/and/some/more/data</nowiki>. 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.
110
111Partial 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 identifier]]s indicate a pointer to more specific information within a resource and are designated as following a # separator in URIs.<ref>{{Cite journal |url=http://tools.ietf.org/html/rfc3986#section-1.2.3 |title=Uniform Resource Identifier (URI): Generic Syntax, RFC 3986 (STD 66) |date=January 2005 |access-date=2008-03-01 |publisher=[[IETF]] Networking Working Group|doi=10.17487/RFC3986 |last1=Berners-Lee |first1=T. |last2=Fielding |first2=R. |last3=Masinter |first3=L. }}</ref>
112
113Partial redirection in the presence of a fragment identifier is problematic because two conflicting interpretations are possible.<ref>{{Cite web |url=http://www.w3.org/Protocols/HTTP/Fragment/draft-bos-http-redirect-00.txt |title=Handling of Fragment Identifiers in Redirected URLs, Expired Internet Draft |date=1999-06-30 |access-date=2008-03-01 |publisher=[[IETF]] Networking Working Group}}</ref> 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).<ref name="Dubost">{{Cite web |url=http://www.w3.org/TR/2001/NOTE-cuap-20010206#uri |title=Common User Agent Problems, W3C Note |date=2001-02-06 |access-date=2008-03-01 |publisher=[[World Wide Web Consortium]]}}</ref> Makers of Web clients such as browsers have "generally"<ref name="Dubost" /> failed to follow Bos’ guidance.
114
115Starting 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<ref name="Dubost"/> and avoid problematic and inconsistent behavior by browser vendors.
116
117==See also==
118* Implementation examples:
119** [[Archival Resource Key]] (ARK)
120** [[Digital Object Identifier]] (DOI)
121** [[Handle System]] identifiers
122* [[Link rot]]
123* [[OPAC]]
124* [[Permalink]]
125* [[URL redirection]]
126* [[URL shortening]]
127* [[Uniform Resource Name]] (URN)
128* [[Wayback Machine]]
129
130==References==
131{{Reflist|colwidth=30em}}
132
133==External links==
134* [http://purlz.org Official website for PURLz]
135* [http://callimachusproject.org Official website for The Callimachus Project]
136* [http://purl.org/ Internet Archive's PURL resolver]
137* [http://purl.fdlp.gov US Government Printing Office's PURL resolver]
138* [http://www.persistent-identifier.de/english/204-examples.php persistent-identifier.de]
139* [https://web.archive.org/web/20090210094245/http://purl.wepreserve.eu/ DPE/PURL Information and Resolver Site]
140
141[[Category:URI schemes]]
142[[Category:Identifiers]]
143[[Category:1995 software]]
144[[Category:Free software programmed in Java (programming language)]]
145[[Category:Cross-platform free software]]
146[[Category:History of the Internet]]
147[[Category:Internet software for Linux]]
148[[Category:Unix Internet software]]