Uniform Resource Name

Last updated

A Uniform Resource Name (URN) is a Uniform Resource Identifier (URI) that uses the urn scheme. URNs are globally unique persistent identifiers assigned within defined namespaces so they will be available for a long period of time, even after the resource which they identify ceases to exist or becomes unavailable. [1] URNs cannot be used to directly locate an item and need not be resolvable, as they are simply templates that another parser may use to find an item.

Contents

URIs, URNs, and URLs

URNs were originally conceived to be part of a three-part information architecture for the Internet, along with Uniform Resource Locators (URLs) and Uniform Resource Characteristics (URCs), a metadata framework. As described in RFC 1737 (1994), [2] and later in RFC 2141 (1997), [3] URNs were distinguished from URLs, which identify resources by specifying their locations in the context of a particular access protocol, such as HTTP or FTP. In contrast, URNs were conceived as persistent, location-independent identifiers assigned within defined namespaces, typically by an authority responsible for the namespace, so that they are globally unique and persistent over long periods of time, even after the resource which they identify ceases to exist or becomes unavailable. [1]

URCs never progressed past the conceptual stage, [4] and other technologies such as the Resource Description Framework later took their place. Since RFC 3986 [5] in 2005, use of the terms "Uniform Resource Name" and "Uniform Resource Locator" has been deprecated in technical standards in favor of the term Uniform Resource Identifier (URI), which encompasses both, a view proposed in 2001 by a joint working group between the World Wide Web Consortium (W3C) and Internet Engineering Task Force (IETF). [4]

A URI is a string of characters used to identify or name a resource. URIs are used in many Internet protocols to refer to and access information resources. URI schemes include the http and ftp protocols, as well as hundreds of others.

In the "contemporary view", as it is called, all URIs identify or name resources, perhaps uniquely and persistently, with some of them also being "locators" which are resolvable in conjunction with a specified protocol to a representation of the resources.

Other URIs are not locators and are not necessarily resolvable within the bounds of the systems where they are found. These URIs may serve as names or identifiers of resources. Since resources can move, opaque identifiers which are not locators and are not bound to particular locations are arguably more likely than identifiers which are locators to remain unique and persistent over time. But whether a URI is resolvable depends on many operational and practical details, irrespective of whether it is called a "name" or a "locator". In the contemporary view, there is no bright line between "names" and "locators".

In accord with this way of thinking, the distinction between Uniform Resource Names and Uniform Resource Locators is now no longer used in formal Internet Engineering Task Force technical standards, though the latter term, URL, is still in wide informal use.

The term "URN" continues now as one of more than a hundred URI "schemes", urn:, paralleling http:, ftp:, and so forth. URIs of the urn: scheme are not locators, are not required to be associated with a particular protocol or access method, and need not be resolvable. They should be assigned by a procedure which provides some assurance that they will remain unique and identify the same resource persistently over a prolonged period. Some namespaces under the urn: scheme, such as urn:uuid: assign identifiers in a manner which does not require a registration authority, but most of them do. A typical URN namespace is urn:isbn , for International Standard Book Numbers. This view is continued in RFC 8141 (2017). [1]

There are other URI schemes, such as tag: , info: (now largely deprecated), and ni: [6] which are similar to the urn: scheme in not being locators and not being associated with particular resolution or access protocols.

Syntax

The syntax of a urn: scheme URI is represented in the augmented Backus–Naur form as: [5] [7]

namestring=assigned-name[rq-components]["#"f-component]assigned-name="urn"":"NID":"NSSNID=(alphanum)0*30(ldh)(alphanum)ldh=alphanum/"-"NSS=pchar*(pchar/"/")rq-components=["?+"r-component]["?="q-component]r-component=pchar*(pchar/"/"/"?")q-component=pchar*(pchar/"/"/"?")f-component=fragment; general URI syntax rules (RFC3986)fragment=*(pchar/"/"/"?")pchar=unreserved/pct-encoded/sub-delims/":"/"@"pct-encoded="%"HEXDIGHEXDIGunreserved=ALPHA/DIGIT/"-"/"."/"_"/"~"sub-delims="!"/"$"/"&"/"'"/"("/")"/"*"/"+"/","/";"/"="alphanum=ALPHA/DIGIT; obsolete, usage is deprecated

or, in the form of a syntax diagram, as:

URN syntax diagram - namestring.png

In 2017, the syntax for URNs was updated: [1]

Namespaces

In order to ensure the global uniqueness of URN namespaces, their identifiers (NIDs) are required to be registered with the IANA. Registered namespaces may be "formal" or "informal". An exception to the registration requirement was formerly made for "experimental namespaces", [8] since rescinded by RFC 8141. [1]

Formal

Approximately sixty formal URN namespace identifiers have been registered. These are namespaces where Internet users are expected to benefit from their publication, [1] and are subject to several restrictions. They must:

Informal

Informal namespaces are registered with IANA and assigned a number sequence (chosen by IANA on a first-come-first-served basis) as an identifier, [1] in the format

"urn-" <number>

Informal namespaces are fully fledged URN namespaces and can be registered in global registration services. [1]

Experimental

An exception to the registration requirement was formerly made for "experimental namespaces". [8] However, following the deprecation of the "X-" notation for new identifier names, [9] RFC 8141 [1] did away with experimental URN namespaces, indicating a preference for use of the urn:example namespace where appropriate. [10]

Examples

URNcorresponds to
urn:isbn:0451450523The 1968 book The Last Unicorn , identified by its book number.
urn:isan:0000-0000-2CEA-0000-1-0000-0000-YThe 2002 film Spider-Man , identified by its audiovisual number.
urn:ISSN:0167-6423The scientific journal Science of Computer Programming, identified by its serial number.
urn:ietf:rfc:2648The IETF's RFC 2648.
urn:mpeg:mpeg7:schema:2001The default namespace rules for MPEG-7 video metadata.
urn:oid:2.16.840The OID for the United States.
urn:uuid:6e8bc430-9c3a-11d9-9669-0800200c9a66A version 1 UUID.
urn:nbn:de:bvb:19-146642A National Bibliography Number for a document, indicating country (de), regional network (bvb = Bibliotheksverbund Bayern ), library number (19) and document number.
urn:lex:eu:council:directive:2010-03-09;2010-19-UEA directive of the European Union, using the proposed Lex URN namespace.
urn:lsid:zoobank.org:pub:CDC8D258-8F57-41DC-B560-247E17D3DC8CA Life Science Identifiers that may be resolved to http://zoobank.org/urn:lsid:zoobank.org:pub:CDC8D258-8F57-41DC-B560-247E17D3DC8C .
urn:epc:class:lgtin:4012345.012345.998877 Global Trade Item Number with lot/batch number. As defined by Tag Data Standard [11] (TDS). See more examples at EPC Identification Keys.
urn:epc:id:sgtin:0614141.112345.400 Global Trade Item Number with an individual serial number
urn:epc:id:sscc:0614141.1234567890 Serial Shipping Container Code
urn:epc:id:sgln:0614141.12345.400 Global Location Number with extension
urn:epc:id:bic:CSQU3054383BIC Intermodal Container Code as per ISO 6346
urn:epc:id:imovn:9176187 IMO Vessel Number of marine vessels
urn:epc:id:gdti:0614141.12345.400 Global Document Type Identifier of a document instance
urn:mrn:iala:aton:us:1234.5Identifier for Marine Aids to Navigation
urn:mrn:iala:vts:ca:ecaregIdentifier for Vessel Traffic Services
urn:mrn:iala:wwy:us:atl:chba:potriIdentifier for Waterways
urn:mrn:iala:pub:g1143Identifier for IALA publications


See also

Related Research Articles

A Uniform Resource Identifier (URI) is a unique sequence of characters that identifies a logical or physical resource used by web technologies. URIs may be used to identify anything, including real-world objects, such as people and places, concepts, or information resources such as web pages and books. Some URIs provide a means of locating and retrieving information resources on a network, these are Uniform Resource Locators (URLs). Other URIs provide only a unique name, without a means of locating or retrieving the resource or information about it, these are Uniform Resource Names (URNs). The web technologies that use URIs are not limited to web browsers. URIs are used to identify anything described using the Resource Description Framework (RDF), for example, concepts that are part of an ontology defined using the Web Ontology Language (OWL), and people who are described using the Friend of a Friend vocabulary would each have an individual URI.

Digital object identifier ISO standard unique string identifier for a digital object

A digital object identifier (DOI) is a persistent identifier or handle used to identify objects uniquely, standardized by the International Organization for Standardization (ISO). An implementation of the Handle System, DOIs are in wide use mainly to identify academic, professional, and government information, such as journal articles, research reports, data sets, and official publications. However, they also have been used to identify other types of information resources, such as commercial videos.

BEEP Framework for creating network application protocols

The Blocks Extensible Exchange Protocol (BEEP) is a framework for creating network application protocols. BEEP includes building blocks like framing, pipelining, multiplexing, reporting and authentication for connection and message-oriented peer-to-peer (P2P) protocols with support of asynchronous full-duplex communication.

The Internationalized Resource Identifier (IRI) is an internet protocol standard which builds on the Uniform Resource Identifier (URI) protocol by greatly expanding the set of permitted characters. It was defined by the Internet Engineering Task Force (IETF) in 2005 in RFC 3987. While URIs are limited to a subset of the US-ASCII character set, IRIs may additionally contain most characters from the Universal Character Set, including Chinese, Japanese, Korean, and Cyrillic characters.

A persistent uniform resource locator (PURL) is a uniform resource locator (URL) that is used to redirect to the location of the requested web resource. PURLs redirect HTTP clients using HTTP status codes.

In computer hypertext, a URI fragment is a string of characters that refers to a resource that is subordinate to another, primary resource. The primary resource is identified by a Uniform Resource Identifier (URI), and the fragment identifier points to the subordinate resource.

Percent-encoding, also known as URL encoding, is a method to encode arbitrary data in a Uniform Resource Identifier (URI) using only the limited US-ASCII characters legal within a URI.


A web resource, or simply resource, is any identifiable thing, whether digital, physical, or abstract. Resources are identified using Uniform Resource Identifiers. In the Semantic Web, web resources and their semantic properties are described using the Resource Description Framework.

The feed URI scheme was a suggested uniform resource identifier (URI) scheme designed to facilitate subscription to web feeds; specifically, it was intended that a news aggregator be launched whenever a hyperlink to a feed URI was clicked in a web browser. The scheme was intended to flag a document in a syndication format such as Atom or RSS. The document would be typically served over HTTP.

URI normalization Process by which URIs are standardized

URI normalization is the process by which URIs are modified and standardized in a consistent manner. The goal of the normalization process is to transform a URI into a normalized URI so it is possible to determine if two syntactically different URIs may be equivalent.

Michael Mealling

Michael Mealling is co-founder of Pipefish Inc, and was the cofounder, Chief Financial Officer (CFO) and Vice President of Business Development of Masten Space Systems, CEO of Refactored Networks, long time participant within the IETF, a Space Frontier Foundation Advocate, and a former Director of the Moon Society. He operates a blog site called Rocketforge and has been interviewed twice on The Space Show and twice on SpaceVidcast.

The Handle System is the Corporation for National Research Initiatives's proprietary registry assigning persistent identifiers, or handles, to information resources, and for resolving "those handles into the information necessary to locate, access, and otherwise make use of the resources".

The HTTP Location header field is returned in responses from an HTTP server under two circumstances:

  1. To ask a web browser to load a different web page. In this circumstance, the Location header should be sent with an HTTP status code of 3xx. It is passed as part of the response by a web server when the requested URI has:
  2. To provide information about the location of a newly created resource. In this circumstance, the Location header should be sent with an HTTP status code of 201 or 202.
Archival Resource Key Form of URLs used as persistent identifiers

An Archival Resource Key (ARK) is a multi-purpose URL suited to being a persistent identifier for information objects of any type. It is widely used by libraries, data centers, archives, museums, publishers, and government agencies to provide reliable references to scholarly, scientific, and cultural objects. In 2019 it was registered as a Uniform Resource Identifier (URI).

An Extensible Resource Identifier is a scheme and resolution protocol for abstract identifiers compatible with Uniform Resource Identifiers and Internationalized Resource Identifiers, developed by the XRI Technical Committee at OASIS. The goal of XRI was a standard syntax and discovery format for abstract, structured identifiers that are domain-, location-, application-, and transport-independent, so they can be shared across any number of domains, directories, and interaction protocols.

Identifiers.org is a project providing stable and perennial identifiers for data records used in the Life Sciences. The identifiers are provided in the form of Uniform Resource Identifiers (URIs). Identifiers.org is also a resolving system, that relies on collections listed in the MIRIAM Registry to provide direct access to different instances of the identified records.

A Uniform Resource Locator (URL), colloquially termed a web address, is a reference to a web resource that specifies its location on a computer network and a mechanism for retrieving it. A URL is a specific type of Uniform Resource Identifier (URI), although many people use the two terms interchangeably. URLs occur most commonly to reference web pages (http), but are also used for file transfer (ftp), email (mailto), database access (JDBC), and many other applications.

Larry Melvin Masinter is an early Internet pioneer and ACM Fellow. After attending Stanford University, he became a Principal Scientist of Xerox Artificial Intelligence Systems and author or coauthor of 26 of the Internet Engineering Task Force's Requests for Comments.

References

Citations

  1. 1 2 3 4 5 6 7 8 9 RFC 8141 (2017).
  2. RFC 1737 (1994).
  3. RFC 2141 (1997).
  4. 1 2 W3C/IETF (2001).
  5. 1 2 RFC 3986 (2005).
  6. "Naming Things with Hashes".
  7. RFC 8141, section 2 (2017).
  8. 1 2 RFC 3406 (2002).
  9. RFC 6648 (2012).
  10. RFC 6963 (2013).
  11. "EPC Tag Data Standard, version 1.13". GS1. Nov 2019. Retrieved 7 March 2021.

Sources