URI Reference
Jump to navigation
Jump to search
A URI Reference is a character string used to identify a name of a web resource.
- Example(s):
- http://en.wikipedia.org/wiki/URI#Examples_of_URI_references ("http” specifies the 'scheme' name, “en.wikipedia.org” is the 'authority', “/wiki/URI” the 'path' pointing to this article, and “#Examples_of_URI_references” is a 'fragment' pointing to this section.)
- http://example.org/absolute/URI/with/absolute/path/to/resource.txt
- //example.org/scheme-relative/URI/with/absolute/path/to/resource.txt
- /relative/URI/with/absolute/path/to/resource.txt
- relative/path/to/resource.txt
- ../../../resource.txt
- ./resource.txt#frag01
- resource.txt
- #frag01
- (empty string)
- See: IRI, URN, URL, RDF Triple.
References
2013
- http://en.wikipedia.org/wiki/Uniform_resource_identifier
- In computing, a uniform resource identifier (URI) is a string of characters used to identify a name of a web resource. Such identification enables interaction with representations of the web resource over a network (typically the World Wide Web) using specific protocols. Schemes specifying a concrete syntax and associated protocols define each URI.
2009
URI/URL Syntax: scheme: scheme-specific-part http://user:pass@example.com:992/animal/bird?species=seagull#wings \__/ \_______/ \__________/\__/\_________/\_____________/\____/ | | | | | | | protocol login host port path query anchor/fragment URN Syntax: <URN> ::= "urn:" <NID> ":" <NSS>
<scheme>:<scheme-specific-part>
- <scheme>://<authority><path>?<query>
- New in RFC 3986 (replaces RFC 2396)
<scheme>://<authority><path>?<query>#<fragment>
- Uniform Resource Locator (URL)
– Subset of URI that identify resources via a representation of their primary access mechanism (e.g., their network “location”)
- Uniform Resource Name (URN)
– Subset of URI that remain globally unique and persistent even when the resource ceases to exist or becomes unavailable – URNs are not necessarily retrievable