W3C home > Mailing lists > Public > www-rdf-interest@w3.org > March 2004

Re: pound sign vs. slash as final URI delimiter

From: Benja Fallenstein <b.fallenstein@gmx.de>
Date: Sat, 20 Mar 2004 14:30:32 +0200
Message-ID: <405C3968.9060206@gmx.de>
To: Janne Saarela <janne.saarela@profium.com>
Cc: www-rdf-interest@w3.org

Hash: SHA1

Janne Saarela wrote:
| <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|          xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
|          xml:base="http://www.schemas.org/music#">
| <rdfs:Class rdf:ID="Artist" />
| Is this supposed to produce triple:
| S:http://www.schemas.org/music#Artist
| or
| S:http://www.schemas.org/Artist
| I believe the former but RFC239 [3] suggests
| the relative URI (Artist) is resolved against the base
| URI by omitting characters after the last slash (/)
| resulting in http://www.schemas.org/Artist. Which one
| is now right?

rdf:ID does not directly contain a relative URI:

| The rdf:ID attribute on a node element (not property element, that has
| another meaning) can be used instead of rdf:about and gives a relative
| RDF URI reference equivalent to # concatenated with the rdf:ID attribute
| value. So for example if rdf:ID="name", that would be equivalent to
| rdf:about="#name". rdf:ID provides an additional check since the same
| name can only appear once in the scope of an xml:base value (or
| document, if none is given), so is useful for defining a set of
| distinct, related terms relative to the same RDF URI reference.


Thus, the first interpretation is not only the intended one, but also
the one of the specs.

- - Benja
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

Received on Saturday, 20 March 2004 07:31:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:44:48 UTC