What is the difference between a URI and a URL?
Anybody who has browsed the Web knows that a URL is the web address of a web page on a web site. Meanwhile, the Semantic Web is based on the URI. So, what is a URI, and how are they different? The short answer is that all URLs are by definition URIs and in the context of the Semantic Web the preferred term is URI.
Part of the answer is historic: URL (Uniform Resource Locator) is the original term for a web address, the location of a web resource or web page on a web site, but technically we should be using the newer term URI (Uniform Resource Identifier.)
Going further back in history, at one stage URI meant Universal Resource Identifier, but that usage has been superceded by Uniform Resource Identifier.
There is a little bit more to it. While all URLs are in fact URIs, a subset of URIs are not URLs, in particular, the subset known as URNs or Uniform Resource Names. An example of a URN might the ISBN number for a book such as "URN:ISBN:0-062-51587-X".
So:
- A URI is either a URL or a URN.
- Every URL is a URI.
- Every URN is a URI.
- A URN is never a URL.
- A URL is never a URN.
For HTML Web pages, it still makes since to refer to the URL of a web page, even though URI is now the technically more precise term, since an HTML Web page URI is in fact always a URL (and vice versa).
For RDF statements, the subject, predicate, and objects of an RDF triple are by definition referred to as URIs. They may at times in fact be URLs and refer to resources which are files on Web servers, but that is not required in all cases.
If you really want to get technical, there is a discussion in IETF RFC 3305 entitled "Report from the Joint W3C/IETF URI Planning Interest Group: Uniform Resource Identifiers (URIs), URLs, and Uniform Resource Names (URNs): Clarifications and Recommendations".
26 Comments:
plumbing job is just too difficult to manage. Most of the time, though, you can fix the plumbing yourself if you are knowledgeable. Try these tips when your drain is clogged and you might not need to call the plumber. rancho cucamonga plumber
This is the great information!
Broken Sewer Line Balitmore
This comment has been removed by the author.
i like to read your article..you giving to us great information!
Plumber SEO
I never heard of this before any ways thanks for the info.
this is new to me.. now it was clear to me what's the difference
it explain clearly what's bothering in my mind regarding with these two URI & URL
Thanks for nice post. I had to face trouble for browser cache.Now it's working.
"A URI is either a URL or a URN.
Every URL is a URI.
Every URN is a URI.
A URN is never a URL.
A URL is never a URN. Is like a helpful check card. That made this easier to memorize and understand"
that was a very neat explanation. Minnesota Divorce
Really thank you as I always had difficulty of understanding the difference. Renton's Deschutes Steelhead Guide, Fly-Fishing
I've learned something new.
Harassment is any act that leads to stress, anxiety and sickness of a person. so please stop it! Learn about US Coast Guard License Training Alaska Waters Consulting
that was a good explanation. you giving to us great information!
thanks for the clear definiton....
Thanks for nice post.
you giving to us great information ^^
Recommended Affordable Irvine Self Storage
A URL is a specialization of URI that defines the network location of a specific resource. Unlike a URN, the URL defines how the resource can be obtained.
hey i like to read your article, you giving to us great information!
thanks for this !
Thanks for sharing this.! Now i can differentiate the two word give :) so useful!
Thats a great article. I will be doing some interviews soon with local bands.
You give lots of great information and inspiration. For sure i will check out more of your posts.
the context of the Semantic Web the preferred term is URI.
jual tas kamera
Faites appel à votre societe de vitrerie Eaubonne, Val-d'Oise, présents à toute heure.. Vitrier d'Eaubonne
nice article is shared here according to me url and urn are both different things know about all rajasthan
thanks for sharing the most informative article this is the best for me to learn all about this thanks!
Data Recovery Sydney
Computer Repairs Sydney
Post a Comment
Subscribe to Post Comments [Atom]
<< Home