On Tue, Nov 24, 2009 at 11:40:58AM +0000, Richard Cyganiak wrote:
> >>That being said, I think when publishing RDFa it's so much easier to
> >>just use hash URIs and drop the content negotiation stuff. That gives
> >>you all the same benefits with much less complexity. The only cost is
> >>slightly longer URIs and loss of compatibility with older clients
> >>that
> >>speak only RDF/XML. (If you need language negotiation, then you'll
> >>have to keep the conneg, but using hash URIs still allows you to
> >>remove all the black magic from your htaccess.)
> >
> >Have your views on this evolved since [1], and can you point to
> >a summary somewhere?
>
> [1] was first written before RDFa was ready for prime time, so content
> negotiation was required if a URI was to be usable both in a web
> browser and in an RDF client.
Hi Richard,
If Cool URIs ([1]) no longer reflects current opinion, is there
an updated document somewhere that describes the RDFa approach
in more detail (i.e., in terms of Web architecture)?
> I think that the question of ?hash vs. slash? and ?RDFa vs. HTML+RDF/
> XML? is largely orthogonal to the question of the size or change rate
> of the dataset. You could use <items/
3234584235> which 303s to a
> describing document specific to that resource; or you could use <items/
>
3234584235.html#it> without 303s and conneg. I would use the latter if
> I wanted to keep my server setup simple and if I can live with the
> slightly uglier URIs.
I'm talking to a large international organization that wants
to put a thesaurus onto the Web as Linked Data, and based on
my understanding of the "state of the art", I'm inclined to
suggest they follow the example of
ID.LOC.GOV, which resolves
the SKOS concept identifier:
http://id.loc.gov/authorities/sh00000382#concept
...to the document
http://id.loc.gov/authorities/sh00000382
However, both of these URIs gets the response code "HTTP/1.1
200 OK". BBC seems to take the same approach with the hash URI
http://www.bbc.co.uk/music/artists/a3cb23fc-acd3-4ce0-8f36-1e5aa6a18432#artist,
which also gets 200 OK.
I understand the part about a hash URI being acceptable
because "a URI that includes a hash cannot be retrieved
directly, and therefore does not necessarily identify a
Web document". However, if the httpRange-14 decision [2] says:
If an "http" resource responds to a GET request with a
2xx response, then the resource identified by that URI
is an information resource
...is the response code not saying that sh00000382#concept is an
information resource?
I contrast this to
http://www.w3.org/2004/02/skos/core#related
http://xmlns.com/foaf/0.1/knows
...both of which get HTTP/1.1 303 See Other.
Based on my understanding of the state of discussion, I want
to recommend id.loc.gov-style URIs for the large concept scheme
-- using numbers as identifiers for concepts, and presenting
them one concept per Web page, as with Library of Congress
Subject Headings.
For the property and class vocabularies, I want to recommend
either the hash style (like SKOS) or the slash style
(like FOAF), either way using recognizable words such as
"subject", "knows", or "prefLabel" (or is anyone recommending
a "knows#property" approach to forming URIs in property
vocabularies?). Whether property and class vocabularies
are presented using conneg (like SKOS) or RDFa (like FOAF)
seems orthogonal to the naming convention (indeed,
ID.LOC.GOV
offers both).
But I am worried about your point that "If you need language
negotiation, then you'll have to keep the conneg", because
the thesaurus in question has labels translated into many
languages. And I am a bit worried about the interpretation
of a hash URI that gets a 200 OK response, especially
if the document in question were to have an id="concept"
attribute somewhere as a positional anchor. Also, is it
safer (or friendlier) to follow LC's example and provide RDFa
_as_well_as_ an "Accept: application/rdf+xml" alternative?
Have these various alternatives been summarized somewhere, or
is there perhaps a need for a revised and expanded Cool URIs?
Tom
[1]
http://www.w3.org/TR/cooluris/
[2]
http://lists.w3.org/Archives/Public/www-tag/2005Jun/0039.html
--
Tom Baker <
tba...@tbaker.de>
--
Subscription settings:
http://groups.google.com/group/pedantic-web/subscribe?hl=en