W3C home > Mailing lists > Public > w3c-rdfcore-wg@w3.org > May 2002

Re: RDF Graph questions

From: Patrick Stickler <patrick.stickler@nokia.com>
Date: Thu, 30 May 2002 13:53:22 +0300
To: ext Graham Klyne <Graham.Klyne@mimesweeper.com>
CC: RDF Core <w3c-rdfcore-wg@w3.org>
Message-ID: <B91BDF52.15B87%patrick.stickler@nokia.com>

On 2002-05-30 13:29, "ext Graham Klyne" <Graham.Klyne@MIMEsweeper.com>

> At 12:10 PM 5/30/02 +0300, Patrick Stickler wrote:
>>> I am also tending to a view that a '#'-separator should be preferred, and
>>> possibly even inserted automatically when forming a URIref from
>>> URI-without-trailing-separator + fragment (Jonathan Borden's
>>> suggestion?).
>> Unfortunately, this does not work unless URIrefs are disallowed as
>> namespace identifiers, as otherwise you encroach upon the fragment
>> syntax specified for a given MIME type.
> Ooer, I hadn't thought of that.
>> How do you apply the above operation to the following namespace/name
>> pairing?
>>    <boo xmlns="foo://abc.com/bar#bas"/>
>> The URI foo://abc.com/bar#bas#boo is invalid.
> I don't have an obvious answer.  I could concoct something, but it starts
> to look messy.
> Adding characters now looks less attractive, but the possible reasons for
> preferring '#' at the end of a namespace stand, I think.

Sure. As a best practice, we should certainly recommend that
namespace URIs used with predicates end in some non-name
punctuation, so that later we can more consistently guess the
"correct" qname partitioning when re-serializing to XML.

It's just not likely that we could ever come up with a truly
generic and workable algorithm for introducing such punctuation
at the partition between namespace and name automatically.

I.e, let's document the issue, and tell folks (as Brian
proposed) use '/' or "#" at the end of the namespace, but be
clear that insofar as the RDF graph is concerned, namespaces
and qnames simply don't exist and have no representation,
significance or meaning. It's strictly an XML thing.



> #g
> -------------------
> Graham Klyne
> <GK@NineByNine.org>

Patrick Stickler              Phone: +358 50 483 9453
Senior Research Scientist     Fax:   +358 7180 35409
Nokia Research Center         Email: patrick.stickler@nokia.com
Received on Thursday, 30 May 2002 06:50:06 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:24:12 UTC