Re: CWM Bug: Terms Should Not Be Reserved

Yes.  Good point.
It's not that they are reserved, its that they are used by the program, to
which they do
not belong. They belong to the document author.

What would you suggets as a solution?

- Use a completely separate namespace, with a uuid-like or mid-like
uniqueness (and length?)
- Carfeully and specifically avoid any values already defined by the
document author?
- Work with RDF core to revise the standard to specifically set aside some
fragment ids for
   arbitrary names of anonymous nodes?
- Use the _: prefix as ntriples does?  This is a document-wide scope of no
external meaning - there
is no corresponding URI.

tim

----- Original Message -----
From: "Sean B. Palmer" <sean@mysterylights.com>
To: "Tim Berners-Lee" <timbl@w3.org>; "Dan Connolly" <connolly@w3.org>
Cc: <www-archive+n3bugs@w3.org>
Sent: Friday, September 21, 2001 4:19 PM
Subject: CWM Bug: Terms Should Not Be Reserved


> CWM appears to reserve a set of terms "#g_x" (where "x" is a digit) for

Actually, it is _gx  which is probably what you meant.
_gsx and others are used, where x is a decimal integer.
Yes, I have used things beginning with #_ for generated things.
Obviously if you avoid starting non-automatically generated thinsg with _
  you won't hit this in practice.

You can call the parser with a different prefix for anonymous nodes.

> anonymous nodes. This would be less of a hack if current nodes of the same
> URI were not interfered with. There is a similar problem with "#_formula"
> which I gather is the root context of a document. If I have already
created
> the term "_formula" in a schema, then CWM barfs on it. For example, the
> following Notation3:-
>
>    @prefix : <#> .
>    :p [ :_formula :_g0 ] :s .
>
> Converts to the following XML RDF:-
>
>    <rdf:RDF xmlns="pqrs.n3#"
>        xmlns:log="http://www.w3.org/2000/10/swap/log#"
>        xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
>        <rdf:Description rdf:about="#_formula">
>            <log:forSome rdf:resource="#_g0"/>
>        </rdf:Description>
>        <rdf:Description rdf:about="#_g0">
>            <_formula rdf:resource="#_g0"/>
>        </rdf:Description>
>        <rdf:Description rdf:about="#p">
>            <_g0 rdf:resource="#s"/>
>        </rdf:Description>
>    </rdf:RDF>
>
> Using CWM version 1.72.
>
> Cheers,
>
> --
> Kindest Regards,
> Sean B. Palmer
> @prefix : <http://webns.net/roughterms/> .
> :Sean :hasHomepage <http://purl.org/net/sbp/> .
>

Received on Sunday, 23 September 2001 23:00:06 UTC