W3C home > Mailing lists > Public > www-tag@w3.org > October 2008

RE: [XRI] XRI-as-Relative-URI proposal

From: Drummond Reed <drummond.reed@cordance.net>
Date: Thu, 23 Oct 2008 21:44:40 -0700
To: "'Jonathan Rees'" <jar@creativecommons.org>
Cc: <www-tag@w3.org>, "'Peter Davis'" <peter.davis@neustar.biz>, <jbradley@mac.com>
Message-ID: <5EF1FAE6E00B461EA9B4B6F21877452E@ELROND>
Jonathan (and Stuart and Dan),

 

Thanks much for the feedback. I've been tied up in an offsite all day (and
all day tomorrow), but let me reassure you that yes, many XRI TC members
care deeply about the use of XRI with the Semantic Web - in fact I know John
Bradley will argue that it's one of the primary use cases for XRIs once they
are successfully integrated into Web architecture.

 

I apologize that the http://wiki.oasis-open.org/xri/XriAsRelativeUri page
isn't clear about this (I'll take an action item to update it) but on the
http://wiki.oasis-open.org/xri/AbstractIdentifierArchitecture page we have
an example that the pure XRI =drummond and the http-XRI
http://xri.net/=drummond do in fact both identify the abstract resource (the
"thing", though I prefer Stuart William's term "Platonic ideal"). Also,
although under XRI Resolution 2.0 resolution of http://xri.net/=drummond by
itself currently returns a 302 redirect to some default representation, I
believe the XRI TC is fine with changing this to a 303. To request a
descriptor of the abstract resource - an XRDS document - you need to add a
query string, e.g., http://xri.net/=drummond?_xrd_r=application/xrds+xml.

 

So we have:

 

1) =drummond and http://xri.net/=drummond as synonymous identifiers of the
Platonic ideal.

2) http://xri.net/=drummond?_xrd_r=application/xrds+xml as the identifier of
an XRDS resource descriptor of =drummond.

3) Other URIs (contained in the XRDS document) as the concrete URIs to which
you are redirected via a 303 to representations of the Platonic ideal of
=drummond (sounds like something I should live up to ;-)

 

Is that what you have in mind?

 

BTW, I personally like the ARK convention of being able to append just "?"
to the scheme-XRI to identify the default descriptor for the XRI. That could
be the short form, with the option to use more complete descriptor query
parameters.

 

=Drummond 

 

  _____  

From: Jonathan Rees [mailto:jar@creativecommons.org] 
Sent: Thursday, October 23, 2008 5:01 AM
To: Drummond Reed
Cc: www-tag@w3.org; Peter Davis; jbradley@mac.com
Subject: Re: [XRI] XRI-as-Relative-URI proposal

 

On Thu, Oct 23, 2008 at 3:04 AM, Drummond Reed <drummond.reed@cordance.net>
wrote:


The proposal is written up on an XRI TC wiki page at:
       http://wiki.oasis-open.org/xri/XriAsRelativeUri


Thanks for the chance to look at this.

I have one comment, which is not, as far as I can tell so far, a fault in
what you have written. Apparently you mean for the XRI =Drummond to name (or
"identify") a person, while a corresponding HXRI http://xri.net/=Drummond
names (or "identifies") the resource descriptor, which is a document. That
is, you have two names naming two different things, and one name is not a
URI, while the other is. There is nothing at all wrong with that.

My comment is just that for any XRI, there is not necessarily a URI that
names the same thing as the XRI, and if there is then there is no
deterministic way to figure out what it is. This is a lost opportunity for
XRI in semantic-web-like use cases, as I will explain.

This omission mainly makes a difference in applications that want to use RDF
or OWL, or otherwise use URIs as logical names for things as opposed to
those applications (such as web browsers) that only needs names for
documents such as resource descriptors. If you don't care about such
applications, then there is not much to be said - except that my preference
is that you should care about such applications, because it would make my
life easier (since I would immediately have names for all the things that
are named by XRIs for use in my applications); and I think I'm not alone.
Without XRI-equivalent URIs, I would have to make up my own names (URIs) for
things named by XRIs, and that would be inconvenient.

If you do want a URI equivalent to each XRI (as opposed to a URI that names
the resource descriptor), then you have two choices. One is to change the
design so that the HXRI names the thing, and invent a second URI, call it
the RDI (resource descriptor identifier), which, like the HXRI, is obtained
by a deterministic rule applied to the XRI, but a different rule than the
one used to obtain the XHRI.  For example, you could follow the ARK lead and
have the RDI be the HXRI with a '?' appended.

Another solution is to use the HXRI as specified, that is, playing the role
of RDI, but invent a second URI that names the thing, again using some
ARK-like deterministic syntactic client-side rule.

In either case, the httpRange-14 recommendation, which in my view is just an
interpretation of RFC 2616, would advise that of these two URIs, the one
that does not name the resource descriptor (i.e. the one that names the
thing) should not lead to a 200 response when resolved via HTTP. (Nowadays
semantic web applications generally use a 303 response instead in this
situation, even though that's stretching RFC2616 a little bit.) httpRange-14
has been beaten to death on this forum, so I will not give the rationale
here, but if you would like one I'm sure it would arise almost
spontaneously.

Best
Jonathan Rees
Received on Friday, 24 October 2008 04:45:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:48:07 GMT