Re: Dropping the redundant colon in N3

"Seth Russell" wrote:-

> [http://purl.org/dc/elements/1.1/] = [http://purl.org/dc/elements/1.1/#].

I'm really confused now... Why are you adding the "#" after it for, and
calling them equivelent? These namespaces make completely different URIs
when pieced back together again: http://purl.org/dc/elements/1.1/title is
totally different from http://purl.org/dc/elements/1.1/#title

BTW: I believe I was mistaken in thinking that DC redirects as appropriate.
A better example would be the Wordnet namespace:-

     http://xmlns.com/wordnet/1.6/

Note that http://xmlns.com/wordnet/1.6/word *does* exist, whereas
http://xmlns.com/wordnet/1.6/#word does not.

> Your completely right .. sorry i was confused.  Do you think I fixed it
by
> using square brackets to delimit URI ?

That is quite a good idea. I wonder though about having [ ] to imply a node
one minute, and then a URI the next. Is that O.K. - i.e. will people
understand that?
It does make the coding neat, but I suppose it would be very difficult to
get a program to grok tht if you have different amount of elements inside
the "[ ]" it means a completely different thing altogether. Still, it's
probably better than using <> because at least we can use it inside XML
now. I suppose the next step is to ask: "what MIME type should N3 have?".
text/plain for the moment I guess, but that implies that it is just "text,
and not code", which it clearly isn't.

> > I believe that percentage signs ("%") are only allowed to escape
> > characters in URIs, so why not use them?
>
> The more weird characters you throw in the stream, the more it looks
> like cyber gibberish and the more difficult it becomes for humans to
> read and the more it offends the eye.

Very good point.

> How many times have you not been able to vance on a url in
> a email because the author abutted it to a period.

Millions... O.K., that's hyperbole - how about tens of thousands?

> The square bracket solves that problem.

Actually it didn't... my mail program still read the closing "]" as part of
the URI! Sometimes it even thinks that an ">" is a part of the URI, and
when typing them out, it sometimes includes whitespace as a part of it. I
should really get a better mail client...

--
Kindest Regards,
Sean B. Palmer
@prefix : <http://webns.net/roughterms/> .
[ :name "Sean B. Palmer" ] :hasHomepage <http://infomesh.net/sbp/> .
# or, as per Seth's suggestion:-
@prefix : [http://webns.net/roughterms/] .
[ :name "Sean B. Palmer" ] :hasHomepage [http://infomesh.net/sbp/] .

Received on Wednesday, 31 January 2001 20:33:14 UTC