W3C home > Mailing lists > Public > www-rdf-interest@w3.org > June 2007

RE: What if an URI also is a URL

From: Lynn, James (Software Escalations) <james.lynn@hp.com>
Date: Wed, 6 Jun 2007 09:02:36 -0400
Message-ID: <5A5CC5E87DE62148845CC96C8868900E0AEDD095@ataexc02.americas.cpqcorp.net>
To: "Tim Berners-Lee" <timbl@w3.org>, "r.j.koppes" <rikkert@rikkertkoppes.com>
Cc: <www-rdf-interest@w3.org>

But then does the same restriction apply to fragment identifiers? In
other words if a server returns a fragment for
http://www.example.com/mophor#me is it unacceptable to use it as a URI
for oneself?

J Lynn

-----Original Message-----
From: www-rdf-interest-request@w3.org
[mailto:www-rdf-interest-request@w3.org] On Behalf Of Tim Berners-Lee
Sent: Wednesday, June 06, 2007 8:29 AM
To: r.j.koppes
Cc: www-rdf-interest@w3.org
Subject: Re: What if an URI also is a URL



On 2007-06 -06, at 07:30, r.j.koppes wrote:

>
>
> suppose I identfy mysef with the following URI:
>
> http://www.example.com/mophor
>
> And suppose I have a homepage at http://www.example.com, then we get 
> the following triple:
>
> <http://www.example.com/mophor>
> <http://xmlns.com/foaf/0.1/homepage>
> <http://www.example.com>
>
> But now suppose, I have a page about myself on my homepage somewhere, 
> http://www.example.com/mophor, say.

That is an error.  You cannot use the same URI to identify yourself and
your home page.
The moment a server returns 200 OK for a request to the URI, it is
saying it identifys a document.
You can't use the same URI for yourself.
You could use http://www.example.com/mophor#me as a URI for yourself or
http://www.example.com/mophor/foaf#morphor orhttp://www.example.com/
mophor/me and have a 303 redirect from their to a document about you.

Tim BL
Received on Wednesday, 6 June 2007 13:03:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:52:19 GMT