Re: Dropping the redundant colon in N3

"Sean B. Palmer" wrote:

> > it dawned on me that if we assumed that a token, not
> > starting with ":" or  quotes, was a URI fragment of the
> > default namespace,
>
> That used to be the case with the old form of N3 where you could use "bind
> default <URI>", but it got changed in the new syntax. My guess was that it
> was impossible to distinguish from the keywords in the N3 syntax (which to
> be fair did make it a little messy). Also, it makes more sense to an N3
> processor I suppose, anything with a colon is prefixed by default.

Hmmm ... i reread the primer quickly and I don't see anything about "keywords"
except perhaps "a" and "=" both of which could be defined as local properties
and therefore come under the rule.   But your right, if the intent is to allow
any key words whatsoever and just have the parser ignore them, and if that is
more important than worrying about the messy redundancy, then the colon would
be necessary.

Seth

Received on Saturday, 20 January 2001 16:32:16 UTC